update 默认路由配置文件
This commit is contained in:
@@ -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接口)
|
||||
|
||||
Reference in New Issue
Block a user