|
|
@ -205,18 +205,19 @@ class HomeController extends Controller
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$game['flooring_page_imgs'] = $imageUrls;
|
|
|
|
$game['flooring_page_imgs'] = $imageUrls;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$isNewIos = false;
|
|
|
|
|
|
|
|
if ($gameSource['create_time'] > strtotime(date('2019-11-27 00:00:00'))) {
|
|
|
|
|
|
|
|
$isNewIos = true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$downloadUrl = '';
|
|
|
|
$downloadUrl = '';
|
|
|
|
if ($isIOS13) {
|
|
|
|
if (!$isNewIos && $isIOS13) {
|
|
|
|
$downloadUrl = 'itms-services://?action=download-manifest&url=' . Request::getHost() . ltrim($gameSource['org_plist_url'], '.');
|
|
|
|
$downloadUrl = 'itms-services://?action=download-manifest&url=' . Request::getHost() . ltrim($gameSource['org_plist_url'], '.');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$applyService = new ApplyService();
|
|
|
|
$applyService = new ApplyService();
|
|
|
|
$downloadUrl = $applyService->getDownloadUrl($apply);
|
|
|
|
$downloadUrl = $applyService->getDownloadUrl($apply);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$isNewIos = false;
|
|
|
|
|
|
|
|
if ($gameSource['create_time'] > strtotime(date('2019-11-27 00:00:00'))) {
|
|
|
|
|
|
|
|
$isNewIos = true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
$this->assign('isNewIos', $isNewIos);
|
|
|
|
$this->assign('isNewIos', $isNewIos);
|
|
|
|
$this->assign('downloadUrl', $downloadUrl);
|
|
|
|
$this->assign('downloadUrl', $downloadUrl);
|
|
|
|
$this->assign('isIOS13', $isIOS13);
|
|
|
|
$this->assign('isIOS13', $isIOS13);
|
|
|
|