Commit 64446a40 by libai

测试

parent 707be7a3
Showing with 7 additions and 1 deletions
...@@ -1672,6 +1672,12 @@ $(function () { ...@@ -1672,6 +1672,12 @@ $(function () {
}, },
success:function(data){ success:function(data){
//console.log('直播列表',data) //console.log('直播列表',data)
if(data.code==-5008){
setTimeout(function() {
liveList(e)
}, 500);
return;
}
var html=[]; var html=[];
for(var i=0;i<data.roomList.length;i++){ for(var i=0;i<data.roomList.length;i++){
var list=data.roomList[i] var list=data.roomList[i]
...@@ -2524,7 +2530,7 @@ $(function () { ...@@ -2524,7 +2530,7 @@ $(function () {
if (obj.cid == 6200) { if (obj.cid == 6200) {
Reconnection=0; Reconnection=0;
var list=JSON.parse(obj.content) var list=JSON.parse(obj.content)
console.log('直播间发言',list); // console.log('直播间发言',list);
//进入直播间 //进入直播间
if(list.content.type==1){ if(list.content.type==1){
var html=[]; var html=[];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment