作者 耿培杰

修改配置

@@ -36,7 +36,8 @@ class Category extends Model @@ -36,7 +36,8 @@ class Category extends Model
36 // ->join('fa_category cate3', 'g.category_three_id=cate3.id') 36 // ->join('fa_category cate3', 'g.category_three_id=cate3.id')
37 ->where($where) 37 ->where($where)
38 ->whereOr($whereOr) 38 ->whereOr($whereOr)
39 - ->column('country_id,brand_id,level_id,part_id,category2_id'); 39 + ->field('country_id,brand_id,level_id,part_id,category2_id')
  40 + ->select();
40 41
41 $countryids = []; 42 $countryids = [];
42 $brandids = []; 43 $brandids = [];