1234567891011121314151617181920212223242526272829303132333435363738 |
- {
- "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.109.31.237;port=3306;user=KxsConfigServer;password=brVSLE47Y32WUy3R;database=KxsConfigServer;charset=utf8;",
- "DbType": 0,
- "ConfigId": "0",
- "IsAutoCloseConnection": true
- }
- ],
- "RedisServer": {
- "open": 1,
- "Cache": "47.109.31.237:6379,password=klm@redis,defaultDatabase=13,poolsize=50,ssl=false,writeBuffer=10240,prefix=cache:",
- "Session": "47.109.31.237:6379,password=klm@redis,defaultDatabase=13,poolsize=50,ssl=false,writeBuffer=10240,prefix=session:"
- },
- "JwtSettings": {
- "Issuer": "ym", //即token的签发者。
- "Audience": "ym", //指该token是服务于哪个群体的(群体范围)
- "SecretKey": "123456789012345678901234567890",
- "Expire": 1440, //jwt登录过期时间(分)
- "RefreshTokenTime": 30, //分钟
- "TokenType": "Bearer"
- },
- "InitDb": false, //是否初始化db
- "ApiKey": "*ga34|^7" //webapi解密的key
- }
|