From 92942cb7f553b17379c20cc9de1c820d934b4b8b Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Thu, 17 Oct 2019 15:34:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96ssg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Mobile/Controller/SsgController.class.php | 6 +++--- Application/Mobile/View/Ssg/home.html | 2 +- Application/Mobile/View/Ssg/index.html | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Application/Mobile/Controller/SsgController.class.php b/Application/Mobile/Controller/SsgController.class.php index df8d4d8ed..ab08f9416 100644 --- a/Application/Mobile/Controller/SsgController.class.php +++ b/Application/Mobile/Controller/SsgController.class.php @@ -23,9 +23,9 @@ class SsgController extends BaseController { { $promoteId = I("promote_id", 0); $user = session("user_auth"); - // if ($user) { - // redirect(U("ssg/index", array('promete_id' => $promoteId))); - // } + if ($user) { + redirect(U("ssg/index", array('promete_id' => $promoteId))); + } // /*if (!$promoteId) { // echo "链接失效,请重新向推广员索取链接。"; diff --git a/Application/Mobile/View/Ssg/home.html b/Application/Mobile/View/Ssg/home.html index 9d4eac7a4..8bbb9cd1f 100644 --- a/Application/Mobile/View/Ssg/home.html +++ b/Application/Mobile/View/Ssg/home.html @@ -10,7 +10,7 @@ *{ padding: 0px; margin: 0px; - max-width: 768px; + max-width: 750px; } li{ line-height:2; diff --git a/Application/Mobile/View/Ssg/index.html b/Application/Mobile/View/Ssg/index.html index 3c919f77b..35d66b987 100644 --- a/Application/Mobile/View/Ssg/index.html +++ b/Application/Mobile/View/Ssg/index.html @@ -245,7 +245,6 @@ $(".pay-button").on("click",function(){ } }) $("#logout").on("click",function(){ - alert("退出登录成功"); location.href = "mobile.php?s=/Ssg/logout.html"; }) function handlePay() {