From efe8307605ea775931a06a47ab70228fcffcfbe0 Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Tue, 1 Oct 2019 03:01:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=90=BD=E5=9C=B0=E9=A1=B5=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Mobile/View/User/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Mobile/View/User/login.html b/Application/Mobile/View/User/login.html index 3acb4d0fd..493f3fe53 100644 --- a/Application/Mobile/View/User/login.html +++ b/Application/Mobile/View/User/login.html @@ -184,7 +184,7 @@ setTimeout(function(){ 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 { if (url) { window.location.href = url; From 0c67f0e6decf02fe379ab66da6238d5f22a5a666 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Tue, 1 Oct 2019 03:08:41 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=89=E8=A3=85=E4=B8=8D=E9=AA=8C?= =?UTF-8?q?=E8=AF=81user=5Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/Ipa365Controller.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/Ipa365Controller.class.php b/Application/Sdk/Controller/Ipa365Controller.class.php index e33ff91df..aadb1c3d9 100644 --- a/Application/Sdk/Controller/Ipa365Controller.class.php +++ b/Application/Sdk/Controller/Ipa365Controller.class.php @@ -268,7 +268,7 @@ class Ipa365Controller extends BaseController{ * 用户点击安装 */ public function install() { - $userId = $_SESSION['user_id']; + $userId = I('user_id', 0); if (!$userId ) { $this->error("请登入", "/mobile.php/ssg/login"); }