1
HuBingJie
2025-11-22 51af2794f47d5b68496edbc09d0ccb168347f02b
项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs
@@ -1,4 +1,4 @@
锘縰sing Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEAWCS_Core;
@@ -19,6 +19,12 @@
            _httpContextAccessor = httpContextAccessor;
        }
        [HttpGet, Route("Cancelinventory")]
        public WebResponseContent WCSCancelinventory(int taskNum)
        {
            return Service.WCSCancelinventory(taskNum);
        }
        [HttpPost, Route("ReceiveTask"), AllowAnonymous]
        public WebResponseContent ReceiveWMSTask([FromBody] List<WMSTaskDTO> taskDTOs)
        {