|
...
|
...
|
@@ -29,8 +29,8 @@ class BTemplateModuleProjectLogic extends BaseLogic |
|
|
|
* @method :post
|
|
|
|
* @time :2023/6/29 13:35
|
|
|
|
*/
|
|
|
|
public function ModuleList($map,$order = 'created_at',$filed = ['id','name','sort','status','image','html']){
|
|
|
|
$map['status'] = 0;
|
|
|
|
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;
|
|
|
|
$lists = $this->model->list($map,$order,$filed);
|
|
|
|
return $this->success($lists);
|
...
|
...
|
|