grs
yjxx 1 month ago
parent 71a93b0515
commit 1b0cb41766

@ -48,6 +48,7 @@ public class UserController {
.eq("account", user.getAccount()) .eq("account", user.getAccount())
.or() .or()
.eq("phone", user.getPhone()); .eq("phone", user.getPhone());
User uuu = new User();
User u = userService.getOne(queryWrapper); User u = userService.getOne(queryWrapper);
if (u != null) { if (u != null) {
return new Result<>(409, "账号或用户名或手机号已存在", ""); return new Result<>(409, "账号或用户名或手机号已存在", "");

Loading…
Cancel
Save