Search in sources :

Example 1 with PersonalInfoVO

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;
}
Also used : UserVO(com.haier.api.user.domain.UserVO) RegisterUserVO(com.haier.user.vo.request.RegisterUserVO) PersonalInfoVO(com.haier.user.vo.response.PersonalInfoVO)

Aggregations

UserVO (com.haier.api.user.domain.UserVO)1 RegisterUserVO (com.haier.user.vo.request.RegisterUserVO)1 PersonalInfoVO (com.haier.user.vo.response.PersonalInfoVO)1