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 |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/api/ErpController.cs b/api/ErpController.cs
index 1e46eb3..2a887d0 100644
--- a/api/ErpController.cs
+++ b/api/ErpController.cs
@@ -2,7 +2,7 @@
 using Newtonsoft.Json;
 using System.Collections.Generic;
 using System.Web.Http;
-
+using static HH.WCS.Mobox3.DSZSH.api.OtherModel;
 
 namespace HH.WCS.Mobox3.DSZSH.api {
     /// <summary>
@@ -11,7 +11,18 @@
     [RoutePrefix("api")]
     public class ErpController : ApiController {
 
+        /// <summary>
+        /// ERP涓嬪彂鍑哄簱浠诲姟
+        /// </summary>
+        /// <param name="model"></param>
+        /// <returns></returns>
+        [HttpPost]
+        [Route("ErpSendOutboundPlan")]
+        public ErpResult ErpSendOutboundPlan(ErpSendOutboundPlanInfo model) {
+            var apiName = "ERP涓嬪彂鍑哄簱璁″垝鍗�;
+            LogHelper.InfoApi(apiName, model);
 
-
+            return ApiHelper.ErpSendOutboundPlan(model);
+        }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1