From 6cc35000a6e138cfad96e7b02f8aeddcdb4ba6bf Mon Sep 17 00:00:00 2001 From: wankeda <Administrator@DESKTOP-HAU3ST3> Date: 星期二, 24 六月 2025 09:57:25 +0800 Subject: [PATCH] 代码提交 --- 代码管理/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs | 21 +++++++++++++++++++-- 1 files changed, 19 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..c003bba 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,26 @@ } [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("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); } } } -- Gitblit v1.9.3