ソースを参照

去掉im聊天服务器提示

lulihong 6 年 前
コミット
7b8ef7a5c8
1 ファイル変更2 行追加2 行削除
  1. 2 2
      html/home/js/main.js

+ 2 - 2
html/home/js/main.js

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