123
This commit is contained in:
@@ -45,6 +45,8 @@ public class CurrentUserManager {
|
||||
private AccountBankcardService accountBankcardService;
|
||||
@Resource
|
||||
private ImUserRefClient userClient;
|
||||
@Autowired
|
||||
private CitysService citysService;
|
||||
|
||||
public CurrentUserInfoVo currentInfo() {
|
||||
Long userId = LoginHelper.getUserId();
|
||||
@@ -122,8 +124,9 @@ public class CurrentUserManager {
|
||||
throw new ServiceException("性别不可以修改");
|
||||
}
|
||||
}
|
||||
if(res.getCity() != null){
|
||||
update.set(User::getCity,res.getCity());
|
||||
if(res.getCityId() != null){
|
||||
update.set(User::getCityId,res.getCityId());
|
||||
update.set(User::getCity,citysService.getByCityId(res.getCityId()));
|
||||
updateFlag=true;
|
||||
}
|
||||
if(StringUtils.isNotEmpty(res.getAvatar())){
|
||||
|
||||
Reference in New Issue
Block a user