{ "Logging": { "LogLevel": { "Default": "Debug", // Trace,Debug,Information,Warning,Error,Critical "System": "Information", "Microsoft": "Information" } }, "AllowedHosts": "*", "SystemConfig": { "AllowCorsSite": "http://127.0.0.1:7005", // 允许的其他站点访问Api "CacheProvider": "Memory", // 缓存使用方式 Memory Redis "RedisConnectionString": "127.0.0.1:6379", //redis 链接字符串 "EnableInitDb": true, //是否开启数据库初始化, "SnowFlakeWorkerId": 2, // SnowFlake 雪花id节点序号 "DBProvider": "Sqlite", //数据库类型 参照 sqlsugar "DBConnectionString": "Data Source=../WoodAdmin.db", "DBCommandTimeout": 180, // 数据库超时时间,单位秒 "DBBackup": "", // 数据库备份路径 "DBEnableDiffLog": true, //是否开启差异化日志 "LogDays": 90, //系统日志保存的天数 "RunAutoJob": true, //是否执行自动job "CustomerDb": "Server = 192.168.1.228; Database = TaskManager1; User ID = sa; Password = ChangkeTec@2021; TrustServerCertificate = True" }, "JwtConfig": { "SecretKey": "3c1cac3f546eda35168c3aa3cn91780fbe703f0996c6d123ea96dc85c70bbc0a", // 密钥,string 类型,必须是复杂密钥,长度大于16 "Issuer": "WebAppIssuer", // 签发方,string 类型 "Audience": "WebAppAudience", // 签收方,string 类型 "RefreshTokenExpire": 15, //刷新token有效期限 天 "TokenExpire": 30 //token有效期限 分钟 } //"Kestrel": { // "EndPoints": { // "Http": { // "Url": "http://localhost:60075" // } // //"Https": { // // "Url": "https://localhost:5009" // //} // } //} }