songxingwei 2 years ago
parent
commit
a39afd6d14
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/data/controller/shop/Goods.php

+ 1 - 0
app/data/controller/shop/Goods.php

@@ -56,6 +56,7 @@ class Goods extends Controller
             ->like('marks', ',')
             ->when($cateids,function ($qu) use ($cateids){
                 $qu->whereRaw("find_in_set(".$cateids.",cateids)");
+
             });
         $query->equal('status,vip_entry,truck_type,rebate_type')->order('sort desc,id desc')->page();
     }