作者 lyh

gx

@@ -31,7 +31,7 @@ class BTemplateModuleProjectLogic extends BaseLogic @@ -31,7 +31,7 @@ class BTemplateModuleProjectLogic extends BaseLogic
31 */ 31 */
32 public function ModuleList($map,$order = 'created_at',$filed = ['id','name','status','image','html','project_id']){ 32 public function ModuleList($map,$order = 'created_at',$filed = ['id','name','status','image','html','project_id']){
33 $map['deleted_status'] = 0; 33 $map['deleted_status'] = 0;
34 - $map['project_id'] = TemplateModule::PRIVATE_MODULES; 34 + $map['project_id'] = $this->user['project_id'];
35 $lists = $this->model->list($map,$order,$filed); 35 $lists = $this->model->list($map,$order,$filed);
36 return $this->success($lists); 36 return $this->success($lists);
37 } 37 }