From 808062d88430958a0932d24222142d7647b1737c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=99=9A=E7=A9=BA=E4=B9=8B=E4=B8=BB?= <2042538839@qq.com> Date: Wed, 9 Oct 2024 16:29:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=A8=E6=88=B7=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/guaiguailang/harmony/controller/UserController.java | 1 - .../java/com/guaiguailang/harmony/domain/entity/LogCaptcha.java | 1 + src/main/java/com/guaiguailang/harmony/service/UserService.java | 1 + .../com/guaiguailang/harmony/service/impl/UserServiceImpl.java | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/guaiguailang/harmony/controller/UserController.java b/src/main/java/com/guaiguailang/harmony/controller/UserController.java index ec7f382..9f6c6a0 100644 --- a/src/main/java/com/guaiguailang/harmony/controller/UserController.java +++ b/src/main/java/com/guaiguailang/harmony/controller/UserController.java @@ -66,5 +66,4 @@ public class UserController { public ResponseEntity registerUser(@RequestBody ParamUserAdd userAddParam){ return ResponseEntity.ok(userService.registerUser(userAddParam)); } - } diff --git a/src/main/java/com/guaiguailang/harmony/domain/entity/LogCaptcha.java b/src/main/java/com/guaiguailang/harmony/domain/entity/LogCaptcha.java index f8480f6..618f6e0 100644 --- a/src/main/java/com/guaiguailang/harmony/domain/entity/LogCaptcha.java +++ b/src/main/java/com/guaiguailang/harmony/domain/entity/LogCaptcha.java @@ -4,6 +4,7 @@ import lombok.Data; import java.time.LocalDateTime; + @Data public class LogCaptcha { private Long id; diff --git a/src/main/java/com/guaiguailang/harmony/service/UserService.java b/src/main/java/com/guaiguailang/harmony/service/UserService.java index df1bb9a..afeacd5 100644 --- a/src/main/java/com/guaiguailang/harmony/service/UserService.java +++ b/src/main/java/com/guaiguailang/harmony/service/UserService.java @@ -17,4 +17,5 @@ public interface UserService { ResponseResult addUser(ParamUserAdd userAddParam); ResponseResult registerUser(ParamUserAdd userAddParam); + } diff --git a/src/main/java/com/guaiguailang/harmony/service/impl/UserServiceImpl.java b/src/main/java/com/guaiguailang/harmony/service/impl/UserServiceImpl.java index 2a3374d..2ab1507 100644 --- a/src/main/java/com/guaiguailang/harmony/service/impl/UserServiceImpl.java +++ b/src/main/java/com/guaiguailang/harmony/service/impl/UserServiceImpl.java @@ -219,7 +219,6 @@ public class UserServiceImpl implements UserService { else return ResponseResult.error("注册失败"); } - // 方法 public UserInfo getUserByAccount(String username){ return userMapper.getUserByAccount(username);