wankeda
2025-05-26 0864509e1eb593c3dedb66196ec19fe51437922b
代码管理/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] string sourceAddress)
        {
            return _taskCZService.OutBoundTask(sourceAddress);
        }
        [HttpPost, Route("OutBoundTasks"), AllowAnonymous]
        public Task<WebResponseContent> OutBoundTasks([FromBody] SaveModel saveModel)
        {
            return _taskCZService.OutBoundTasks(saveModel);
        }
    }
}