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] =?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 @@