| | |
| | | _repository = repository; |
| | | } |
| | | |
| | | [HttpPost, Route("InitializationLocation")] |
| | | [HttpPost, Route("InitializationLocation"),AllowAnonymous] |
| | | public WebResponseContent InitializationLocation([FromBody] InitializationLocationDTO initializationLocationDTO) |
| | | { |
| | | return Service.InitializationLocation(initializationLocationDTO); |
| | |
| | | return Service.LocationDisableStatus(keys); ; |
| | | } |
| | | |
| | | [HttpPost, Route("LocationRelease"),AllowAnonymous] |
| | | public WebResponseContent LocationRelease([FromBody] List<string> locationCodes) |
| | | { |
| | | return Service.LocationRelease(locationCodes); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 货位预警 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("LocationWarning"), AllowAnonymous] |
| | | public WebResponseContent LocationWarning() |
| | | { |
| | | return Service.LocationWarning(); |
| | | } |
| | | } |
| | | } |