Commit 56f2cf7b by libai

测试

parent 77d927f4
Showing with 14 additions and 1 deletions
...@@ -525,6 +525,13 @@ $(function () { ...@@ -525,6 +525,13 @@ $(function () {
}, },
success:function(data){ success:function(data){
// console.log('进入付费房购买资格',data) // console.log('进入付费房购买资格',data)
if(data.code==-100){
layer.msg(data.msg)
setTimeout(function() {
window.open("../reg/index.html")
}, 500);
return
}
if(data.code==1){ if(data.code==1){
layer.msg("已付費,即將進入直播間") layer.msg("已付費,即將進入直播間")
setTimeout(function(){ setTimeout(function(){
...@@ -1351,7 +1358,6 @@ $(function () { ...@@ -1351,7 +1358,6 @@ $(function () {
setTimeout(function() { setTimeout(function() {
window.open("../reg/index.html") window.open("../reg/index.html")
}, 500); }, 500);
return return
} }
if(data.code!=1){ if(data.code!=1){
...@@ -2741,6 +2747,13 @@ $(function () { ...@@ -2741,6 +2747,13 @@ $(function () {
}, },
success:function(data){ success:function(data){
// console.log('进入付费房购买资格',data) // console.log('进入付费房购买资格',data)
if(data.code==-100){
layer.msg(data.msg)
setTimeout(function() {
window.open("../reg/index.html")
}, 500);
return
}
if(data.code==1){ if(data.code==1){
layer.msg("已付費,即將進入直播間") layer.msg("已付費,即將進入直播間")
setTimeout(function(){ setTimeout(function(){
......
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