{ "Logging": { "LogLevel": { "Default": "Debug", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "Serilog": { "MinimumLevel": { "Default": "Information", "Override": { "Hangfire": "Warning", "IdentityServer4": "Debug", "IdentityServer4.EntityFramework": "Warning" } } }, "Kestrel": { // ✅ 新增 Kestrel 配置 "Limits": { "MaxRequestBodySize": 104857600 // 100MB(单位:字节) } }, "FormOptions": { // ✅ 新增表单配置 "MultipartBodyLengthLimit": 104857600 // 100MB(单位:字节) }, "ServiceConfig": { "DataCenterID": "dc1", "ServiceID": "api.Sys", "ServiceName": "系统管理API", "ServiceVersion": "1.0", "IOCAssemblys": "BZPT.Domains.dll,BZPT.SqlSugarRepository.dll,NPlatform.dll", }, "DB_HOST": "LOCALHOST", "DB_PORT": "5236", "DB_NAME": "BZPT", "DB_USER": "BZPT", "DB_PASSWORD": "BZPT&123.lld", "LOG_DB_NAME": "LOGS_DATA", "CERT_PATH": "./Certificates/id4svr.pfx", "CERT_PASSWORD": "ydl825913", "ConsulServer": "http://localhost:8500", "AllowedOrigins": "http://localhost:19901,http://192.168.0.100:40000", "AuthorityServer": "https://192.168.1.100:19902", "AllowedHosts": "*", "Urls": "http://0.0.0.0:19901", "RedisConfig": { "RedisType": "Normal", "Connections": [ "redismy:6379" ], "dbNum": 10, "Password": "redis&&!123" } }