作者 赵彬吉

update

... ... @@ -63,7 +63,7 @@ class NavLogic extends BaseLogic
}
}
}
$data['url'] = $data['url'] ?: '';
// 保存
$id = parent::save($data);
... ...
... ... @@ -71,7 +71,7 @@ class RouteMap extends Model
* @date 2023/4/17
*/
protected static function isExist($route, $source, $source_id, $project_id){
$fixed = []; //固定的路由
$fixed = ['news','products','search','blog']; //固定的路由
if(in_array($route, $fixed)){
return true;
}
... ...