diff --git a/yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php b/yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php index 9a4e9d5..3ec0f0e 100644 --- a/yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php +++ b/yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php @@ -699,6 +699,10 @@ class IndexController extends AbstractAction $unionInfo = empty($unionKey) ? array() : json_decode($unionKey, true); /* 模拟APP的User-Agent */ $userAgent = isset($unionInfo['client_id']) ? 'YOHO!Buy/3.8.2.259(Model/PC;Channel/' . $unionInfo['client_id'] . ';uid/' . $uid . ')' : null; + + if (empty($unionKey) && !empty($_COOKIE['union_data'])) { + $unionKey = $_COOKIE['union_data']; + } } /* tar modified 161206 套餐 */