Commit 178685e7 authored by zhangjun's avatar zhangjun

修改

parent 91b2542c
......@@ -659,7 +659,7 @@ class User extends MY_Controller
setcookie("sessionid", null, time() - 1000, "/", "house365.com");
setcookie("newrent_yii2-session", null, time() - 1000, "/", "house365.com");
jumpto(GB_UCENTER_LOGIN_URL);exit();
jumpto(GB_LOGOUT_URL);exit();
if(isset($_SERVER['HTTP_REFERER']))
{
$url = substr($_SERVER['HTTP_REFERER'], 0, 35);
......
......@@ -138,7 +138,7 @@
<a target="_blank" href="http://user.house365.com/want/buylist">求购求租</a>
<a target="_blank" href="http://user.house365.com/user/mymessage">我的消息</a>
<a target="_blank" href="http://user.house365.com/user/myask">我的问答</a>
<a href="http://user.house365.com/user/logout" class="border_clear">退出</a>
<a href="<?php echo GB_LOGOUT_URL; ?>" class="border_clear">退出</a>
</div>
<div class="broker-c">
<a href="<?php echo GB_WO_URL;?>" target="_blank">经纪人登录</a>
......
......@@ -122,7 +122,7 @@
<a target="_blank" href="http://user.house365.com/want/buylist">求购求租</a>
<a target="_blank" href="http://user.house365.com/user/mymessage">我的消息</a>
<a target="_blank" href="http://user.house365.com/user/myask">我的问答</a>
<a href="http://user.house365.com/user/logout" class="border_clear">退出</a>
<a href="<?php echo GB_LOGOUT_URL; ?>" class="border_clear">退出</a>
</div>
<div class="broker-c">
<a href="<?php echo GB_WO_URL;?>" target="_blank">经纪人登录</a>
......
......@@ -411,6 +411,8 @@ define('GB_GET_USER_INFO_BY_PHONE_URL', 'http://newrenttest.house365.com/api/tf-
define('GB_UCENTER_LOGIN_URL', 'https://ucentertest.house365.com/index/login');
// 二手房首页
define('GB_NEWRENT_INDEX_URL', 'http://newrenttest.house365.com/sell/index');
// 退出地址
define('GB_LOGOUT_URL', 'http://passporttest.house365.com/index/logout');
if($_SERVER['SERVER_ADDR'] == '192.168.105.106')
{
......
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