Authored by 毕凯

跳转地址修改

... ... @@ -648,7 +648,7 @@ class IndexController extends AbstractAction
// }
if (empty($uid)) {
$data['code'] = 401;
$refer = $_SERVER['HTTP_REFERER'];
$refer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
$toUrl = Helpers::url('/signin.html')."?refer=".$refer;
if (!empty($appVersion)){
$toUrl .= '&openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"'.$refer.'","param":{}},"requesturl":{"param":{},"url":""},"priority":"N"}}';
... ...
... ... @@ -11,8 +11,8 @@ define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录
define('ROOT_PATH', dirname(dirname(APPLICATION_PATH))); // 根目录
defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer');
define('API_URL', 'http://api-test3.yohops.com:9999/');
define('SERVICE_URL', 'http://service-test3.yohops.com:9999/');
// define('API_URL', 'http://api-test3.yohops.com:9999/');
// define('SERVICE_URL', 'http://service-test3.yohops.com:9999/');
define('USE_INTER_FACE_SHUNT', false);//分流开关
#dev环境
... ...