Commit 2cfaa27f by agan

添加ip提示

parent 2e4dba84
Showing with 2 additions and 1 deletions
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<script src="../js/buriedPoint.js"></script> <script src="../js/buriedPoint.js"></script>
<script> <script>
var _url = "https://webserver.yabolive.net" var _url = "https://webserver.yabolive.net"
// var _url = "http://ceshi.yabolive.tv/web"
if(url_get_params().mrefer && url_get_params().mrefer.indexOf('vip')>-1){ if(url_get_params().mrefer && url_get_params().mrefer.indexOf('vip')>-1){
viewPage(); viewPage();
}else{ }else{
......
...@@ -53,7 +53,7 @@ function checkIp() { ...@@ -53,7 +53,7 @@ function checkIp() {
var result = JSON.parse(res); var result = JSON.parse(res);
if (result.code === 1) { if (result.code === 1) {
if (result.checkResult) { if (result.checkResult) {
window.location.href = 'content.html' window.location.href = 'content.html?ip=' + result.ip
} }
} }
} }
......
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