From 055b5df6e75ccbb8f54d734211336f08ff14508d Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Wed, 13 Nov 2019 11:53:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/DownloadController.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index c025bee79..36dcbc2aa 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -11,6 +11,7 @@ use Base\Service\PromoteService; use Base\Facade\Request; use Base\Service\ApplyService; use Base\Service\PromoteCoinRecordService; +use Base\Service\PromoteCoinTransferLogService; /** * @author elf<360197197@qq.com> @@ -921,7 +922,7 @@ class DownloadController extends BaseController { * @author sunke */ public function coinrecord_data_export() { - $gameId = I('game_id', 0); + $gameId = I('game_id', -1); $account = I('account', ''); $sn = I('sn', ''); $startTime = I('time_end', ''); @@ -949,7 +950,7 @@ class DownloadController extends BaseController { $idArr1 = rtrim($idArr,','); $map['target_id'] = ['in',$idArr1]; } - if($gameId) { + if($gameId !== -1) { $map['game_id'] = $gameId; } $conditions = json_encode($map,TRUE);