From ff67974413f267d4f46359d9b9fc2bf0eefa2027 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 7 Jan 2020 14:26:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96=E6=8E=A8?= =?UTF-8?q?=E5=B9=BF=E5=91=98=E7=BB=9F=E8=AE=A1bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/PlatformController.class.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Application/Admin/Controller/PlatformController.class.php b/Application/Admin/Controller/PlatformController.class.php index aa14a7154..2c93d45de 100644 --- a/Application/Admin/Controller/PlatformController.class.php +++ b/Application/Admin/Controller/PlatformController.class.php @@ -446,7 +446,6 @@ class PlatformController extends ThinkController } else { $map['tp1.chain'] = '/'; } - //为数据权限添加 setPowerPromoteIds($map, 'u.promote_id'); @@ -462,7 +461,6 @@ class PlatformController extends ThinkController ->group('tp1.id') ->order('count desc, register_time') ->select(); - // echo $data;die(); //今日/本周/本月不变 $tmap = $map; if(isset($tmap['register_time'])){ @@ -493,8 +491,6 @@ class PlatformController extends ThinkController ->group('tp1.id') ->order('register_time') ->select(); - // dd($tdata);die(); - $tmdata = []; foreach($data as $k=>$v){ $v['today'] = 0; @@ -521,7 +517,7 @@ class PlatformController extends ThinkController unset($map['tp1.id']); unset($map['tp1.chain']); - unset($tmap['tp1.chain']); + unset($tmap['tp1.id']); unset($tmap['tp1.chain']); $map['u.promote_id'] = 0; $tmap['u.promote_id'] = 0;