...
|
...
|
@@ -70,6 +70,15 @@ class HfController extends AbstractAction |
|
|
$result['md5'] = md5(self::PRIVATE_KEY . ':' . json_encode($result['data']));
|
|
|
// var_dump('ios 4.0');
|
|
|
break;
|
|
|
case '4.7.9': // 版本
|
|
|
case '4.8.1':
|
|
|
case '4.7.0':
|
|
|
case '4.6.0':
|
|
|
$result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/ios/4.7.0/main.js';
|
|
|
$result['data']['patchv'] = '101';
|
|
|
$result['data']['filecode'] = md5('5105d58adaffbff998f924797dcca329' . 'yohopatch2016');
|
|
|
$result['md5'] = md5(self::PRIVATE_KEY . ':' . json_encode($result['data']));
|
|
|
break;
|
|
|
default: // 默认
|
|
|
$result['data']['url'] = '';
|
|
|
$result['data']['patchv'] = '';
|
...
|
...
|
|