|
@@ -441,6 +441,7 @@ public class SysUserServiceImpl extends BaseServiceImpl<Long, SysUser> implement
|
|
|
log.error("logoffByPhone check error", e);
|
|
|
throw new BizException("数据检查失败");
|
|
|
}
|
|
|
+ SysUser sysUser = sysUserDao.queryByPhone(phone);
|
|
|
int num = sysUserDao.countByPhone(phone);
|
|
|
//冻结相关所有客户端账号
|
|
|
sysUserDao.updateLockStatusByPhone(phone);
|
|
@@ -449,6 +450,9 @@ public class SysUserServiceImpl extends BaseServiceImpl<Long, SysUser> implement
|
|
|
if(i < 1){
|
|
|
throw new BizException("用户不存在或已注销");
|
|
|
}
|
|
|
+
|
|
|
+ // 修改名称 和头像
|
|
|
+ sysUserDao.updateNameAndImg(sysUser.getId());
|
|
|
// 解散群、退群、删除好友关系
|
|
|
adminFeignService.logoffQuitImGroup(phone);
|
|
|
|