update 默认路由配置文件

This commit is contained in:
2021-05-08 10:43:52 +08:00
parent 5a2909f121
commit 99dcb53f27
4 changed files with 30 additions and 2 deletions

View File

@@ -57,9 +57,15 @@ namespace Ewide.Web.Core
var defalutRoute = new List<string>()
{
"getLoginUser",
"logout"
"logout",
"sysFileInfo:upload",
"sysFileInfo:download",
"sysFileInfo:preview",
"sysUser:updateInfo"
};
var a = App.Configuration["CoreSettings:DefalutRoute"];
if (defalutRoute.Contains(routeName)) return true;
// 获取用户权限集合按钮或API接口