diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index fd37284b9..eea52d404 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -243,8 +243,10 @@ class HomeController extends Controller } $serviceQQ = M("config", "sys_")->field('value')->where("name='APP_QQ'")->find()['value']; - $this->assign("serviceQQ", $serviceQQ); + $ssgUrl = C('DOMAIN_OFFICIAL_MOBILE') . '/mobile.php/Ssg/pay/game_id/' . $game['id'] . '/promote_id/' . $promoteId; + + $this->assign("serviceQQ", $serviceQQ); $this->assign('isNewIos', $isNewIos); $this->assign('downloadUrl', $downloadUrl); $this->assign('isIOS13', $isIOS13); @@ -254,6 +256,7 @@ class HomeController extends Controller $this->assign('apply', $apply); $this->assign('game', $game); $this->assign('promoteId', $promoteId); + $this->assign('ssgUrl', $ssgUrl); $cur_url = base64_encode(base64_encode("http://" . $_SERVER['HTTP_HOST'] . __SELF__)); $this->assign('cur_url', $cur_url); if ($isIOS) { diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index 1604aab3a..3ebc05bae 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -273,7 +273,7 @@ -