登录注册接口拆分
This commit is contained in:
@@ -207,4 +207,9 @@ public class UserEntity implements Serializable {
|
|||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private Integer vipType;
|
private Integer vipType;
|
||||||
|
|
||||||
|
|
||||||
|
public UserEntity getDesensitizationInfo() {
|
||||||
|
this.setPassword(null);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -915,7 +915,7 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
|
|||||||
}
|
}
|
||||||
userInfo.setUpdateTime(DateUtil.date().toString());
|
userInfo.setUpdateTime(DateUtil.date().toString());
|
||||||
baseMapper.updateById(userInfo);
|
baseMapper.updateById(userInfo);
|
||||||
return getResult(userInfo);
|
return getResult(userInfo.getDesensitizationInfo());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -972,7 +972,7 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
|
|||||||
if (userEntity != null) {
|
if (userEntity != null) {
|
||||||
inviteService.saveBody(userInfo.getUserId(), userEntity);
|
inviteService.saveBody(userInfo.getUserId(), userEntity);
|
||||||
}
|
}
|
||||||
return getResult(userInfo);
|
return getResult(userInfo.getDesensitizationInfo());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user