作者 lyh

gx

@@ -69,7 +69,7 @@ class RouteMap extends Base @@ -69,7 +69,7 @@ class RouteMap extends Base
69 * @date 2023/4/17 69 * @date 2023/4/17
70 */ 70 */
71 protected static function isExist($route, $source, $source_id, $project_id){ 71 protected static function isExist($route, $source, $source_id, $project_id){
72 - $fixed = ['news','products','search','blog']; //固定的路由 72 + $fixed = ['search','api']; //固定的路由
73 if(in_array($route, $fixed)){ 73 if(in_array($route, $fixed)){
74 return true; 74 return true;
75 } 75 }