新增用户注册相关代码
This commit is contained in:
parent
eac704659a
commit
808062d884
@ -66,5 +66,4 @@ public class UserController {
|
||||
public ResponseEntity registerUser(@RequestBody ParamUserAdd userAddParam){
|
||||
return ResponseEntity.ok(userService.registerUser(userAddParam));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
@Data
|
||||
public class LogCaptcha {
|
||||
private Long id;
|
||||
|
@ -17,4 +17,5 @@ public interface UserService {
|
||||
ResponseResult addUser(ParamUserAdd userAddParam);
|
||||
|
||||
ResponseResult registerUser(ParamUserAdd userAddParam);
|
||||
|
||||
}
|
||||
|
@ -219,7 +219,6 @@ public class UserServiceImpl implements UserService {
|
||||
else
|
||||
return ResponseResult.error("注册失败");
|
||||
}
|
||||
|
||||
// 方法
|
||||
public UserInfo getUserByAccount(String username){
|
||||
return userMapper.getUserByAccount(username);
|
||||
|
Loading…
Reference in New Issue
Block a user