41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
//"Default": "Information",
|
|
"Default": "Debug",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
//应用启动
|
|
"App": {
|
|
"SelfUrl": "http://*:19001",
|
|
"CorsOrigins": "http://localhost:19001;http://localhost:18000"
|
|
},
|
|
|
|
//数据库类型列表
|
|
"DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ],
|
|
|
|
"DbConnOptions": {
|
|
"Url": "DataSource=yi-abp-dev.db",
|
|
"DbType": "Sqlite",
|
|
"EnabledReadWrite": false,
|
|
"EnabledCodeFirst": true,
|
|
"EnabledSqlLog": true,
|
|
"EnabledDbSeed": true
|
|
//读写分离地址
|
|
//"ReadUrl": [
|
|
// "DataSource=[xxxx]", //Sqlite
|
|
// "server=[xxxx];port=3306;database=[xxxx];user id=[xxxx];password=[xxxx]", //Mysql
|
|
// "Data Source=[xxxx];Initial Catalog=[xxxx];User ID=[xxxx];password=[xxxx]" //Sqlserver
|
|
//]
|
|
},
|
|
|
|
//鉴权
|
|
"JwtOptions": {
|
|
"Issuer": "https://ccnetcore.com",
|
|
"Audience": "https://ccnetcore.com",
|
|
"SecurityKey": "zqxwcevrbtnymu312412ihe9rfwhe78rh23djoi32hrui3ryf9e8wfh34iuj54y0934uti4h97fgw7hf97wyh8yy69520",
|
|
"ExpiresMinuteTime": 86400
|
|
}
|
|
}
|