Authored by hf

code review by fei.hong: do modify app hotfix api

@@ -51,8 +51,8 @@ class HfController extends AbstractAction @@ -51,8 +51,8 @@ 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 - $uid = $this->post('uid');  
55 - if ($uid == 5448919) { 54 + $udid = $this->post('udid');
  55 + if ($udid === '27920a7716251c028bfe5cc2b1ec147290a4b4e2') {
56 $result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.1/main-6.js'; 56 $result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.1/main-6.js';
57 $result['data']['patchv'] = '104'; 57 $result['data']['patchv'] = '104';
58 $result['data']['filecode'] = md5('724a4bf20c515b4f55226c04551f3b7f' . 'yohopatch2016'); 58 $result['data']['filecode'] = md5('724a4bf20c515b4f55226c04551f3b7f' . 'yohopatch2016');