Showing
1 changed file
with
4 additions
and
0 deletions
@@ -699,6 +699,10 @@ class IndexController extends AbstractAction | @@ -699,6 +699,10 @@ class IndexController extends AbstractAction | ||
699 | $unionInfo = empty($unionKey) ? array() : json_decode($unionKey, true); | 699 | $unionInfo = empty($unionKey) ? array() : json_decode($unionKey, true); |
700 | /* 模拟APP的User-Agent */ | 700 | /* 模拟APP的User-Agent */ |
701 | $userAgent = isset($unionInfo['client_id']) ? 'YOHO!Buy/3.8.2.259(Model/PC;Channel/' . $unionInfo['client_id'] . ';uid/' . $uid . ')' : null; | 701 | $userAgent = isset($unionInfo['client_id']) ? 'YOHO!Buy/3.8.2.259(Model/PC;Channel/' . $unionInfo['client_id'] . ';uid/' . $uid . ')' : null; |
702 | + | ||
703 | + if (empty($unionKey) && !empty($_COOKIE['union_data'])) { | ||
704 | + $unionKey = $_COOKIE['union_data']; | ||
705 | + } | ||
702 | } | 706 | } |
703 | 707 | ||
704 | /* tar modified 161206 套餐 */ | 708 | /* tar modified 161206 套餐 */ |
-
Please register or login to post a comment