diff --git a/pom.xml b/pom.xml index 56723ec..6d17362 100644 --- a/pom.xml +++ b/pom.xml @@ -35,11 +35,6 @@ spring-boot-starter-jdbc - - - - - org.springframework.boot spring-boot-starter-web @@ -57,12 +52,6 @@ test - - - - - - mysql diff --git a/src/main/java/jty/expressdistributionsystem/controller/UserController.java b/src/main/java/jty/expressdistributionsystem/controller/UserController.java index 99bcad3..f08bf25 100644 --- a/src/main/java/jty/expressdistributionsystem/controller/UserController.java +++ b/src/main/java/jty/expressdistributionsystem/controller/UserController.java @@ -266,7 +266,7 @@ public class UserController { // 用户代取快递 @PostMapping("/pickUp") - public Result pickUpExpress(@RequestBody @Validated @NotNull PickUpExpressDTO pickUpExpressDTO) { + public Result pickUpExpress(@RequestBody @Validated PickUpExpressDTO pickUpExpressDTO) { // 查询快递原主人信息 QueryWrapper userQueryWrapper = new QueryWrapper<>(); userQueryWrapper.eq("user_name", pickUpExpressDTO.getMaster());