Commit fad4d7bc authored by zhangkuanguang's avatar zhangkuanguang

马鞍山站

parent d86a9e65
......@@ -222,9 +222,6 @@ class Login extends MY_Controller {
//清空之前的登陆数据
$this->broker_model->logout();
$username = urldecode($username);
if($_COOKIE['zkg1']){
var_dump($_SERVER['HTTP_REFERER']);die;
}
if(strpos($_SERVER['HTTP_REFERER'], 'cp.house365.com') || strpos($_SERVER['HTTP_REFERER'], 'we.house365.com') || strpos($_SERVER['HTTP_REFERER'], 'esfadmin.house365.com'))
{
//判断账号密码正确性
......@@ -297,12 +294,16 @@ class Login extends MY_Controller {
//清空之前的登陆数据
$this->broker_model->logout();
if('' != $interface_id)
{
//echo $interface_id."<br/>";die;
//加载memcached
$this->load->library('My_memcached','','mc');
$cache = $this->mc->get($interface_id);
if($_COOKIE['zkg1']){
var_dump($cache);die;
}
if(1 == $cache['is_ok'])
{
$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