| | |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_IBasicService; |
| | | using WIDESEA_Model.Models; |
| | |
| | | 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); |
| | | } |
| | | |
| | | } |
| | | } |