From f978872b6de4e7e20d992a2ee7cda902c11347b9 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期一, 30 六月 2025 15:31:56 +0800
Subject: [PATCH] 优化配置文件读取逻辑,将ERP反馈接口写入配置文件中配置

---
 api/ErpController.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/api/ErpController.cs b/api/ErpController.cs
index 48260b4..2a887d0 100644
--- a/api/ErpController.cs
+++ b/api/ErpController.cs
@@ -16,12 +16,13 @@
         /// </summary>
         /// <param name="model"></param>
         /// <returns></returns>
-        public ErpResult ErpSendOutboundOrder(ErpSendOutboundOrderInfo model) {
-            var apiName = "ERP涓嬪彂鍑哄簱浠诲姟";
+        [HttpPost]
+        [Route("ErpSendOutboundPlan")]
+        public ErpResult ErpSendOutboundPlan(ErpSendOutboundPlanInfo model) {
+            var apiName = "ERP涓嬪彂鍑哄簱璁″垝鍗�;
             LogHelper.InfoApi(apiName, model);
 
-            return ApiHelper.ErpSendOutboundOrder(model);
+            return ApiHelper.ErpSendOutboundPlan(model);
         }
-
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1