From 71d0c92a63f1e26c6ba9634413083de1acaf916c Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期三, 06 八月 2025 11:18:29 +0800
Subject: [PATCH] feat:数据字典类别开发

---
 FlexJobApi.Core/settings.json |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/FlexJobApi.Core/settings.json b/FlexJobApi.Core/settings.json
index 2809bcb..90a659b 100644
--- a/FlexJobApi.Core/settings.json
+++ b/FlexJobApi.Core/settings.json
@@ -14,6 +14,12 @@
     ],
     "EnumToNumber": true
   },
+  "DynamicApiControllerSettings": {
+    "LowercaseRoute": false,
+    "KeepName": true,
+    "AsLowerCamelCase": true,
+    "ModelToQuery": true
+  },
   "CorsAccessorSettings": {
     "WithExposedHeaders": [
       "access-token",
@@ -23,6 +29,7 @@
   },
   "AllowedHosts": "*",
   "FriendlyExceptionSettings": {
+    "HideErrorCode": true,
     "DefaultErrorCode": "500",
     "DefaultErrorMessage": "鏈嶅姟鍣ㄥ紓甯革紝璇疯仈绯荤鐞嗗憳"
   },
@@ -33,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,
@@ -44,8 +51,29 @@
     }
   },
   "SupplierPassword": "qwe321",
+  "Consul": {
+    "Address": "http://localhost:8500/",
+    "ServiceName": "Local_FlexJobApi",
+    "ServiceIP": "localhost",
+    "ServicePort": 53780,
+    "ServiceHealthCheck": "/healthz"
+  },
   "DistributedCache": {
     "Access": "Redis",
     "Configuration": "118.178.252.28:5390,password=Bole123!"
+  },
+  "Aliyun": {
+    "OSS": {
+      "AccessKeyId": "LTAI4GAdJ88mUMMFBHHiyDmS",
+      "AccessSecret": "NX3AmjOcGkJ8bncQfIVxqmifBWkI0E",
+      "RegionId": "cn-hangzhou",
+      "Endpoint": "http://oss-cn-hangzhou.aliyuncs.com",
+      "BucketName": "waterdroptest2",
+      "Url": "https://waterdroptest2.oss-cn-hangzhou.aliyuncs.com/",
+      "RoleArn": "acs:ram::1483797030072898:role/boleoss",
+      "RoleSessionName": "SessionTest",
+      "Policy": "{\"Version\":\"1\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":\"oss:PutObject\",\"Resource\":[\"acs:oss:*:*:waterdroptest2/*\",\"acs:oss:*:*:parkmanagement/*\",\"acs:oss:*:*:jurenlian/*\"]}]}",
+      "DurationSeconds": 3600
+    }
   }
 }
\ No newline at end of file

--
Gitblit v1.9.1