|
@@ -20,10 +20,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
@@ -86,7 +83,7 @@ public class StorgeController extends SuperCacheController<StorgeService, Long,
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "检测库位是否存在", notes = "检测库位是否存在")
|
|
|
- @PostMapping("/check/")
|
|
|
+ @RequestMapping(value = "/check", method = RequestMethod.POST)
|
|
|
public R<Boolean> check(@RequestBody StorgeSaveDTO model) {
|
|
|
return success(baseService.check(model));
|
|
|
}
|