黄宗昌 2 anni fa
parent
commit
a1c035591a
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      app/Http/Controllers/V1/ProductController.php

+ 0 - 1
app/Http/Controllers/V1/ProductController.php

@@ -202,7 +202,6 @@ class ProductController extends Controller
             $query->whereJsonContains('type',$type);
             $query->whereJsonContains('type',$type);
         }
         }
         if(!empty($keyword)){
         if(!empty($keyword)){
-//            dd($keyword);
             $query->where('name','like','%'.$keyword.'%');
             $query->where('name','like','%'.$keyword.'%');
         }
         }
         $list = $query->where('status',1)
         $list = $query->where('status',1)