@ -344,7 +344,7 @@ class Goods extends BaseModel
}
// 商品名称
foreach ($params['keywords'] as $val){
foreach ($params['keywords'] ?? [] as $val){
$filter[] = ['goods_name', 'like', "%{$val}%"];