Files
Yi.Admin/Yi.Furion.Net6/Yi.Furion.Web.Entry/appsettings.json

82 lines
2.5 KiB
JSON
Raw Normal View History

2023-04-12 22:30:42 +08:00
{
"$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
"Logging": {
2023-08-13 21:27:50 +08:00
"Monitor": {
"GlobalEnabled": true
},
2023-04-12 22:30:42 +08:00
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore": "Information"
}
},
2023-04-12 22:52:09 +08:00
"AllowedHosts": "*",
2023-04-15 17:33:42 +08:00
"StartUrl": "http://*:19001",
"[openapi:RBAC]": {
"Group": "RBAC",
"Order": 100,
"Title": "Yi框架-云端Api接口-RBAC",
"Description": "集大成者,终究轮子。【右上角切换模块】",
"Version": "v3.0.0",
"TermsOfService": "YI框架:https://ccnetcore.com与Furion:http://furion.baiqian.ltd",
"Contact": {
"Name": "橙子",
"Url": "https://ccnetcore.com",
"Email": "454313500@qq.com"
},
"License": {
"Name": "MIT",
"Url": "https://gitee.com/ccnetcore/Yi/blob/furion/LICENSE"
}
2023-09-15 18:05:59 +08:00
},
2023-04-12 22:52:09 +08:00
//数据库类型列表
"DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ],
"DbConnOptions": {
"Url": "DataSource=yi-sqlsugar-dev.db",
"DbType": "Sqlite",
"EnabledReadWrite": false,
2023-09-15 15:05:14 +08:00
"EnabledCodeFirst": false,
2023-04-12 22:52:09 +08:00
"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
]
2023-04-15 12:19:02 +08:00
},
2023-09-22 10:25:05 +08:00
//是否开启种子数据
2023-09-15 15:05:14 +08:00
"EnabledDataSeed": false,
2023-04-15 12:19:02 +08:00
"JWTSettings": {
"ValidateIssuerSigningKey": true, // 是否验证密钥bool 类型默认true
"IssuerSigningKey": "123456qwerty123456qwerty", // 密钥string 类型必须是复杂密钥长度大于16
2023-04-15 12:19:02 +08:00
"ValidateIssuer": true, // 是否验证签发方bool 类型默认true
"ValidIssuer": "ccnetcore", // 签发方string 类型
2023-04-15 12:19:02 +08:00
"ValidateAudience": true, // 是否验证签收方bool 类型默认true
"ValidAudience": "ccnetcore", // 签收方string 类型
2023-04-15 12:19:02 +08:00
"ValidateLifetime": true, // 是否验证过期时间bool 类型默认true建议true
"ExpiredTime": 20, // 过期时间long 类型单位分钟默认20分钟
"ClockSkew": 5, // 过期时间容错值long 类型,单位秒,默认 5秒
"Algorithm": "HS256" // 加密算法string 类型,默认 HS256
2023-04-16 14:30:56 +08:00
},
//阿里云短信
"SmsAliyunOptions": {
"AccessKeyId": "",
"AccessKeySecret": "",
"SignName": "",
"TemplateCode": "",
"EnableFeature": false
2023-04-19 13:39:55 +08:00
},
//redis缓存
2023-04-19 13:39:55 +08:00
"CachingConnOptions": {
"Host": "",
"DB": "",
"Prot": "",
"Password": ""
2023-04-12 22:52:09 +08:00
}
2023-04-12 22:30:42 +08:00
}