Authored by 梁志锋

Merge remote-tracking branch 'remotes/origin/develop/wap' into stable/wap

@@ -51,10 +51,13 @@ class HfController extends AbstractAction @@ -51,10 +51,13 @@ class HfController extends AbstractAction
51 $version = $this->post('app_version'); 51 $version = $this->post('app_version');
52 switch ($version) { 52 switch ($version) {
53 case '4.0.1': // 版本 53 case '4.0.1': // 版本
54 - $result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.1/main-4.js';  
55 - $result['data']['patchv'] = '103';  
56 - $result['data']['filecode'] = md5('f9c03ec39cfb2686d2b778e444fb2306' . 'yohopatch2016');  
57 - $result['md5'] = md5(self::PRIVATE_KEY . ':' . json_encode($result['data'])); 54 + $uid = $this->post('uid');
  55 + if ($uid == 5448919) {
  56 + $result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.1/main-5.js';
  57 + $result['data']['patchv'] = '104';
  58 + $result['data']['filecode'] = md5('cf2e3b73963de5c0d538192ea8779458' . 'yohopatch2016');
  59 + $result['md5'] = md5(self::PRIVATE_KEY . ':' . json_encode($result['data']));
  60 + }
58 break; 61 break;
59 case '4.0.0': // 版本 62 case '4.0.0': // 版本
60 $result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.0/main2.js'; 63 $result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.0/main2.js';