{ "AppSettings": { "InjectSpecificationDocument": true, //是否开启swagger "Urls": "http://0.0.0.0:5566" //监听地址 }, "AllowedHosts": "*", //友好异常处理 "FriendlyExceptionSettings": { "DefaultErrorMessage": "系统异常,请联系管理员", "HideErrorCode": true }, //动态API设备 "DynamicApiControllerSettings": { "LowercaseRoute": false, //是否采用小写路由,bool 类型,默认 true "KeepName": true, //是否保持原有名称不处理,bool,默认 false "AsLowerCamelCase": true //启用小驼峰命名(首字母小写),默认 false }, //swagger设置 "SpecificationDocumentSettings": { "DocumentTitle": "未病局后台管理系统", "DocExpansionState": "None", "GroupOpenApiInfos": [] }, "CorsAccessorSettings": { "WithExposedHeaders": [ "access-token", "x-access-token", "environment" ], "SignalRSupport": true }, //排除特定配置文件 "IgnoreConfigurationFiles": [ "seed_*.json", ] }