|
|
|
@ -198,7 +198,7 @@ class HomeController extends Controller
|
|
|
|
|
->find();
|
|
|
|
|
$game['icon'] = get_cover($game['icon'], 'path');
|
|
|
|
|
|
|
|
|
|
$gameSource = M('GameSource', 'tab_')->field(['create_time', 'org_plist_url'])->where(array('game_id' => $game['id']))->find();
|
|
|
|
|
$gameSource = M('GameSource', 'tab_')->field(['create_time', 'org_plist_url', 'is_new_sdk'])->where(array('game_id' => $game['id']))->find();
|
|
|
|
|
|
|
|
|
|
$imageIds = explode(',', $game['flooring_page_imgs']) ?? [];
|
|
|
|
|
$imageUrls = [];
|
|
|
|
@ -229,6 +229,7 @@ class HomeController extends Controller
|
|
|
|
|
$this->assign('apply', $apply);
|
|
|
|
|
$this->assign('game', $game);
|
|
|
|
|
$this->assign('promoteId', $promoteId);
|
|
|
|
|
$this->assign('is_new_sdk', $gameSource['is_new_sdk']);
|
|
|
|
|
$cur_url = base64_encode(base64_encode("http://" . $_SERVER['HTTP_HOST'] . __SELF__));
|
|
|
|
|
$this->assign('cur_url', $cur_url);
|
|
|
|
|
if ($this->get_device_type() == 'ios') {
|
|
|
|
|