Commit b8e3c10a by libai

测试

parent 7c931a6f
Showing with 19 additions and 0 deletions
...@@ -408,6 +408,7 @@ ...@@ -408,6 +408,7 @@
$(function(){ $(function(){
//判斷渠道 //判斷渠道
liveList(1) liveList(1)
newLiveList(1)
if(sessionStorage.pmt!=undefined&&sessionStorage.pmt!='undefined'){ if(sessionStorage.pmt!=undefined&&sessionStorage.pmt!='undefined'){
if(sessionStorage.pmt=="other"){ if(sessionStorage.pmt=="other"){
$.ajax({ $.ajax({
...@@ -859,6 +860,23 @@ $(function(){ ...@@ -859,6 +860,23 @@ $(function(){
}) })
} }
function newLiveList(e){
$.ajax({
url:$ip+'frontPage/queryLiveUsers',
data:{
pageNum:e,
pageSize:100,
uid:localStorage.uid || '',
token:localStorage.token || '',
pageID:localStorage.canvasCode
},
success:function(data){
console.log('直播列表',data)
}
})
}
function liveList(e){ function liveList(e){
$.ajax({ $.ajax({
url:$ip+'frontPage/queryLiveUsers', url:$ip+'frontPage/queryLiveUsers',
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
} }
else{ else{
$ip='http://cpapitest.yabolive.net:81/' $ip='http://cpapitest.yabolive.net:81/'
$ip = "https://cpapi.footseen.xyz/";
$ip2="http://ceshi.yabolive.tv/web" $ip2="http://ceshi.yabolive.tv/web"
$ws = "ws://47.242.178.187:12308/" $ws = "ws://47.242.178.187:12308/"
......
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