正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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 | } |
-
请 注册 或 登录 后发表评论