Commit 6269847d by libai

测试

parent 9da9333e
...@@ -300,7 +300,7 @@ $(function(){ ...@@ -300,7 +300,7 @@ $(function(){
"data": { "data": {
"msg": '跳转集合功能', "msg": '跳转集合功能',
"jumptype": 3, "jumptype": 3,
"url": $url + 'activeFt/liveData/index.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&roomid=' + sessionStorage.roomId + '', "url": $url + 'activeFt/liveData/index.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.kkk + '&roomid=' + sessionStorage.roomId + '',
} }
} }
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
......
...@@ -40,7 +40,7 @@ function url_get_params(url_path) { ...@@ -40,7 +40,7 @@ function url_get_params(url_path) {
} }
if (bbb.indexOf("http://localhost:63342") > -1) { if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23871190; sessionStorage.bbb = 23871190;
sessionStorage.token = 'debug' sessionStorage.kkk = 'debug'
sessionStorage.roomId=23864554 sessionStorage.roomId=23864554
} }
if (bbb.indexOf("file:///") > -1) { if (bbb.indexOf("file:///") > -1) {
...@@ -168,18 +168,18 @@ function goReg(){ ...@@ -168,18 +168,18 @@ function goReg(){
if (/iphone|ipad|ipod/.test(ua)) { if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge'; window.location.href='yazhai://_recharge';
}else{ }else{
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang'; window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=qingliang';
} }
} else if(sessionStorage.pkg=='qiezi'){ } else if(sessionStorage.pkg=='qiezi'){
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) { if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge'; window.location.href='yazhai://_recharge';
}else{ }else{
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang'; window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=qingliang';
} }
} }
else{ else{
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=yabo'; window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=yabo';
} }
} }
function scrollTo(element,speed) { function scrollTo(element,speed) {
......
...@@ -259,7 +259,7 @@ $(function(){ ...@@ -259,7 +259,7 @@ $(function(){
"data": { "data": {
"msg": '跳转集合功能', "msg": '跳转集合功能',
"jumptype": 3, "jumptype": 3,
"url":'https://fsactive.fusi.club/activeFt/liveData/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&roomid='+sessionStorage.roomId+'', "url":'https://fsactive.fusi.club/activeFt/liveData/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.kkk+'&roomid='+sessionStorage.roomId+'',
} }
} }
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
......
...@@ -181,18 +181,18 @@ function goReg(){ ...@@ -181,18 +181,18 @@ function goReg(){
if (/iphone|ipad|ipod/.test(ua)) { if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge'; window.location.href='yazhai://_recharge';
}else{ }else{
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang'; window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=qingliang';
} }
} else if(sessionStorage.pkg=='qiezi'){ } else if(sessionStorage.pkg=='qiezi'){
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) { if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge'; window.location.href='yazhai://_recharge';
}else{ }else{
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang'; window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=qingliang';
} }
} }
else{ else{
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=yabo'; window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=yabo';
} }
} }
function scrollTo(element,speed) { function scrollTo(element,speed) {
......
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