|
@@ -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)
|