正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -75,6 +75,9 @@ class CustomModuleLogic extends BaseLogic | @@ -75,6 +75,9 @@ class CustomModuleLogic extends BaseLogic | ||
| 75 | if(!isset($param['id']) || empty($param['id'])){ | 75 | if(!isset($param['id']) || empty($param['id'])){ |
| 76 | $param['project_id'] = $this->param['project_id']; | 76 | $param['project_id'] = $this->param['project_id']; |
| 77 | } | 77 | } |
| 78 | + if(in_array($param['route'],['blogs','news','top_blog','blog','product','products'])){ | ||
| 79 | + $this->fail('不允许使用项目默认模块路由'); | ||
| 80 | + } | ||
| 78 | return $this->success($param); | 81 | return $this->success($param); |
| 79 | } | 82 | } |
| 80 | 83 |
-
请 注册 或 登录 后发表评论