Commit bb93ee5d by xin.yang

some update

parent 4835419a
......@@ -897,7 +897,7 @@ namespace Siger.ApiWMS.Controllers
[HttpPost]
public IActionResult AddLocation([FromBody]RequestAddLocationModel req)
{
{
if (req.storeID.ToInt() <= 0 || req.locations == null || !req.locations.Any() || req.warehouseid <= 0)
{
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