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.
61 lines
1.8 KiB
61 lines
1.8 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;SslMode=none;AllowPublicKeyRetrieval=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://192.168.0.40:8095,http://192.168.0.40:92", |
|
|
|
/* DomainUrl:["http://localhost:api端口号"] */ |
|
"DomainUrl": "http://localhost:8006", |
|
"HubCorUrls": [] |
|
}, |
|
"Videoaddress": { |
|
"rtmp": "rtmp://192.168.0.24:1935/live/", |
|
"rtsp": "rtsp://192.168.0.24:8554/live/" |
|
}, |
|
"Wechat": { |
|
"appid": "wx48108a0c98a3dab0", |
|
"secret": "e752e4fba67526eca21313a18c96a58f", |
|
"secid": "e752e4fba67526eca21313a18c96a58f", |
|
"miniprogram_state": "trial" |
|
}, |
|
"CaseTwenty": { |
|
"SysAddress": "http://127.0.0.1:5194", |
|
"UseOfflineData": "true" |
|
}, |
|
"SyncDataFromJiguang": { |
|
"enable": "false" |
|
} |
|
}
|
|
|