|
|
@@ -68,6 +68,7 @@ public class UserJWTController {
|
|
|
try {
|
|
|
authentication = authenticationManagerBuilder.getObject().authenticate(authenticationToken);
|
|
|
} catch (InternalAuthenticationServiceException exception) {
|
|
|
+ log.info("手机号不存在");
|
|
|
throw CustomErrorException.userPhoneNotFound(loginVO.getPhone());
|
|
|
}
|
|
|
log.info("获取了authentication");
|
|
|
@@ -86,7 +87,7 @@ public class UserJWTController {
|
|
|
userVO.setRole(superService.findByUserId(currentUser.getId()).get().getRole());
|
|
|
}
|
|
|
tokenVO.setUser(userVO);
|
|
|
-
|
|
|
+ log.info("查找结束");
|
|
|
return OkResponse.of(tokenVO);
|
|
|
}
|
|
|
|