From 0b4416f0576587c6cb4995fa9b11be4688678fb1 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 20 Nov 2019 20:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/DownController.class.php | 2 +- Application/Home/Controller/HomeController.class.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Application/Home/Controller/DownController.class.php b/Application/Home/Controller/DownController.class.php index 86be86ba4..8e1145995 100644 --- a/Application/Home/Controller/DownController.class.php +++ b/Application/Home/Controller/DownController.class.php @@ -15,7 +15,7 @@ class DownController extends Controller { } public function down_file($game_id=0,$promote_id=0){ // 旧版兼容 - A('Download')->index(); + A('Package')->download(); die(); $applyModel = M('Apply','tab_'); diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index 63d9bb6d9..60df72882 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -137,7 +137,6 @@ class HomeController extends Controller $code = I('code', ''); $gameId = I('gid', 0); $promoteId = I('pid', 0); - if ($code == '' && ($gameId == 0 || $promoteId == 0)) { $this->error('访问错误'); } @@ -214,7 +213,7 @@ class HomeController extends Controller $this->assign('isAndroid', $isAndroid); $this->assign('apply', $apply); $this->assign('game', $game); - $this->display(); + $this->display('landingPage'); }