作者 lyh

Merge branch 'master-server' of http://47.244.231.31:8099/zhl/globalso-v6

@@ -75,6 +75,7 @@ class ExtensionModuleController extends BaseController @@ -75,6 +75,7 @@ class ExtensionModuleController extends BaseController
75 if($info !== false){ 75 if($info !== false){
76 $v['is_use'] = 1; 76 $v['is_use'] = 1;
77 } 77 }
  78 + $list[$k] = $v;
78 } 79 }
79 $this->response('success',Code::SUCCESS,$list); 80 $this->response('success',Code::SUCCESS,$list);
80 } 81 }
@@ -403,7 +403,7 @@ class ProductLogic extends BaseLogic @@ -403,7 +403,7 @@ class ProductLogic extends BaseLogic
403 $cateList = $cateModel->list($status,'id',['id','pid']); 403 $cateList = $cateModel->list($status,'id',['id','pid']);
404 $this->param['featured_status'] = $this->param['featured_status'] ?? 0; 404 $this->param['featured_status'] = $this->param['featured_status'] ?? 0;
405 if(!empty($cateList) && ($this->param['featured_status'] != $cateModel::STATUS_ACTIVE)){ 405 if(!empty($cateList) && ($this->param['featured_status'] != $cateModel::STATUS_ACTIVE)){
406 - $featured_ids = $cateModel->where('title', 'like', 'Featured%')->pluck('id')->toArray(); 406 + $featured_ids = $cateModel->where('title', 'Featured')->pluck('id')->toArray();
407 //获取当前的子集 407 //获取当前的子集
408 $featured_arr = []; 408 $featured_arr = [];
409 foreach ($featured_ids as $id){ 409 foreach ($featured_ids as $id){