From f8d23dcf8d6501482db1a5180325194232afe96c Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期五, 18 七月 2025 17:30:09 +0800 Subject: [PATCH] 封装部分业务代码,继续优化日志打印流程 --- api/ErpController.cs | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/api/ErpController.cs b/api/ErpController.cs index 1e46eb3..78b7ae5 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> @@ -10,8 +10,16 @@ /// </summary> [RoutePrefix("api")] public class ErpController : ApiController { - - - + /// <summary> + /// ERP涓嬪彂鍑哄簱璁″垝鍗�+ /// </summary> + /// <param name="model"></param> + /// <returns></returns> + [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