From e8de46acfd30dab344ef529a76c04bce6410ecf1 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 27 三月 2026 17:32:37 +0800
Subject: [PATCH] feat(MES): 新增陕西顷刻能源科技MES系统对接服务

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json |   36 +++++++++++++++++++++++++++++++++++-
 1 files changed, 35 insertions(+), 1 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json
index bc8fe41..42a6bb4 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json
@@ -1,9 +1,31 @@
 {
   "urls": "http://*:9291", //web鏈嶅姟绔彛锛屽鏋滅敤IIS閮ㄧ讲锛屾妸杩欎釜鍘绘帀
+  "Serilog": {
+    "MinimumLevel": {
+      "Default": "Information",
+      "Override": {
+        "Microsoft": "Information",
+        "Microsoft.AspNetCore": "Warning",
+        "Microsoft.AspNetCore.Routing": "Warning",
+        "Microsoft.AspNetCore.Mvc": "Warning",
+        "Microsoft.AspNetCore.Mvc.Infrastructure": "Warning",
+        "Microsoft.AspNetCore.Mvc.Filters": "Warning",
+        "Microsoft.AspNetCore.Mvc.ModelBinding": "Warning",
+        "Microsoft.EntityFrameworkCore": "Warning"
+      }
+    }
+  },
   "Logging": {
     "LogLevel": {
       "Default": "Information",
-      "Microsoft.AspNetCore": "Warning"
+      "Microsoft": "Warning",
+      "Microsoft.AspNetCore": "Warning",
+      "Microsoft.AspNetCore.DataProtection": "Warning",
+      "Microsoft.AspNetCore.Routing": "Warning",
+      "Microsoft.AspNetCore.Mvc": "Warning",
+      "Microsoft.AspNetCore.Mvc.Infrastructure": "Warning",
+      "Microsoft.AspNetCore.Mvc.Filters": "Warning",
+      "Microsoft.AspNetCore.Mvc.ModelBinding": "Warning"
     }
   },
   "dics": "inOrderType,outOrderType,inboundState,createType,enableEnum,enableStatusEnum,locationStatusEnum,locationTypeEnum,taskTypeEnum,taskStatusEnum,outboundStatusEnum,orderDetailStatusEnum,stockStatusEmun,stockChangeType,outStockStatus,receiveOrderTypeEnum,authorityScope,authorityScopes,locationChangeType,warehouses,suppliers,taskType,receiveStatus,purchaseType,purchaseOrderStatus,printStatus",
@@ -24,6 +46,14 @@
     // 娉ㄦ剰锛宧ttp://127.0.0.1:1818 鍜� http://localhost:1818 鏄笉涓�鏍风殑
     "IPs": "http://127.0.0.1:8080,http://localhost:8080,http://127.0.0.1:8081,http://localhost:8081"
   },
+
+  "LocalLogConfig": {
+    "LogLevel": "DEBUG", //鏃ュ織绾у埆 DEBUG,INFO,WARN,ERROR,FATAL
+    "LogFileSize": 10, //鍗曚釜鏃ュ織鏂囦欢澶у皬锛屽崟浣峂B
+    "LogFileCount": 300, //鏃ュ織鏂囦欢鏁伴噺
+    "EnableConsoleOutput": false, //鏄惁杈撳嚭鍒版帶鍒跺彴
+    "EnableFloderByLevel": true //鏄惁鎸夋棩蹇楃骇鍒敓鎴愪笉鍚岀殑鏂囦欢澶�
+  },
   "LogAopEnable": false,
   "PrintSql": false, //鎵撳嵃SQL璇彞
   "ApiName": "WIDESEA",
@@ -38,5 +68,9 @@
       "GW": [ "11001", "11010", "11068" ],
       "CW": [ "10080" ]
     }
+  },
+  "MES": {
+    "BaseUrl": "http://localhost:5000",
+    "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjMwMTcyNzM5Mzk5NzYxOTIwIiwibmFtZSI6IlBBQ0voo4XphY3lt6XkvY0wMSIsIkZhY3RvcnlJZCI6IjEyMzQ1NiIsIlNpdGVJZCI6IjEyMzQ1NiIsIkNvZGUiOiJYWExQQUNLMDRBRTAzMiIsIm5iZiI6MTcwNDE4NzY5MCwiZXhwIjoyMTQ1NjkxNjkwLCJpc3MiOiJodHRwczovL3d3dy5oeW1zb24uY29tIiwiYXVkIjoiaHR0cHM6Ly93d3cuaHltc29uLmNvbSJ9.An1BE7UgfcSP--LtTOmmmWVE2RQFPDahLkDg1xy5KqY"
   }
 }
\ No newline at end of file

--
Gitblit v1.9.3