code review by fei.hong: do modify app hotfix api patch
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -51,9 +51,9 @@ class HfController extends AbstractAction | @@ -51,9 +51,9 @@ 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-2.js'; | 54 | + $result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.1/main-3.js'; |
55 | $result['data']['patchv'] = '103'; | 55 | $result['data']['patchv'] = '103'; |
56 | - $result['data']['filecode'] = md5('0cef321b300df2f3b81de03a57b93433' . 'yohopatch2016'); | 56 | + $result['data']['filecode'] = md5('8e28e7b0c69e803b28b61e2e373ae162' . '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 | case '4.0.0': // 版本 | 59 | case '4.0.0': // 版本 |
-
Please register or login to post a comment