From 3bdd686d50ae8c999924ac64101a5dbe4e271c71 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期五, 04 七月 2025 17:27:19 +0800 Subject: [PATCH] 优化日志信息,删除冗余的工具类代码 --- api/ErpController.cs | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/api/ErpController.cs b/api/ErpController.cs index 48260b4..78b7ae5 100644 --- a/api/ErpController.cs +++ b/api/ErpController.cs @@ -10,18 +10,16 @@ /// </summary> [RoutePrefix("api")] public class ErpController : ApiController { - /// <summary> - /// ERP涓嬪彂鍑哄簱浠诲姟 + /// ERP涓嬪彂鍑哄簱璁″垝鍗� /// </summary> /// <param name="model"></param> /// <returns></returns> - public ErpResult ErpSendOutboundOrder(ErpSendOutboundOrderInfo model) { - var apiName = "ERP涓嬪彂鍑哄簱浠诲姟"; - LogHelper.InfoApi(apiName, model); - - return ApiHelper.ErpSendOutboundOrder(model); + [HttpPost] + [Route("ErpSendOutboundPlan")] + public ErpResult ErpSendOutboundPlan(ErpSendOutboundPlanInfo model) { + LogHelper.InfoApi("ERP涓嬪彂鍑哄簱璁″垝鍗�, model); + return ApiHelper.ErpSendOutboundPlan(model); } - } } \ No newline at end of file -- Gitblit v1.9.1