落地页更新

master
chenxiaojun 5 years ago
parent 10ee809e6e
commit c596052b59

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

@ -169,20 +169,25 @@ class UserController extends BaseController {
);
} else {
$data = array(
'status' => 0,
'status' => 1,
'msg' => '登录成功!绑定失败',
);
}
} else {
$data = array(
'status' => 1,
'msg' => '登录成功',
);
}
} else {
$data = array(
'status' => 0,
'status' => 1,
'msg' => '登录成功!绑定失败',
);
}
} else {
$data = array(
'status' => 0,
'status' => 1,
'msg' => '登录成功!绑定失败',
);
}

Loading…
Cancel
Save