Merge branch 'dev' of 47.111.118.107:/srv/git/platform

master
ELF 5 years ago
commit d45c1b6bc4

@ -184,7 +184,7 @@
setTimeout(function(){ setTimeout(function(){
if (data.status == 2) { if (data.status == 2) {
window.location.href = 'http://' + "{:C('APPLY_DOWN_DOMAIN')}" + "/index.php?s=/Home/Home/promitionofregestion/gid/" + gameId + "/pid/" + promoteId + "/status/" + "1" + ".html"; window.location.href = 'http://' + "{$_SERVER['HTTP_HOST']}" + "/index.php?s=/Home/Home/promitionofregestion/gid/" + gameId + "/pid/" + promoteId + "/status/" + "1" + ".html";
} else { } else {
if (url) { if (url) {
window.location.href = url; window.location.href = url;

@ -268,7 +268,7 @@ class Ipa365Controller extends BaseController{
* 用户点击安装 * 用户点击安装
*/ */
public function install() { public function install() {
$userId = $_SESSION['user_id']; $userId = I('user_id', 0);
if (!$userId ) { if (!$userId ) {
$this->error("请登入", "/mobile.php/ssg/login"); $this->error("请登入", "/mobile.php/ssg/login");
} }

Loading…
Cancel
Save