From 786c5ca17012ff3a01faf466b751bdbe70629b97 Mon Sep 17 00:00:00 2001 From: wankeda <Administrator@DESKTOP-HAU3ST3> Date: 星期一, 25 八月 2025 15:25:46 +0800 Subject: [PATCH] 1 --- 代码管理/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs" index b8dc811..971a193 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs" @@ -39,9 +39,36 @@ } [HttpPost, Route("AddCZTask"), AllowAnonymous] - public WebResponseContent AddCZTask([FromBody] CZTaskDto czTaskDto) + public Task<WebResponseContent> AddCZTask([FromBody] CZTaskDto czTaskDto) { - return WebResponseContent.Instance.OK(); + return _taskCZService.AddTaskCZAsync(czTaskDto); + } + [HttpPost, Route("DeleteCZTask"), AllowAnonymous] + public Task<WebResponseContent> DeleteCZTask([FromBody] CZTaskDto czTaskDto) + { + return _taskCZService.DeleteTaskCZAsync(czTaskDto); + } + + [HttpPost, Route("EmptyTask"), AllowAnonymous] + public Task<WebResponseContent> EmptyTask([FromBody] SaveModel saveModel) + { + return _taskCZService.EmptyTask(saveModel); + } + [HttpPost, Route("OutBoundTask"), AllowAnonymous] + public Task<WebResponseContent> OutBoundTask([FromBody] SaveModel saveModel) + { + return _taskCZService.OutBoundTask(saveModel); + } + + [HttpPost, Route("OutBoundTasks"), AllowAnonymous] + public Task<WebResponseContent> OutBoundTasks([FromBody] SaveModel saveModel) + { + return _taskCZService.OutBoundTasks(saveModel); + } + [HttpPost, Route("TemporarilyTasks"), AllowAnonymous] + public Task<WebResponseContent> TemporarilyTasks([FromBody] SaveModel saveModel) + { + return _taskCZService.TemporarilyTasks(saveModel); } } } -- Gitblit v1.9.3