From 0b49fee10340ea40a6762da657239675d3db22f6 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期四, 07 八月 2025 09:41:31 +0800
Subject: [PATCH] feat:权限和请求日志

---
 FlexJobApi.Core/settings.json |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/FlexJobApi.Core/settings.json b/FlexJobApi.Core/settings.json
index 0a56a9d..c09a197 100644
--- a/FlexJobApi.Core/settings.json
+++ b/FlexJobApi.Core/settings.json
@@ -17,7 +17,8 @@
   "DynamicApiControllerSettings": {
     "LowercaseRoute": false,
     "KeepName": true,
-    "AsLowerCamelCase": true
+    "AsLowerCamelCase": true,
+    "ModelToQuery": true
   },
   "CorsAccessorSettings": {
     "WithExposedHeaders": [
@@ -36,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,
@@ -50,6 +51,13 @@
     }
   },
   "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!"

--
Gitblit v1.9.1