38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Warning",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"AppConfig": {
|
|
"ID": 2, //程序唯一值
|
|
"Redis": {
|
|
"ConnectionString": "127.0.0.1:6379,password=Woshiren123,defaultDatabase=10"
|
|
},
|
|
"DB": {
|
|
"ConnectionString": "AllowLoadLocalInfile=true;Server=58.17.132.2;User ID=marking;Password=qwe123!@#;Port=3306;Database=learn.archives;CharSet=utf8mb4;Port=43306;pooling=true;SslMode=None;",
|
|
"SqlType": "MySql",
|
|
"UpdateTable": false
|
|
},
|
|
"AuthKey": {
|
|
"Secret": "9FAB7AC7-F1DB-4C56-B84F-044055A34AF2",
|
|
"Issuer": "Learn.Archive", //签发人
|
|
"Audience": "Admin",
|
|
"Expires": 120 // 过期时间120小时
|
|
},
|
|
"UserCenterService": {
|
|
"API": "https://dca.w.23544.com:8843/api"
|
|
},
|
|
"OtherDBArr": [
|
|
{
|
|
"ConfigId": 1001, //用户中心
|
|
//"ConnectionString": "AllowLoadLocalInfile=true;Server=192.168.2.9;User ID=root;Password=qwe123!@#;Port=3306;Database=usercenter;CharSet=utf8mb4;pooling=true;SslMode=None;",
|
|
"ConnectionString": "AllowLoadLocalInfile=true;Server=58.17.132.2;User ID=marking;Password=qwe123!@#;Port=3306;Database=usercenter_v1;CharSet=utf8mb4;Port=43306;pooling=true;SslMode=None;",
|
|
"SqlType": "MySql"
|
|
}
|
|
]
|
|
}
|
|
}
|