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