dengjunjie
2025-10-27 bad7d319665205633b0f354c8f7a0c3df19aa06b
新建文件夹/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/WMSInfo/SupplyTaskHtyController.cs
@@ -1,5 +1,7 @@
锘縰sing Microsoft.AspNetCore.Http;
锘縰sing Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_IWMsInfoServices;
using WIDESEA_Model.Models;
@@ -13,5 +15,28 @@
        public SupplyTaskHtyController(ISupplyTaskHtyService service) : base(service)
        {
        }
        [HttpPost, HttpGet, Route("GetInOutTasks"), AllowAnonymous]
        public object GetInOutTasks()
        {
            WebResponseContent content = Service.GetInOutTasks();
            if (!content.Status)
            {
                return new
                {
                    code = "404",
                    note = content.Message
                };
            }
            else
            {
                return new
                {
                    code = "000",
                    note = "鎴愬姛",
                    date = content.Data
                };
            }
        }
    }
}