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 @@
- +
@@ -64,7 +64,7 @@
- +