作者 lyh

gx

@@ -29,8 +29,8 @@ class BTemplateModuleProjectLogic extends BaseLogic @@ -29,8 +29,8 @@ class BTemplateModuleProjectLogic extends BaseLogic
29 * @method :post 29 * @method :post
30 * @time :2023/6/29 13:35 30 * @time :2023/6/29 13:35
31 */ 31 */
32 - public function ModuleList($map,$order = 'created_at',$filed = ['id','name','sort','status','image','html']){  
33 - $map['status'] = 0; 32 + public function ModuleList($map,$order = 'created_at',$filed = ['id','name','status','image','html','project_id']){
  33 + $map['deleted_status'] = 0;
34 $map['project_id'] = TemplateModule::PRIVATE_MODULES; 34 $map['project_id'] = TemplateModule::PRIVATE_MODULES;
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);