|
@@ -434,16 +434,16 @@ public class SysUserServiceImpl extends BaseServiceImpl<Long, SysUser> implement
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public HttpResponseResult<Void> logoffByPhone(String phone) {
|
|
|
|
|
|
- try {
|
|
|
- HttpResponseResult<List<String>> check = adminFeignService.accountLogoffCheck(phone);
|
|
|
- List<String> errMsg = check.getData();
|
|
|
- if (!CollectionUtils.isEmpty(errMsg)) {
|
|
|
- return HttpResponseResult.failed(5101, null, String.join(",", errMsg));
|
|
|
- }
|
|
|
- } catch (Exception e) {
|
|
|
- throw new BizException("数据检查失败");
|
|
|
- }
|
|
|
-
|
|
|
+ // todo: 暂时不上
|
|
|
+// try {
|
|
|
+// HttpResponseResult<List<String>> check = adminFeignService.accountLogoffCheck(phone);
|
|
|
+// List<String> errMsg = check.getData();
|
|
|
+// if (!CollectionUtils.isEmpty(errMsg)) {
|
|
|
+// return HttpResponseResult.failed(5101, null, String.join(",", errMsg));
|
|
|
+// }
|
|
|
+// } catch (Exception e) {
|
|
|
+// throw new BizException("数据检查失败");
|
|
|
+// }
|
|
|
int num = sysUserDao.countByPhone(phone);
|
|
|
//冻结相关所有客户端账号
|
|
|
sysUserDao.updateLockStatusByPhone(phone);
|
|
@@ -453,7 +453,7 @@ public class SysUserServiceImpl extends BaseServiceImpl<Long, SysUser> implement
|
|
|
throw new BizException("用户不存在或已注销");
|
|
|
}
|
|
|
// 解散群、退群、删除好友关系
|
|
|
- adminFeignService.logoffQuitImGroup(phone);
|
|
|
+// adminFeignService.logoffQuitImGroup(phone);
|
|
|
|
|
|
//退出登录
|
|
|
tokenService.revokeTokenByPhone(phone);
|