From 2c801cf41f42736ef4c8c912b17666a4fc7e66bd Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期五, 08 八月 2025 17:49:39 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/settings.json | 38 +++++++++++++++++++++++++++++++------- 1 files changed, 31 insertions(+), 7 deletions(-) diff --git a/FlexJobApi.Core/settings.json b/FlexJobApi.Core/settings.json index 2925db2..b708b4f 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": "鏈嶅姟鍣ㄥ紓甯革紝璇疯仈绯荤鐞嗗憳" }, @@ -9,10 +37,10 @@ "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning", - "Microsoft.EntityFrameworkCore": "Information" + "Microsoft.EntityFrameworkCore": "Warning" }, "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