This commit is contained in:
77
2024-03-27 12:24:45 +08:00
parent 9a5db539bf
commit 5f0d6f96c2

View File

@@ -186,7 +186,7 @@ public class LoginManager {
req.setName(add.getNickname()); req.setName(add.getNickname());
YxCommonR r = imUserClient.createUser(req); YxCommonR r = imUserClient.createUser(req);
if(!r.isSuccess()){ if(!r.isSuccess()){
if(r.getCode() == 414){ /*if(r.getCode() == 414){
UpdateTokenReq req1 = new UpdateTokenReq(); UpdateTokenReq req1 = new UpdateTokenReq();
req1.setAccid(add.getId()+""); req1.setAccid(add.getId()+"");
req1.setToken(add.getImToken()); req1.setToken(add.getImToken());
@@ -198,7 +198,7 @@ public class LoginManager {
}else{ }else{
log.error("创建云信账号失败,{}", JSON.toJSONString(r)); log.error("创建云信账号失败,{}", JSON.toJSONString(r));
throw new ServiceException("注册失败,云信异常"); throw new ServiceException("注册失败,云信异常");
} }*/
} }
String clientIP = ServletUtils.getClientIP(); String clientIP = ServletUtils.getClientIP();
UserLogin userLogin = new UserLogin(); UserLogin userLogin = new UserLogin();