增加上传接口

This commit is contained in:
TinyAnts
2022-09-08 10:55:55 +08:00
parent d042c12a31
commit e258f2097a
2 changed files with 10 additions and 2 deletions

View File

@@ -121,8 +121,8 @@ public class UserServiceImpl implements IUserService {
BeanUtils.copyProperties(user, vo);
vo.setSex(user.getSex());
vo.setChannel(ClientEnum.getMsgByCode(user.getChannel()));
vo.setAvatar(UrlUtil.toAbsoluteUrl(user.getAvatar()));
vo.setChannel(ClientEnum.getMsgByCode(user.getChannel()));
vo.setLastLoginTime(TimeUtil.timestampToDate(user.getLastLoginTime()));
vo.setCreateTime(TimeUtil.timestampToDate(user.getCreateTime()));
return vo;