Commit bb93ee5d by xin.yang

some update

parent 4835419a
...@@ -897,7 +897,7 @@ namespace Siger.ApiWMS.Controllers ...@@ -897,7 +897,7 @@ namespace Siger.ApiWMS.Controllers
[HttpPost] [HttpPost]
public IActionResult AddLocation([FromBody]RequestAddLocationModel req) public IActionResult AddLocation([FromBody]RequestAddLocationModel req)
{ {
if (req.storeID.ToInt() <= 0 || req.locations == null || !req.locations.Any() || req.warehouseid <= 0) if (req.storeID.ToInt() <= 0 || req.locations == null || !req.locations.Any() || req.warehouseid <= 0)
{ {
throw new BadRequestException(RequestEnum.ParameterError); throw new BadRequestException(RequestEnum.ParameterError);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment