Authored by hf

code review by fei.hong: do modify app hotfix api add patch version 4.0.1

... ... @@ -51,7 +51,7 @@ 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.js';
$result['data']['url'] = 'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.1/main-2.js';
$result['data']['patchv'] = '103';
$result['data']['filecode'] = md5('0cef321b300df2f3b81de03a57b93433' . 'yohopatch2016');
$result['md5'] = md5(self::PRIVATE_KEY . ':' . json_encode($result['data']));
... ...