From 21cd52c5592aad3687be74599a932012d9dd77a4 Mon Sep 17 00:00:00 2001 From: wanshenmean <cathay_xy@163.com> Date: 星期二, 15 四月 2025 10:03:38 +0800 Subject: [PATCH] 条码上传冠宏 --- 代码管理/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/PDA/PDAController.cs | 10 ++++++++-- 1 files changed, 8 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..7e6581f 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,15 @@ } [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); } } } -- Gitblit v1.9.3