{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "Upload": { "uploadUrl": "http://localhost:8888", //本地存储资源访问路径 "localSavePath": "", //本地上传默认文件存储目录 wwwroot "maxSize": 15, //上传文件大小限制 15M "notAllowedExt": [ ".bat", ".exe", ".jar", ".js" ], "requestLimitSize": 50//请求body大小限制 }, "dbConfigs": [ { "Conn": "server=47.108.62.166;port=3306;user=root;password=bNWeNOQrELFvZtpx;database=Lhb;charset=utf8;", "DbType": 0, "ConfigId": "0", "IsAutoCloseConnection": true } ], "RedisServer": { "open": 1, "Cache": "47.108.62.166:6379,password=klm@redis,defaultDatabase=5,poolsize=50,ssl=false,writeBuffer=10240,prefix=cache:", "Session": "47.108.62.166:6379,password=klm@redis,defaultDatabase=5,poolsize=50,ssl=false,writeBuffer=10240,prefix=session:" }, "OssConfigs": { "Host": "", "Endpoint": "", "Key": "", "Secret": "", "BucketName": "" }, "JwtSettings": { "Issuer": "ym", //即token的签发者。 "Audience": "ym", //指该token是服务于哪个群体的(群体范围) "SecretKey": "123456789012345678901234567890", "Expire": 1440, //jwt登录过期时间(分) "RefreshTokenTime": 30, //分钟 "TokenType": "Bearer" }, "InitDb": false, //是否初始化db "ApiKey": "*ga34|^7", //webapi解密的key "Host": "http://xx.xx.com" }