init
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user