24小时一体机服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.4 KiB

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DBType": "MySQL",
"MySQLConnString": "server=192.168.0.251;Database=equipmentrearend;Uid=root;Pwd=sa@admin;Allow User Variables=True;"
},
//JwtConfig
"JwtConfiguration": {
/*JwtConfig Issuer=http://127.0.0.1:api本地端口*/
//发行者
"Issuer": "http://127.0.0.1:8098",
/* JwtConfig Audience=http://127.0.0.1:api本地端口*/
//订阅者
"Audience": "http://127.0.0.1:8098",
//RefreshToken受众
"RefreshTokenAudience": null,
//加密Key
"Jwtkey": "ertJKl#521*a@790asD&1#",
//有效期(分钟) 120 = 24小时
"Expires": 1440,
//RefreshToken过期时间(分钟) 1440 = 1天
"RefreshTokenExpires": 1440,
//时间歪斜,单位秒
"ClockSkew": 1
},
//Urls
"UrlsConfiguration": {
/* Urls["http://*:api端口号"] */
"Urls": "http://*:8098",
//所谓同源是指"协议+域名+端口"
/* IP */
"CorUrls": [ "http://localhost:8002", "http://114.115.168.247:9111", "http://47.109.20.59:8937", "http://47.109.20.59:8942", "http://localhost:8080", "http://localhost:4223" ],
/* DomainUrl["http://localhost:api端口号"] */
"DomainUrl": "http://localhost:8006",
"HubCorUrls": []
}
}