Authored by hf

Merge branch 'develop/wap' into beta/wap

@@ -53,7 +53,7 @@ class HfController extends AbstractAction @@ -53,7 +53,7 @@ class HfController extends AbstractAction
53 case '4.0.0': // 版本号 53 case '4.0.0': // 版本号
54 $result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.0/main2.js'; 54 $result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.0/main2.js';
55 $result['data']['patchv'] = '102'; 55 $result['data']['patchv'] = '102';
56 - $result['data']['filecode'] = md5('53b86b14490ead50ff78cac30a2494f3' . 'yohopatch2016'); 56 + $result['data']['filecode'] = md5('dddd71eed2754a53ad843a78587dc1f5' . 'yohopatch2016');
57 $result['md5'] = md5(self::PRIVATE_KEY . ':' . json_encode($result['data'])); 57 $result['md5'] = md5(self::PRIVATE_KEY . ':' . json_encode($result['data']));
58 break; 58 break;
59 default: // 默认 59 default: // 默认
@@ -261,7 +261,7 @@ class IndexController extends AbstractAction @@ -261,7 +261,7 @@ class IndexController extends AbstractAction
261 $result = array(); 261 $result = array();
262 262
263 if ($this->isAjax()) { 263 if ($this->isAjax()) {
264 - $shoppingKey = $this->getSession('shoppingKey'); 264 + $shoppingKey = Helpers::getShoppingKeyByCookie();
265 $uid = $this->getUid(true); 265 $uid = $this->getUid(true);
266 266
267 $params = array(); 267 $params = array();