正在显示
1 个修改的文件
包含
4 行增加
和
2 行删除
| @@ -31,7 +31,8 @@ class ExtensionModuleLogic extends BaseLogic | @@ -31,7 +31,8 @@ class ExtensionModuleLogic extends BaseLogic | ||
| 31 | * @time :2024/8/7 15:50 | 31 | * @time :2024/8/7 15:50 |
| 32 | */ | 32 | */ |
| 33 | public function saveExtensionModule(){ | 33 | public function saveExtensionModule(){ |
| 34 | - ProjectServer::useProject($this->map['project_id']); | 34 | + ProjectServer::useProject($this->param['project_id']); |
| 35 | + unset($this->param['project_id']); | ||
| 35 | $this->model = new ExtensionModule(); | 36 | $this->model = new ExtensionModule(); |
| 36 | //查看数据是否存在 | 37 | //查看数据是否存在 |
| 37 | if(isset($this->param['id']) && !empty($this->param['id'])){ | 38 | if(isset($this->param['id']) && !empty($this->param['id'])){ |
| @@ -61,7 +62,8 @@ class ExtensionModuleLogic extends BaseLogic | @@ -61,7 +62,8 @@ class ExtensionModuleLogic extends BaseLogic | ||
| 61 | * @time :2024/8/7 16:07 | 62 | * @time :2024/8/7 16:07 |
| 62 | */ | 63 | */ |
| 63 | public function delExtensionModule(){ | 64 | public function delExtensionModule(){ |
| 64 | - ProjectServer::useProject($this->map['project_id']); | 65 | + ProjectServer::useProject($this->param['project_id']); |
| 66 | + unset($this->param['project_id']); | ||
| 65 | $moduleFiledModel = new ExtensionModuleField(); | 67 | $moduleFiledModel = new ExtensionModuleField(); |
| 66 | $info = $moduleFiledModel->read(['module_id'=>$this->param['id']]); | 68 | $info = $moduleFiledModel->read(['module_id'=>$this->param['id']]); |
| 67 | if($info !== false){ | 69 | if($info !== false){ |
-
请 注册 或 登录 后发表评论