From 8f3c97fa52de9e01cc2596b25dea639fbc23d08b Mon Sep 17 00:00:00 2001 From: yjxx <1055683039@qq.com> Date: Sun, 17 Nov 2024 16:36:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 11 ----------- .../controller/UserController.java | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) 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());