正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -71,7 +71,7 @@ class RouteMap extends Model | @@ -71,7 +71,7 @@ class RouteMap extends Model | ||
| 71 | * @date 2023/4/17 | 71 | * @date 2023/4/17 |
| 72 | */ | 72 | */ |
| 73 | protected static function isExist($route, $source, $source_id, $project_id){ | 73 | protected static function isExist($route, $source, $source_id, $project_id){ |
| 74 | - $fixed = []; //固定的路由 | 74 | + $fixed = ['news','products','search','blog']; //固定的路由 |
| 75 | if(in_array($route, $fixed)){ | 75 | if(in_array($route, $fixed)){ |
| 76 | return true; | 76 | return true; |
| 77 | } | 77 | } |
-
请 注册 或 登录 后发表评论