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(); 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 @@
- +