Parcourir la source

去掉im聊天服务器提示

lulihong il y a 6 ans
Parent
commit
7b8ef7a5c8
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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);