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);