运行跨越
This commit is contained in:
parent
11b90517ee
commit
318504339c
@ -1315,7 +1315,7 @@
|
||||
"Name": "积分管理",
|
||||
"Type": 0,
|
||||
"Code": "integral",
|
||||
"ParentId": 1012,
|
||||
"ParentId": null,
|
||||
"RouteName": "integral",
|
||||
"Path": "/integral",
|
||||
"Component": "ParentView",
|
||||
@ -1325,7 +1325,7 @@
|
||||
"IsKeepAlive": "1",
|
||||
"IsFixed": "0",
|
||||
"Status": 0,
|
||||
"Sort": 1,
|
||||
"Sort": 161,
|
||||
"Remark": "",
|
||||
"DeleteMark": false,
|
||||
"CreatedUserId": 1000,
|
||||
|
||||
@ -79,7 +79,16 @@ public class Startup : AppStartup
|
||||
});
|
||||
|
||||
//允许跨域
|
||||
services.AddCorsAccessor();
|
||||
services.AddCorsAccessor(options =>
|
||||
{
|
||||
options.AddPolicy("Furion", builder =>
|
||||
{
|
||||
builder.SetIsOriginAllowed(_ => true)
|
||||
.AllowAnyMethod()
|
||||
.AllowAnyHeader()
|
||||
.AllowCredentials();
|
||||
});
|
||||
});
|
||||
|
||||
//配置缓存 文档:https://easycaching.readthedocs.io/en/latest/
|
||||
services.AddEasyCaching(options =>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user