Merge branch 'feature/unionpromotion' of git.yoho.cn:fe/YOHOBUYWAP into feature/unionpromotion
Showing
2 changed files
with
3 additions
and
3 deletions
@@ -653,7 +653,7 @@ class IndexController extends AbstractAction | @@ -653,7 +653,7 @@ class IndexController extends AbstractAction | ||
653 | $testQyhUnion = json_decode($encryObject, true); | 653 | $testQyhUnion = json_decode($encryObject, true); |
654 | 654 | ||
655 | if (isset($testQyhUnion['client_id'])) { | 655 | if (isset($testQyhUnion['client_id'])) { |
656 | - $unionKey = $testQyhUnion; | 656 | + $unionKey = $encryObject; |
657 | } else { | 657 | } else { |
658 | $unionKey = AuthCode::decode($_COOKIE['_QYH_UNION'], 'q_union_yohobuy'); | 658 | $unionKey = AuthCode::decode($_COOKIE['_QYH_UNION'], 'q_union_yohobuy'); |
659 | } | 659 | } |
@@ -13,8 +13,8 @@ defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'testing'); | @@ -13,8 +13,8 @@ defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'testing'); | ||
13 | 13 | ||
14 | define('USE_INTER_FACE_SHUNT', true);//分流开关 | 14 | define('USE_INTER_FACE_SHUNT', true);//分流开关 |
15 | 15 | ||
16 | -define('API_URL', 'http://api-test1.yohops.com:9999/'); | ||
17 | -define('SERVICE_URL', 'http://service-test1.yohops.com:9999/'); | 16 | +define('API_URL', 'http://api-test2.yohops.com:9999/'); |
17 | +define('SERVICE_URL', 'http://service-test2.yohops.com:9999/'); | ||
18 | define('YOHOBUY_URL', 'http://www.yohobuy.com/'); | 18 | define('YOHOBUY_URL', 'http://www.yohobuy.com/'); |
19 | define('SERVICE_NOTIFY', 'http://service-test1.yohops.com:9999/'); | 19 | define('SERVICE_NOTIFY', 'http://service-test1.yohops.com:9999/'); |
20 | 20 |
-
Please register or login to post a comment