...
|
...
|
@@ -51,9 +51,9 @@ class HfController extends AbstractAction |
|
|
$version = $this->post('app_version');
|
|
|
switch ($version) {
|
|
|
case '4.0.1': // 版本
|
|
|
$result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.1/main-2.js';
|
|
|
$result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.1/main-3.js';
|
|
|
$result['data']['patchv'] = '103';
|
|
|
$result['data']['filecode'] = md5('0cef321b300df2f3b81de03a57b93433' . 'yohopatch2016');
|
|
|
$result['data']['filecode'] = md5('8e28e7b0c69e803b28b61e2e373ae162' . 'yohopatch2016');
|
|
|
$result['md5'] = md5(self::PRIVATE_KEY . ':' . json_encode($result['data']));
|
|
|
break;
|
|
|
case '4.0.0': // 版本
|
...
|
...
|
|