diff --git a/config/define.php b/config/define.php index 78fb636..09a469e 100644 --- a/config/define.php +++ b/config/define.php @@ -27,7 +27,8 @@ define('WEIXIN_OPEN_GET_PERSONAL_INFORMATION','https://api.weixin.qq.com/sns/userinfo?access_token=%s&openid=%s'); define('CSS_URL', '//know.checkcopy.com'); - + //css/js版本 + define('CSS_JS_VERSION', '1.0.0000001'); define('ALIYUN_OSS_ACCESS_KEY_ID', 'LTAI5tRBq7yr1vcdvhqNMb7P'); define('ALIYUN_OSS_ACCESS_KEY_SECRET', 'E4No4AjlWGrHSULsR8apZkTAC8DMw6'); diff --git a/control/index.php b/control/index.php index a0c712a..fea1ade 100644 --- a/control/index.php +++ b/control/index.php @@ -12,11 +12,8 @@ class index extends publicBase { } public function login() { -// $url = $this->get('url'); -// -// $this->agent_login(); -// $msg = $this->get('msg'); -// $this->view['msg'] = $msg; -// $this->view['tb_auth_url'] = $GLOBALS['auth_url'][PAY_TYPE_TAOBAO]."?agentupgrade=2"; + } + + public function loginout() { } } diff --git a/index.php b/index.php index f69ccfc..127fc90 100644 --- a/index.php +++ b/index.php @@ -31,7 +31,7 @@ error_reporting(E_ERROR); // 记录所有级别的错误 $this->control_name = $array[0]; $this->control_func = !isset($array[1]) || $array[1]=='' ? 'home' : $array[1]; - if(preg_match('/^(login|login_submit|2UcNOgLCeM.txt).*/', $this->control_name)){ + if(preg_match('/^(login|login_submit).*/', $this->control_name)){ $this->control_name = 'index'; $this->control_func = $array[0]; } @@ -68,7 +68,7 @@ error_reporting(E_ERROR); // 记录所有级别的错误 //登陆检查 $needlogin = false; if ($this->control_name == 'index') { - if (preg_match('/^(login|login_submit|2UcNOgLCeM.txt).*/', $this->control_func)) { + if (preg_match('/^(login|login_submit).*/', $this->control_func)) { $needlogin = false; } }elseif($this->control_name == 'callback'){ diff --git a/view/templates/index/login.html b/view/templates/index/login.html index a9f90af..1783959 100644 --- a/view/templates/index/login.html +++ b/view/templates/index/login.html @@ -7,7 +7,7 @@ 登陆页 - + {literal}