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, 4 insertions(+), 5 deletions(-) diff --git a/api/ErpController.cs b/api/ErpController.cs index 14132b3..2a887d0 100644 --- a/api/ErpController.cs +++ b/api/ErpController.cs @@ -17,13 +17,12 @@ /// <param name="model"></param> /// <returns></returns> [HttpPost] - [Route("ErpSendOutboundOrder")] - public ErpResult ErpSendOutboundOrder(ErpSendOutboundOrderInfo model) { - var apiName = "ERP涓嬪彂鍑哄簱浠诲姟"; + [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