Commit 41cf9fdc authored by zhangkuanguang's avatar zhangkuanguang

马鞍山站

parent a744d733
...@@ -225,11 +225,6 @@ class Login extends MY_Controller { ...@@ -225,11 +225,6 @@ class Login extends MY_Controller {
$username = urldecode($username); $username = urldecode($username);
if(strpos($_SERVER['HTTP_REFERER'], 'cp.house365.com') || strpos($_SERVER['HTTP_REFERER'], 'we.house365.com') || strpos($_SERVER['HTTP_REFERER'], 'esfadmin.house365.com')) if(strpos($_SERVER['HTTP_REFERER'], 'cp.house365.com') || strpos($_SERVER['HTTP_REFERER'], 'we.house365.com') || strpos($_SERVER['HTTP_REFERER'], 'esfadmin.house365.com'))
{ {
if($_COOKIE['zkg']){
var_dump(111);die;
}
//判断账号密码正确性 //判断账号密码正确性
$uid = $this->broker_model->loginAdmin($username, $password, FALSE); $uid = $this->broker_model->loginAdmin($username, $password, FALSE);
...@@ -300,14 +295,18 @@ class Login extends MY_Controller { ...@@ -300,14 +295,18 @@ class Login extends MY_Controller {
//清空之前的登陆数据 //清空之前的登陆数据
$this->broker_model->logout(); $this->broker_model->logout();
if($_COOKIE['zkg1']){
var_dump(111);
}
if('' != $interface_id) if('' != $interface_id)
{ {
//echo $interface_id."<br/>";die; //echo $interface_id."<br/>";die;
//加载memcached //加载memcached
$this->load->library('My_memcached','','mc'); $this->load->library('My_memcached','','mc');
$cache = $this->mc->get($interface_id); $cache = $this->mc->get($interface_id);
if($_COOKIE['zkg1']){
var_dump($cache);die;
}
if(1 == $cache['is_ok']) if(1 == $cache['is_ok'])
{ {
$this->broker_model->yunxinLogin($cache['data']['username']); $this->broker_model->yunxinLogin($cache['data']['username']);
......
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 to comment