|
...
|
...
|
@@ -11,6 +11,7 @@ namespace App\Http\Logic\Bside\CustomModule; |
|
|
|
|
|
|
|
use App\Http\Logic\Bside\BaseLogic;
|
|
|
|
use App\Models\Com\NoticeLog;
|
|
|
|
use App\Models\CustomModule\CustomModule;
|
|
|
|
use App\Models\CustomModule\CustomModuleCategory;
|
|
|
|
use App\Models\RouteMap\RouteMap;
|
|
|
|
use App\Models\Template\BTemplate;
|
|
...
|
...
|
@@ -221,7 +222,10 @@ class CustomModuleCategoryLogic extends BaseLogic |
|
|
|
}
|
|
|
|
RouteMap::delRoute(RouteMap::SOURCE_MODULE_CATE, $id, $this->user['project_id']);
|
|
|
|
//通知
|
|
|
|
$this->curlDelRoute(['old_route'=>$info['route']]);
|
|
|
|
//获取模块路由
|
|
|
|
$customModuleModel = new CustomModule();
|
|
|
|
$moduleInfo = $customModuleModel->read(['id'=>$info['module_id']]);
|
|
|
|
$this->curlDelRoute(['old_route'=>$info['route'],'path'=>getCustomRouteMap($moduleInfo['route'],$info['route'])]);
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|