|
|
@ -120,7 +120,7 @@ public class AuthController { |
|
|
|
login.setRoleIds(adminAuthService.getUserRoleIds(login.getId())); |
|
|
|
login.setRoleIds(adminAuthService.getUserRoleIds(login.getId())); |
|
|
|
String token = userSessionService.createUserSession(login, getClientIP(), getUserAgent()); |
|
|
|
String token = userSessionService.createUserSession(login, getClientIP(), getUserAgent()); |
|
|
|
|
|
|
|
|
|
|
|
log.info("TOKEN:::{}",token); |
|
|
|
log.info("{}:TOKEN:::{}",user.getUsername(),token); |
|
|
|
AuthLoginRespVO vo = AuthLoginRespVO.builder().token(token).user(cpuser).build(); |
|
|
|
AuthLoginRespVO vo = AuthLoginRespVO.builder().token(token).user(cpuser).build(); |
|
|
|
return CommonResult.success(vo); |
|
|
|
return CommonResult.success(vo); |
|
|
|
} |
|
|
|
} |
|
|
|