{ "$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json", "Urls": "http://*:7200;", "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" }, "EventLog": { "LogLevel": { "Default": "Warning", "Microsoft.Hosting.Lifetime": "Warning" } //windows事件输出日志等级 }, "Console": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Warning" } //控制台输出日志等级 }, "BackendLog": { "LogLevel": { "Default": "Warning" } //网关运行日志存入数据库等级,部署推荐Warning }, "LogJob": { "DaysAgo": 30 //删除多少天前的日志,任务会间隔24小时执行一次 } }, "HardwareInfo": { "Enable": true, //启用硬件信息获取, 部分系统/硬件不支持相关方法,设为false "RemoteIpEnable": true, //是否获取外网IP地址 "TimeInterval": 10000 //更新间隔ms }, //动态API设备 "DynamicApiControllerSettings": { "LowercaseRoute": false, //是否采用小写路由,bool 类型,默认 true "KeepName": true, //是否保持原有名称不处理,bool,默认 false "AsLowerCamelCase": true //启用小驼峰命名(首字母小写),默认 false }, "FriendlyExceptionSettings": { "DefaultErrorMessage": "系统异常,请联系管理员", "HideErrorCode": true }, //排除特定配置文件 "IgnoreConfigurationFiles": [ "sys_user.json", "sys_config.json", "sys_relation.json", "sys_resource.json", "sys_role.json" ], "CorsAccessorSettings": { "WithExposedHeaders": [ "Content-Disposition" ], // 如果前端不代理且是axios请求 "SignalRSupport": true // 启用 SignalR 跨域支持 } }