Commit 510bfdda by libai

ft活动上线

parent 198be136
...@@ -357,7 +357,7 @@ $(function(){ ...@@ -357,7 +357,7 @@ $(function(){
$.ajax({ $.ajax({
url:$ip+'/actPopularInteractIndex/queryUserIndexInfo.html', url:$ip+'/actPopularInteractIndex/queryUserIndexInfo.html',
data:{ data:{
roomId:sessionStorage.bbb roomId:sessionStorage.uid
}, },
success:function(data){ success:function(data){
console.log('查询主播互动指数',data) console.log('查询主播互动指数',data)
...@@ -669,7 +669,7 @@ $(function(){ ...@@ -669,7 +669,7 @@ $(function(){
$.ajax({ $.ajax({
url:$ip+'/actPopularInteractIndex/receiveReward.html', url:$ip+'/actPopularInteractIndex/receiveReward.html',
data:{ data:{
roomId:sessionStorage.bbb, roomId:sessionStorage.uid,
lang:sessionStorage.lang, lang:sessionStorage.lang,
rewardType:_self rewardType:_self
}, },
......
...@@ -12,7 +12,7 @@ var bbb = location.href; ...@@ -12,7 +12,7 @@ var bbb = location.href;
var data = url_get_params(bbb) var data = url_get_params(bbb)
if (sessionStorage.token == undefined) { if (sessionStorage.token == undefined) {
sessionStorage.token = data.token; //t sessionStorage.token = data.token; //t
sessionStorage.bbb = data.uid; //u sessionStorage.uid = data.uid; //u
sessionStorage.version = data.appversion; sessionStorage.version = data.appversion;
sessionStorage.pkg=data.pkg; sessionStorage.pkg=data.pkg;
sessionStorage.lang=data.lang; sessionStorage.lang=data.lang;
...@@ -34,12 +34,12 @@ function url_get_params(url_path) { ...@@ -34,12 +34,12 @@ function url_get_params(url_path) {
return theRequest; return theRequest;
} }
if (bbb.indexOf("http://localhost:63342") > -1) { if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23871190; sessionStorage.uid = 23871190;
sessionStorage.token = 'debug' sessionStorage.token = 'debug'
sessionStorage.roomId=23864554 sessionStorage.roomId=23864554
} }
if (bbb.indexOf("file:///") > -1) { if (bbb.indexOf("file:///") > -1) {
sessionStorage.bbb = 155100; sessionStorage.uid = 155100;
sessionStorage.token = 'debug' sessionStorage.token = 'debug'
sessionStorage.roomId=155100 sessionStorage.roomId=155100
sessionStorage.lang=1 sessionStorage.lang=1
...@@ -49,7 +49,7 @@ $.ajaxSetup({ ...@@ -49,7 +49,7 @@ $.ajaxSetup({
global: false, global: false,
type: 'get', type: 'get',
data: { data: {
uid: sessionStorage.bbb, uid: sessionStorage.uid,
token: sessionStorage.token, token: sessionStorage.token,
lang:sessionStorage.lang, lang:sessionStorage.lang,
vest:0, vest:0,
...@@ -175,18 +175,18 @@ function goReg(){ ...@@ -175,18 +175,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.uid+'&token='+sessionStorage.token+'&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.uid+'&token='+sessionStorage.token+'&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.uid+'&token='+sessionStorage.token+'&pkg=yabo';
} }
} }
function scrollTo(element,speed) { function scrollTo(element,speed) {
......
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
<script src="lib/default.js?v='2023120901'"></script> <script src="lib/default.js?v='2023120901'"></script>
<script> <script>
$(function(){ $(function(){
if(sessionStorage.roomId==sessionStorage.bbb){ if(sessionStorage.roomId==sessionStorage.uid){
//是主播且開播中 //是主播且開播中
view() view()
$(".mc-task").show() $(".mc-task").show()
...@@ -268,7 +268,7 @@ $(function(){ ...@@ -268,7 +268,7 @@ $(function(){
url:$ip+'/actHeartbeatAnchor/getViewLikeData.html', url:$ip+'/actHeartbeatAnchor/getViewLikeData.html',
success:function(data){ success:function(data){
console.log("昨日top主播",data) console.log("昨日top主播",data)
if(sessionStorage.bbb!=sessionStorage.roomId&&data.result.heartbeatScore>0){ if(sessionStorage.uid!=sessionStorage.roomId&&data.result.heartbeatScore>0){
$(".exc-box").show() $(".exc-box").show()
$(".exc-box-p").text("我的心動積分: "+data.result.heartbeatScore+"") $(".exc-box-p").text("我的心動積分: "+data.result.heartbeatScore+"")
} }
...@@ -458,7 +458,7 @@ $(function(){ ...@@ -458,7 +458,7 @@ $(function(){
console.log("積分兌換羽毛",data) console.log("積分兌換羽毛",data)
if(data.code==1){ if(data.code==1){
layer.msg("兌換成功") layer.msg("兌換成功")
if(sessionStorage.bbb==sessionStorage.roomId)view() if(sessionStorage.uid==sessionStorage.roomId)view()
else topMc() else topMc()
}else{ }else{
......
...@@ -11,7 +11,7 @@ else{ ...@@ -11,7 +11,7 @@ else{
var bbb = location.href; var bbb = location.href;
var data = url_get_params(bbb) var data = url_get_params(bbb)
sessionStorage.token = data.token; //t sessionStorage.token = data.token; //t
sessionStorage.bbb = data.uid; //u sessionStorage.uid = data.uid; //u
sessionStorage.version = data.appversion; sessionStorage.version = data.appversion;
sessionStorage.pkg=data.pkg sessionStorage.pkg=data.pkg
sessionStorage.lang=data.lang sessionStorage.lang=data.lang
...@@ -57,13 +57,13 @@ else{ ...@@ -57,13 +57,13 @@ else{
return theRequest; return theRequest;
} }
if (bbb.indexOf("http://localhost:63342") > -1) { if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23864554; sessionStorage.uid = 23864554;
sessionStorage.token = 'debug' sessionStorage.token = 'debug'
sessionStorage.roomId=23864554 sessionStorage.roomId=23864554
} }
if (bbb.indexOf("file:///D:/") > -1) { if (bbb.indexOf("file:///D:/") > -1) {
sessionStorage.lang=2 sessionStorage.lang=2
sessionStorage.bbb = 155100; sessionStorage.uid = 155100;
sessionStorage.token = 'debug' sessionStorage.token = 'debug'
sessionStorage.roomId=210102; sessionStorage.roomId=210102;
sessionStorage.version=8890 sessionStorage.version=8890
...@@ -77,7 +77,7 @@ else{ ...@@ -77,7 +77,7 @@ else{
global: false, global: false,
type: 'get', type: 'get',
data: { data: {
uid: sessionStorage.bbb, uid: sessionStorage.uid,
token: sessionStorage.token, token: sessionStorage.token,
roomId:sessionStorage.roomId, roomId:sessionStorage.roomId,
cid:sessionStorage.cid, cid:sessionStorage.cid,
...@@ -268,18 +268,18 @@ function loadImageGo3(name,sNum,eNum) { ...@@ -268,18 +268,18 @@ function loadImageGo3(name,sNum,eNum) {
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.uid+'&token='+sessionStorage.token+'&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.uid+'&token='+sessionStorage.token+'&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.uid+'&token='+sessionStorage.token+'&pkg=yabo';
} }
} }
function scrollTo(element,speed) { function scrollTo(element,speed) {
......
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
<script> <script>
$(function(){ $(function(){
// layer.msg(sessionStorage.roomId+':'+sessionStorage.bbb) // layer.msg(sessionStorage.roomId+':'+sessionStorage.uid)
if(sessionStorage.roomId!=sessionStorage.bbb){ if(sessionStorage.roomId!=sessionStorage.uid){
view() view()
setInterval(function(){ setInterval(function(){
view() view()
......
...@@ -65,7 +65,7 @@ $(function(){ ...@@ -65,7 +65,7 @@ $(function(){
check() check()
if(data.state==0){ if(data.state==0){
$(".btn").unbind("click").on("click",function(){ $(".btn").unbind("click").on("click",function(){
window.open("https://testty.footseen.xyz/footseen/phonepay/applepay.html?lang="+sessionStorage.lang+"&gofrom=web&cidStr=ftsH5&uid="+sessionStorage.bbb+"&token="+sessionStorage.token+"&os=h5&appversion=7&osStr=h5") window.open("https://testty.footseen.xyz/footseen/phonepay/applepay.html?lang="+sessionStorage.lang+"&gofrom=web&cidStr=ftsH5&uid="+sessionStorage.uid+"&token="+sessionStorage.token+"&os=h5&appversion=7&osStr=h5")
}) })
} }
else if(data.state==1){ else if(data.state==1){
...@@ -92,7 +92,7 @@ $(function(){ ...@@ -92,7 +92,7 @@ $(function(){
console.log('获取首充信息',data) console.log('获取首充信息',data)
if(data.state==0){ if(data.state==0){
$(".btn").unbind("click").on("click",function(){ $(".btn").unbind("click").on("click",function(){
window.open("https://testty.footseen.xyz/footseen/phonepay/applepay.html?lang="+sessionStorage.lang+"&gofrom=web&cidStr=ftsH5&uid="+sessionStorage.bbb+"&token="+sessionStorage.token+"&os=h5&appversion=7&osStr=h5") window.open("https://testty.footseen.xyz/footseen/phonepay/applepay.html?lang="+sessionStorage.lang+"&gofrom=web&cidStr=ftsH5&uid="+sessionStorage.uid+"&token="+sessionStorage.token+"&os=h5&appversion=7&osStr=h5")
}) })
} }
else if(data.state==1){ else if(data.state==1){
......
...@@ -13,7 +13,7 @@ else{ ...@@ -13,7 +13,7 @@ else{
var bbb = location.href; var bbb = location.href;
var data = url_get_params(bbb) var data = url_get_params(bbb)
sessionStorage.token = data.token; //t sessionStorage.token = data.token; //t
sessionStorage.bbb = data.uid; //u sessionStorage.uid = data.uid; //u
sessionStorage.version = data.appversion; sessionStorage.version = data.appversion;
sessionStorage.pkg=data.pkg; sessionStorage.pkg=data.pkg;
sessionStorage.lang=data.lang; sessionStorage.lang=data.lang;
...@@ -39,12 +39,12 @@ function url_get_params(url_path) { ...@@ -39,12 +39,12 @@ function url_get_params(url_path) {
return theRequest; return theRequest;
} }
if (bbb.indexOf("http://localhost:63342") > -1) { if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23871190; sessionStorage.uid = 23871190;
sessionStorage.token = 'debug' sessionStorage.token = 'debug'
sessionStorage.roomId=23864554 sessionStorage.roomId=23864554
} }
if (bbb.indexOf("file:///") > -1) { if (bbb.indexOf("file:///") > -1) {
sessionStorage.bbb = 11144646; sessionStorage.uid = 11144646;
sessionStorage.token = 'debug' sessionStorage.token = 'debug'
sessionStorage.roomId=11137199 sessionStorage.roomId=11137199
sessionStorage.lang=2 sessionStorage.lang=2
...@@ -54,7 +54,7 @@ $.ajaxSetup({ ...@@ -54,7 +54,7 @@ $.ajaxSetup({
global: false, global: false,
type: 'get', type: 'get',
data: { data: {
uid: sessionStorage.bbb, uid: sessionStorage.uid,
token: sessionStorage.token, token: sessionStorage.token,
lang:sessionStorage.lang, lang:sessionStorage.lang,
vest:0, vest:0,
...@@ -191,18 +191,18 @@ function goReg(){ ...@@ -191,18 +191,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.uid+'&token='+sessionStorage.token+'&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.uid+'&token='+sessionStorage.token+'&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.uid+'&token='+sessionStorage.token+'&pkg=yabo';
} }
} }
function scrollTo(element,speed) { function scrollTo(element,speed) {
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
sessionStorage.long=-1 sessionStorage.long=-1
var t1=null var t1=null
$(".room-bg,.room-bg-over").on("click",function(){ $(".room-bg,.room-bg-over").on("click",function(){
if(sessionStorage.roomId==sessionStorage.bbb)return; if(sessionStorage.roomId==sessionStorage.uid)return;
$.ajax({ $.ajax({
url:$ip+'/actShowForMe/openPopup.html', url:$ip+'/actShowForMe/openPopup.html',
......
...@@ -15,7 +15,7 @@ else{ ...@@ -15,7 +15,7 @@ else{
var bbb = location.href; var bbb = location.href;
var data = url_get_params(bbb) var data = url_get_params(bbb)
sessionStorage.token = data.token; //t sessionStorage.token = data.token; //t
sessionStorage.bbb = data.uid; //u sessionStorage.uid = data.uid; //u
sessionStorage.version = data.appversion; sessionStorage.version = data.appversion;
sessionStorage.pkg=data.pkg; sessionStorage.pkg=data.pkg;
sessionStorage.lang=data.lang; sessionStorage.lang=data.lang;
...@@ -37,12 +37,12 @@ function url_get_params(url_path) { ...@@ -37,12 +37,12 @@ function url_get_params(url_path) {
return theRequest; return theRequest;
} }
if (bbb.indexOf("http://localhost:63342") > -1) { if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23871190; sessionStorage.uid = 23871190;
sessionStorage.token = 'debug' sessionStorage.token = 'debug'
sessionStorage.roomId=23864554 sessionStorage.roomId=23864554
} }
if (bbb.indexOf("file:///") > -1) { if (bbb.indexOf("file:///") > -1) {
sessionStorage.bbb = 11128395; sessionStorage.uid = 11128395;
sessionStorage.token = 'debug' sessionStorage.token = 'debug'
sessionStorage.roomId=11128395 sessionStorage.roomId=11128395
sessionStorage.lang=2 sessionStorage.lang=2
...@@ -52,7 +52,7 @@ $.ajaxSetup({ ...@@ -52,7 +52,7 @@ $.ajaxSetup({
global: false, global: false,
type: 'get', type: 'get',
data: { data: {
uid: sessionStorage.bbb, uid: sessionStorage.uid,
token: sessionStorage.token, token: sessionStorage.token,
lang:sessionStorage.lang, lang:sessionStorage.lang,
vest:0, vest:0,
...@@ -160,18 +160,18 @@ function goReg(){ ...@@ -160,18 +160,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.uid+'&token='+sessionStorage.token+'&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.uid+'&token='+sessionStorage.token+'&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.uid+'&token='+sessionStorage.token+'&pkg=yabo';
} }
} }
function scrollTo(element,speed) { function scrollTo(element,speed) {
......
...@@ -126,7 +126,7 @@ $(function(){ ...@@ -126,7 +126,7 @@ $(function(){
}) })
} }
//活動 //活動
if(sessionStorage.bbb==sessionStorage.roomId){ if(sessionStorage.uid==sessionStorage.roomId){
$(".room-bg1,.room-bg3").show() $(".room-bg1,.room-bg3").show()
view() view()
setInterval(function(){ setInterval(function(){
...@@ -243,7 +243,7 @@ $(function(){ ...@@ -243,7 +243,7 @@ $(function(){
"data": { "data": {
"msg": '跳转集合功能', "msg": '跳转集合功能',
"jumptype": 3, "jumptype": 3,
"url":'https://fsactive.fusi.club/activeFt/liveData/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&roomid='+sessionStorage.roomId+'', "url":'https://fsactive.fusi.club/activeFt/liveData/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&roomid='+sessionStorage.roomId+'',
} }
} }
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
......
...@@ -12,7 +12,7 @@ else{ ...@@ -12,7 +12,7 @@ else{
var bbb = location.href; var bbb = location.href;
var data = url_get_params(bbb) var data = url_get_params(bbb)
sessionStorage.token = data.token; //t sessionStorage.token = data.token; //t
sessionStorage.bbb = data.uid; //u sessionStorage.uid = data.uid; //u
sessionStorage.version = data.appversion; sessionStorage.version = data.appversion;
sessionStorage.pkg=data.pkg; sessionStorage.pkg=data.pkg;
sessionStorage.lang=data.lang; sessionStorage.lang=data.lang;
...@@ -37,13 +37,13 @@ function url_get_params(url_path) { ...@@ -37,13 +37,13 @@ function url_get_params(url_path) {
return theRequest; return theRequest;
} }
if (bbb.indexOf("http://localhost:63342") > -1) { if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23871190; sessionStorage.uid = 23871190;
sessionStorage.token = 'debug' sessionStorage.token = 'debug'
sessionStorage.roomId=23864554 sessionStorage.roomId=23864554
} }
if (bbb.indexOf("file:///") > -1) { if (bbb.indexOf("file:///") > -1) {
sessionStorage.lang=2 sessionStorage.lang=2
sessionStorage.bbb = 11134747; sessionStorage.uid = 11134747;
sessionStorage.token = 'debug' sessionStorage.token = 'debug'
sessionStorage.roomId=11134747; sessionStorage.roomId=11134747;
sessionStorage.version=8890 sessionStorage.version=8890
...@@ -56,7 +56,7 @@ $.ajaxSetup({ ...@@ -56,7 +56,7 @@ $.ajaxSetup({
global: false, global: false,
type: 'get', type: 'get',
data: { data: {
uid: sessionStorage.bbb, uid: sessionStorage.uid,
token: sessionStorage.token, token: sessionStorage.token,
roomId:sessionStorage.roomId, roomId:sessionStorage.roomId,
cid:sessionStorage.cid, cid:sessionStorage.cid,
...@@ -166,18 +166,18 @@ function goReg(){ ...@@ -166,18 +166,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.uid+'&token='+sessionStorage.token+'&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.uid+'&token='+sessionStorage.token+'&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.uid+'&token='+sessionStorage.token+'&pkg=yabo';
} }
} }
function scrollTo(element,speed) { function scrollTo(element,speed) {
......
...@@ -327,7 +327,7 @@ $(function(){ ...@@ -327,7 +327,7 @@ $(function(){
"data": { "data": {
"msg": '跳转集合功能', "msg": '跳转集合功能',
"jumptype": 3, "jumptype": 3,
"url": $url + 'activeFt/liveData/index.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.kkk + '&roomid=' + sessionStorage.roomId + '', "url": $url + 'activeFt/liveData/index.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&roomid=' + sessionStorage.roomId + '',
} }
} }
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
......
...@@ -39,8 +39,8 @@ function url_get_params(url_path) { ...@@ -39,8 +39,8 @@ function url_get_params(url_path) {
return theRequest; return theRequest;
} }
if (bbb.indexOf("http://localhost:63342") > -1) { if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23871190; sessionStorage.uid = 23871190;
sessionStorage.kkk = 'debug' sessionStorage.token = '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.kkk+'&pkg=qingliang'; window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&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.kkk+'&pkg=qingliang'; window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
} }
} }
else{ else{
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=yabo'; window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=yabo';
} }
} }
function scrollTo(element,speed) { function scrollTo(element,speed) {
......
...@@ -286,7 +286,7 @@ $(function(){ ...@@ -286,7 +286,7 @@ $(function(){
"data": { "data": {
"msg": '跳转集合功能', "msg": '跳转集合功能',
"jumptype": 3, "jumptype": 3,
"url":'https://fsactive.fusi.club/activeFt/liveData/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.kkk+'&roomid='+sessionStorage.roomId+'', "url":'https://fsactive.fusi.club/activeFt/liveData/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&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.kkk+'&pkg=qingliang'; window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&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.kkk+'&pkg=qingliang'; window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
} }
} }
else{ else{
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=yabo'; window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&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