use of com.haier.user.vo.response.PersonalInfoVO in project su-sunday-cloud by illeagalName.
the class UserServiceImpl method getPersonalInfo.
@Override
public PersonalInfoVO getPersonalInfo() {
Long userId = SecurityUtils.getUserId();
String clientId = SecurityUtils.getClientId();
UserVO userVO = redisService.getObject(AUTHORIZATION_USER_TOKEN + clientId + ":" + userId);
PersonalInfoVO result = new PersonalInfoVO();
BeanUtils.copyProperties(userVO, result);
return result;
}
Aggregations