|
|
|
@ -149,7 +149,7 @@ class HomeController extends Controller
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ($status == 1) {
|
|
|
|
|
$downLink = 'itms-services://?action=download-manifest&url=' . "https://" . $_SERVER["HTTP_HOST"] . M('Apply', 'tab_')->where(array('promote_id'=>$promoteId,'game_id'=>$gameId))->getField('org_plist_url');
|
|
|
|
|
$downLink = 'itms-services://?action=download-manifest&url=' . "https://" . $_SERVER["HTTP_HOST"] . M('GameSource', 'tab_')->where(array('game_id' => $gameId))->getField('org_plist_url');
|
|
|
|
|
} else {
|
|
|
|
|
$downLink = get_apply_dow_url($gameId, $promoteId);
|
|
|
|
|
}
|
|
|
|
|