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