From b288e7effa0edc09baad6089433a38b2b29b29db Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期一, 08 九月 2025 15:33:03 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/settings.json | 36 ++++++++++++++++++++++++++++++------ 1 files changed, 30 insertions(+), 6 deletions(-) diff --git a/FlexJobApi.Core/settings.json b/FlexJobApi.Core/settings.json index 2925db2..6b673c3 100644 --- a/FlexJobApi.Core/settings.json +++ b/FlexJobApi.Core/settings.json @@ -1,7 +1,35 @@ { "$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json", + "SpecificationDocumentSettings": { + "DocumentTitle": "鐏垫椿鐢ㄥ伐 | 瑙勮寖鍖栨帴鍙�", + "GroupOpenApiInfos": [ + { + "Group": "Default", + "Title": "瑙勮寖鍖栨帴鍙f紨绀�", + "Version": "1.0.0", + "Contact": { + "Name": "瀛欓箯椋�" + } + } + ], + "EnumToNumber": true + }, + "DynamicApiControllerSettings": { + "LowercaseRoute": false, + "KeepName": true, + "AsLowerCamelCase": true, + "ModelToQuery": true + }, + "CorsAccessorSettings": { + "WithExposedHeaders": [ + "access-token", + "x-access-token", + "environment" + ] + }, "AllowedHosts": "*", "FriendlyExceptionSettings": { + "HideErrorCode": true, "DefaultErrorCode": "500", "DefaultErrorMessage": "鏈嶅姟鍣ㄥ紓甯革紝璇疯仈绯荤鐞嗗憳" }, @@ -12,7 +40,7 @@ "Microsoft.EntityFrameworkCore": "Information" }, "File": { - "FileName": "Logs/{0:yyyy}-{0:MM}-{0:dd}.log", + "FileName": "Logs/logs{0:yyyy}{0:MM}{0:dd}.txt", "Append": true, "MinimumLevel": "Information", "FileSizeLimitBytes": 0, @@ -22,9 +50,5 @@ "MinimumLevel": "Information" } }, - "SupplierPassword": "qwe321", - "DistributedCache": { - "Access": "Redis", - "Configuration": "118.178.252.28:5390,password=Bole123!" - } + "SupplierPassword": "qwe321" } \ No newline at end of file -- Gitblit v1.9.1