From 3890410bece87fde01bd6205a04c00d4a65a9b50 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Thu, 20 Aug 2020 15:43:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/DownloadController.class.php | 8 ++++---- Application/Home/Controller/QueryController.class.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index 08225978b..b81a44233 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -1446,18 +1446,18 @@ class DownloadController extends BaseController { if (!empty(I('begtime')) && empty(I('endtime'))) { - $map['tab_spend.pay_time'] = ['egt', strtotime(I('begtime'))]; + $map['tab_spend.spend_time'] = ['egt', strtotime(I('begtime'))]; } elseif (empty(I('begtime')) && !empty(I('endtime'))) { - $map['tab_spend.pay_time'] = ['elt', strtotime(I('endtime')) + 86399]; + $map['tab_spend.spend_time'] = ['elt', strtotime(I('endtime')) + 86399]; } elseif (!empty(I('begtime')) && !empty(I('endtime'))) { - $map['tab_spend.pay_time'] = ['between', [strtotime(I('begtime')), strtotime(I('endtime')) + 86399]]; + $map['tab_spend.spend_time'] = ['between', [strtotime(I('begtime')), strtotime(I('endtime')) + 86399]]; }else { $nowTime = date('Y-m-d'); $initBegTime = date('Y-m-d', strtotime('-6 day', strtotime($nowTime))); $initEndTime = date('Y-m-d'); $initBegTime = strtotime($initBegTime); $initEndTime = strtotime($initEndTime); - $map['tab_spend.pay_time'] = ['between',[$initBegTime,$initEndTime]]; + $map['tab_spend.spend_time'] = ['between',[$initBegTime,$initEndTime]]; } empty(I('relation_game_id')) || $map['tab_game.relation_game_id'] = I('relation_game_id'); diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index 3ff0f0ce2..5ce3deb40 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -99,7 +99,7 @@ class QueryController extends BaseController $map['tab_spend.pay_status'] = $payStatus; } } - $map['tab_spend.pay_time'] = ['between', [$begTime, $endTime - 1]]; + $map['tab_spend.spend_time'] = ['between', [$begTime, $endTime - 1]]; $data = []; $count = 0;