diff --git a/Application/Mobile/Controller/SsgController.class.php b/Application/Mobile/Controller/SsgController.class.php index dc7e940f8..4562344ff 100644 --- a/Application/Mobile/Controller/SsgController.class.php +++ b/Application/Mobile/Controller/SsgController.class.php @@ -49,7 +49,9 @@ class SsgController extends BaseController { public function home(){ //获取客服qq $appqq = M("config", "sys_")->field('value')->where("name='APP_QQ'")->find()['value']; + $this->assign("app_qq", $appqq); + $this->assign("rand", rand()); $this->display(); } diff --git a/Application/Mobile/View/Ssg/home.html b/Application/Mobile/View/Ssg/home.html index 96ef21aa7..2c2e26598 100644 --- a/Application/Mobile/View/Ssg/home.html +++ b/Application/Mobile/View/Ssg/home.html @@ -4,8 +4,8 @@