修改bug

master
ELF 5 years ago
parent 9d5b0e235a
commit 0b4416f057

@ -15,7 +15,7 @@ class DownController extends Controller {
} }
public function down_file($game_id=0,$promote_id=0){ public function down_file($game_id=0,$promote_id=0){
// 旧版兼容 // 旧版兼容
A('Download')->index(); A('Package')->download();
die(); die();
$applyModel = M('Apply','tab_'); $applyModel = M('Apply','tab_');

@ -137,7 +137,6 @@ class HomeController extends Controller
$code = I('code', ''); $code = I('code', '');
$gameId = I('gid', 0); $gameId = I('gid', 0);
$promoteId = I('pid', 0); $promoteId = I('pid', 0);
if ($code == '' && ($gameId == 0 || $promoteId == 0)) { if ($code == '' && ($gameId == 0 || $promoteId == 0)) {
$this->error('访问错误'); $this->error('访问错误');
} }
@ -214,7 +213,7 @@ class HomeController extends Controller
$this->assign('isAndroid', $isAndroid); $this->assign('isAndroid', $isAndroid);
$this->assign('apply', $apply); $this->assign('apply', $apply);
$this->assign('game', $game); $this->assign('game', $game);
$this->display(); $this->display('landingPage');
} }

Loading…
Cancel
Save