wysf
bruce 10 months ago
parent f4b3997491
commit 4083f99579
  1. 2
      app/common/model/Goods.php

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

Loading…
Cancel
Save