From 4da42c12efde190b208f18b7dd51d3e89986837d Mon Sep 17 00:00:00 2001 From: wankeda <Administrator@DESKTOP-HAU3ST3> Date: 星期一, 07 四月 2025 11:19:16 +0800 Subject: [PATCH] 代码逻辑优化 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/Task_HtyController.cs | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/Task_HtyController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/Task_HtyController.cs" index a4b53e7..77351df 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/Task_HtyController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/Task_HtyController.cs" @@ -1,6 +1,7 @@ 锘縰sing Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; +using MimeKit.Encodings; using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_DTO.Stock; @@ -16,7 +17,10 @@ public Task_HtyController(ITask_HtyService service) : base(service) { } - - + [HttpPost, Route("TaskData"), AllowAnonymous] + public WebResponseContent TaskData([FromBody] SaveModel saveModel) + { + return Service.TaskData(saveModel); + } } } -- Gitblit v1.9.3