| | |
| | | public PalletCodeInfoController(IPalletCodeInfoService service) : base(service) |
| | | { |
| | | } |
| | | /// <summary> |
| | | /// 鐢熸垚鏉$爜 |
| | | /// </summary> |
| | | /// <param name="palletCodeInfo"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("newBarcodeLib"), AllowAnonymous] |
| | | public string newBarcodeLib([FromBody] palletCodeInfoDTO palletCodeInfo) |
| | | public string newBarcodeLib(int key) |
| | | { |
| | | return Service.newBarcodeLib(key); |
| | | } |
| | | /// <summary> |
| | | /// 鐢熸垚鏉$爜 |
| | | /// </summary> |
| | | /// <param name="palletCodeInfo"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("newBarcodeLib1"), AllowAnonymous] |
| | | public string newBarcodeLib1([FromBody] palletCodeInfoDTO palletCodeInfo) |
| | | { |
| | | return Service.newBarcodeLib(palletCodeInfo); |
| | | } |
| | | /// <summary> |
| | | /// 鎵撳嵃鏉$爜 |
| | | /// </summary> |
| | | /// <param name="keys"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("PrintBarcodeLib"), AllowAnonymous] |
| | | public WebResponseContent PrintBarcodeLib([FromBody] List<int> keys) |
| | | { |
| | | return Service.PrintBarcodeLib(keys); |
| | | } |
| | | } |
| | | } |