|
...
|
...
|
@@ -31,7 +31,8 @@ class ExtensionModuleLogic extends BaseLogic |
|
|
|
* @time :2024/8/7 15:50
|
|
|
|
*/
|
|
|
|
public function saveExtensionModule(){
|
|
|
|
ProjectServer::useProject($this->map['project_id']);
|
|
|
|
ProjectServer::useProject($this->param['project_id']);
|
|
|
|
unset($this->param['project_id']);
|
|
|
|
$this->model = new ExtensionModule();
|
|
|
|
//查看数据是否存在
|
|
|
|
if(isset($this->param['id']) && !empty($this->param['id'])){
|
|
...
|
...
|
@@ -61,7 +62,8 @@ class ExtensionModuleLogic extends BaseLogic |
|
|
|
* @time :2024/8/7 16:07
|
|
|
|
*/
|
|
|
|
public function delExtensionModule(){
|
|
|
|
ProjectServer::useProject($this->map['project_id']);
|
|
|
|
ProjectServer::useProject($this->param['project_id']);
|
|
|
|
unset($this->param['project_id']);
|
|
|
|
$moduleFiledModel = new ExtensionModuleField();
|
|
|
|
$info = $moduleFiledModel->read(['module_id'=>$this->param['id']]);
|
|
|
|
if($info !== false){
|
...
|
...
|
|