Merge branch 'develop/wap' into beta/wap
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -41,6 +41,7 @@ class HfController extends AbstractAction | @@ -41,6 +41,7 @@ class HfController extends AbstractAction | ||
41 | * patchv 当前补丁的版本号,没有就传空 string "100" | 41 | * patchv 当前补丁的版本号,没有就传空 string "100" |
42 | * filecode md5(md5(文件内容) + "yohopatch2016") string "1233321121212332" | 42 | * filecode md5(md5(文件内容) + "yohopatch2016") string "1233321121212332" |
43 | * ] | 43 | * ] |
44 | + * echo md5(file_get_contents('http://ad.yoho.cn/test/main.js')); | ||
44 | */ | 45 | */ |
45 | public function v1Action() | 46 | public function v1Action() |
46 | { | 47 | { |
@@ -50,10 +51,9 @@ class HfController extends AbstractAction | @@ -50,10 +51,9 @@ class HfController extends AbstractAction | ||
50 | $version = $this->post('app_version'); | 51 | $version = $this->post('app_version'); |
51 | switch ($version) { | 52 | switch ($version) { |
52 | case '4.0.0': // 版本号 | 53 | case '4.0.0': // 版本号 |
53 | - case '3.8.0': | ||
54 | - $result['data']['url'] = 'http://cdn.yoho.cn/analysis/v1/js/om_code.js'; | 54 | + $result['data']['url'] = 'http://ad.yoho.cn/test/main.js'; |
55 | $result['data']['patchv'] = '100'; | 55 | $result['data']['patchv'] = '100'; |
56 | - $result['data']['filecode'] = md5('496c71eb82ce76410d5e0b3a74c02b43' . 'yohopatch2016'); | 56 | + $result['data']['filecode'] = md5('cad1d319b791da3317aefb49356518d3' . '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: // 默认 |
-
Please register or login to post a comment