1
wankeda
2026-03-02 ea4adbde9c64181369161e851925e06d52260eba
WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/PalletTypeInfoController.cs
@@ -1,5 +1,6 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_IBasicService;
using WIDESEA_Model.Models;
@@ -13,5 +14,25 @@
        public PalletTypeInfoController(IPalletTypeInfoService service) : base(service)
        {
        }
        [HttpGet,HttpPost, Route("PrintPalletCode"), AllowAnonymous]
        public WebResponseContent PrintPalletCode(int num, string palletCodeType)
        {
            return Service.PrintPalletCode(num, palletCodeType);
        }
        [HttpGet, HttpPost, Route("GetWarehouses"), AllowAnonymous]
        public WebResponseContent GetWarehouses()
        {
            return Service.GetWarehouses();
        }
        [HttpGet, HttpPost, Route("GetPalletTypeInfos"), AllowAnonymous]
        public WebResponseContent GetPalletTypeInfos(int WarehouseId)
        {
            return Service.GetPalletTypeInfos(WarehouseId);
        }
    }
}