33333333333
This commit is contained in:
@@ -327,7 +327,7 @@ public class CaiLoginManager {
|
||||
req.setAccid(add.getId()+"");
|
||||
req.setToken(add.getImToken());
|
||||
req.setName(add.getNickname());
|
||||
/*YxCommonR r = imUserClient.createUser(req);
|
||||
YxCommonR r = imUserClient.createUser(req);
|
||||
if(!r.isSuccess()){
|
||||
if(r.getCode() == 414){
|
||||
UpdateTokenReq req1 = new UpdateTokenReq();
|
||||
@@ -342,7 +342,7 @@ public class CaiLoginManager {
|
||||
log.error("创建云信账号失败,{}", JSON.toJSONString(r));
|
||||
throw new ServiceException("注册失败,云信异常");
|
||||
}
|
||||
}*/
|
||||
}
|
||||
String clientIP = "127.0.0.1";
|
||||
if(!user.isSystemOp()){
|
||||
clientIP = ServletUtils.getClientIP();
|
||||
|
||||
Reference in New Issue
Block a user