From 4e562ffcc4f48e96a818890d6ed4ef3a15d95361 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Mon, 6 Jul 2020 18:11:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=8E=B0=E6=B1=87=E6=80=BB=E8=A1=A8?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=A3=80=E7=B4=A2bug=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/MarketPercentageController.class.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Application/Admin/Controller/MarketPercentageController.class.php b/Application/Admin/Controller/MarketPercentageController.class.php index 877e4a82d..752e6b856 100644 --- a/Application/Admin/Controller/MarketPercentageController.class.php +++ b/Application/Admin/Controller/MarketPercentageController.class.php @@ -617,6 +617,16 @@ class MarketPercentageController extends ThinkController $map['pay_time'] = ['in', $search_date]; } } + if($_REQUEST['pay_time']) { + if (in_array($_REQUEST['pay_time'],$search_date)) { + $map['pay_time'] = $_REQUEST['pay_time']; + } else { + $this->checkListOrCountAuthRestMap($map,[]); + $this->assign("list_data",[]); + $this->display("showbonuslist"); + die(); + } + } $data = M("market_altogether","tab_") ->field("max(pay_time) pay_time,real_name,admin_id,nickname,level,sum(pay_amount) pay_amount,sum(extend_commission) extend_commission,