Commit e31af927 by mushishixian

sku列表去掉空格

parent d1ddb73f
Showing with 3 additions and 0 deletions
...@@ -13,6 +13,9 @@ class SkuListFilter ...@@ -13,6 +13,9 @@ class SkuListFilter
public function listFilter() public function listFilter()
{ {
$map = request()->all(); $map = request()->all();
$map = array_map(function ($item) {
return trim($item);
},$map);
//dd($map); //dd($map);
//只获取专卖的数据 //只获取专卖的数据
$map['supplier_id'] = 17; $map['supplier_id'] = 17;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment