From ce2540919ca4591ddc442ba7ffe8c27ce0207c2c Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Wed, 8 Jul 2020 09:36:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=9C=BA=E4=B8=93=E5=91=98=E7=AD=9B?= =?UTF-8?q?=E9=80=89?= 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 070f0ee21..13d73fb09 100644 --- a/Application/Admin/Controller/MarketPercentageController.class.php +++ b/Application/Admin/Controller/MarketPercentageController.class.php @@ -833,6 +833,16 @@ class MarketPercentageController extends ThinkController $map = []; + $admin_data = M("member") + ->field("access.uid admin_id") + ->join("left join sys_auth_group_access access on sys_member.uid = access.uid") + ->join("left join sys_auth_group auth on access.group_id=auth.id") + ->where(['group_id'=>['in','11,12,21']]) + ->select(); + if ($admin_data) { + $map['admin_id'] = ['in',array_column($admin_data,'admin_id')]; + } + $_REQUEST['pay_time']?$map['pay_time'] = $_REQUEST['pay_time']:''; $_REQUEST['real_name']?$map['real_name'] = $_REQUEST['real_name']:''; $_REQUEST['nickname']?$map['nickname'] = $_REQUEST['nickname']:'';