|
...
|
...
|
@@ -104,6 +104,9 @@ class Extension3915ModuleController extends BaseController |
|
|
|
],[
|
|
|
|
'module_id.required' => '模块id不能为空',
|
|
|
|
]);
|
|
|
|
if($this->user['project_id'] != 3915){
|
|
|
|
$this->fail('当前项目不能调用当前方法');
|
|
|
|
}
|
|
|
|
$moduleFieldModel = new ExtensionModuleField();
|
|
|
|
$filedList = $moduleFieldModel->where(['module_id' => $this->param['module_id']])->pluck('field_name', 'id')->toArray();
|
|
|
|
if(empty($filedList)){
|
...
|
...
|
|