grs
yjxx 6 days ago
parent 83e365d75d
commit 8f3c97fa52

@ -35,11 +35,6 @@
<artifactId>spring-boot-starter-jdbc</artifactId> <artifactId>spring-boot-starter-jdbc</artifactId>
</dependency> </dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-starter-security</artifactId>-->
<!-- </dependency>-->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
@ -57,12 +52,6 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.security</groupId>-->
<!-- <artifactId>spring-security-test</artifactId>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
<!-- MySQL JDBC 驱动 --> <!-- MySQL JDBC 驱动 -->
<dependency> <dependency>
<groupId>mysql</groupId> <groupId>mysql</groupId>

@ -266,7 +266,7 @@ public class UserController {
// 用户代取快递 // 用户代取快递
@PostMapping("/pickUp") @PostMapping("/pickUp")
public Result<String> pickUpExpress(@RequestBody @Validated @NotNull PickUpExpressDTO pickUpExpressDTO) { public Result<String> pickUpExpress(@RequestBody @Validated PickUpExpressDTO pickUpExpressDTO) {
// 查询快递原主人信息 // 查询快递原主人信息
QueryWrapper<User> userQueryWrapper = new QueryWrapper<>(); QueryWrapper<User> userQueryWrapper = new QueryWrapper<>();
userQueryWrapper.eq("user_name", pickUpExpressDTO.getMaster()); userQueryWrapper.eq("user_name", pickUpExpressDTO.getMaster());

Loading…
Cancel
Save