From 389499d9a7e9e3bd1ce50ff5850476a858a1b5d4 Mon Sep 17 00:00:00 2001
From: whyclj <1525436766@qq.com>
Date: 星期三, 26 十二月 2018 10:54:22 +0800
Subject: [PATCH] 后台监测用户session状况
---
gx_tieta/WebRoot/mobil/control.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gx_tieta/WebRoot/mobil/control.html b/gx_tieta/WebRoot/mobil/control.html
index db8c133..89a59c9 100644
--- a/gx_tieta/WebRoot/mobil/control.html
+++ b/gx_tieta/WebRoot/mobil/control.html
@@ -65,7 +65,7 @@
var temp = getCookie("batt");
var batt = JSON.parse(temp);
console.info(batt);
- if(batt.install_user){
+ if(batt.install_user||batt.install_user==0){
window.location.href="batt-approved.html";
}else{
window.location.href="testdata.html";
@@ -200,7 +200,7 @@
{url: 'testdata.html', txt: '鐢垫睜缁勬暟鎹�'}, // 鐢垫睜缁勬暟鎹�
{url: 'javascript:;', txt: '瀹炴椂-鐩戞祴鏁版嵁'} // 鐢垫睜缁勬暟鎹�
];*/
- if(batt.install_user){
+ if(batt.install_user||batt.install_user==0){
}else{
addBreadCrumb($('.breadcrumb').eq(0), data);
--
Gitblit v1.9.1