mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-09 10:46:39 +08:00
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Debug",
|
|
"Microsoft.AspNetCore": "Information"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
|
|
//程序启动地址,*代表全部网口
|
|
"StartUrl": "http://*:19001",
|
|
|
|
//数据库类型列表
|
|
"DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ],
|
|
|
|
"DbConnOptions": {
|
|
"Url": "DataSource=yi-sqlsugar-dev.db",
|
|
"DbType": "Sqlite",
|
|
"EnabledReadWrite": false,
|
|
"EnabledCodeFirst": false,
|
|
"EntityAssembly": null,
|
|
"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
|
|
]
|
|
},
|
|
|
|
//授权
|
|
"JwtTokenOptions": {
|
|
"Audience": "yi",
|
|
"Issuer": "localhost:19002",
|
|
"Subject": "yiframwork",
|
|
"ExpSecond": 259200
|
|
},
|
|
|
|
//开启种子数据
|
|
"EnabledDataSeed": false,
|
|
|
|
//阿里云短信
|
|
"SmsAliyunOptions": {
|
|
"AccessKeyId": "",
|
|
"AccessKeySecret": "",
|
|
"SignName": "",
|
|
"TemplateCode": "",
|
|
"EnableFeature": false
|
|
}
|
|
}
|