|
@ -9,7 +9,7 @@ function loginIm(userId,token,client_id,platform){
|
|
imClient.Users.login(userId, token, client_id, platform, function(res){
|
|
imClient.Users.login(userId, token, client_id, platform, function(res){
|
|
|
|
|
|
}, function(res){
|
|
}, function(res){
|
|
alert("聊天服务器登录失败!");
|
|
|
|
|
|
// alert("聊天服务器登录失败!");
|
|
console.error("im_loin_fail: "+JSON.stringify(res))
|
|
console.error("im_loin_fail: "+JSON.stringify(res))
|
|
})
|
|
})
|
|
}else{
|
|
}else{
|
|
@ -20,7 +20,7 @@ function loginIm(userId,token,client_id,platform){
|
|
imClient.Users.login(userId, tokenNew, client_idNew, platform, function(res){
|
|
imClient.Users.login(userId, tokenNew, client_idNew, platform, function(res){
|
|
|
|
|
|
}, function(res){
|
|
}, function(res){
|
|
alert("聊天服务器登录失败!");
|
|
|
|
|
|
// alert("聊天服务器登录失败!");
|
|
console.error("im_loin_fail: "+JSON.stringify(res))
|
|
console.error("im_loin_fail: "+JSON.stringify(res))
|
|
})
|
|
})
|
|
},1000);
|
|
},1000);
|