From 24b14416323689d3f09d7becb54ce879a463c9ec Mon Sep 17 00:00:00 2001
From: ELF <360197197@qq.com>
Date: Fri, 18 Oct 2019 19:08:57 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B6=85=E7=BA=A7?=
=?UTF-8?q?=E7=AD=BE=E9=93=BE=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Application/Home/Controller/PromoteController.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Application/Home/Controller/PromoteController.class.php b/Application/Home/Controller/PromoteController.class.php
index eea598331..fdcea7856 100644
--- a/Application/Home/Controller/PromoteController.class.php
+++ b/Application/Home/Controller/PromoteController.class.php
@@ -632,7 +632,7 @@ class PromoteController extends BaseController
if (empty($user)) {
$this->redirect("Home/Index/index");
}
- $promoteUrl = "https://m.wmtxkj.com/mobile.php?s=Ssg/login/promote_id/" . $user['pid'];
+ $promoteUrl = "https://m.wmtxkj.com/mobile.php?s=Ssg/home/promote_id/" . $user['pid'];
$this->assign("promote_url", $promoteUrl);
$this->display();
From 5805880e0c2bfd0b0b0155a826d7012b75df8051 Mon Sep 17 00:00:00 2001
From: chenzhi <“chenzhi063@qq.com>
Date: Fri, 18 Oct 2019 19:14:37 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8E=A8=E5=B9=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Application/Mobile/Controller/SsgController.class.php | 3 ++-
Application/Mobile/View/Ssg/home.html | 4 ++--
Application/Mobile/View/Ssg/login.html | 3 ++-
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/Application/Mobile/Controller/SsgController.class.php b/Application/Mobile/Controller/SsgController.class.php
index 34f366eca..90a67df38 100644
--- a/Application/Mobile/Controller/SsgController.class.php
+++ b/Application/Mobile/Controller/SsgController.class.php
@@ -49,8 +49,9 @@ class SsgController extends BaseController {
public function home(){
//获取客服qq
$appqq = M("config", "sys_")->field('value')->where("name='APP_QQ'")->find()['value'];
-
+ $promoteId = I("promote_id", 0);
$this->assign("app_qq", $appqq);
+ $this->assign("promote_id", $promoteId);
$this->assign("rand", rand());
$this->display();
}
diff --git a/Application/Mobile/View/Ssg/home.html b/Application/Mobile/View/Ssg/home.html
index 2c2e26598..37454efc1 100644
--- a/Application/Mobile/View/Ssg/home.html
+++ b/Application/Mobile/View/Ssg/home.html
@@ -40,7 +40,7 @@