From f7f862fd83901ccf724fc202894c323a4f4dc5f0 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Fri, 19 Jun 2020 11:38:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=98=E6=96=B9=E6=B8=A0=E9=81=93=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=B1=9F=E6=81=AF=E7=BD=91=E7=BB=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/MemberController.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index c20f99081..a1d519072 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -161,10 +161,10 @@ class MemberController extends ThinkController $data = $data->select(); - foreach ($data as $key=>&$value ) { - ($value['promote_account']=='官方渠道'||$value['promote_account']=='自然注册')?($value['promote_account']=C('OFFICIEL_CHANNEL')):''; + foreach ($data as $key=>$value ) { + ($data[$key]['promote_account']=='官方渠道'||$data[$key]['promote_account']=='自然注册')?($data[$key]['promote_account']=C('OFFICIEL_CHANNEL')):''; } - +// dump($data);die(); if(isset($_REQUEST['export'])){ $isadmin = is_administrator(); //获取等级 @@ -223,9 +223,9 @@ class MemberController extends ThinkController )); data2csv($data,"玩家_玩家列表",$field); } - foreach ($data as $key=>&$value ) { - ($value['promote_account']=='官方渠道')?($value['promote_account']=C('OFFICIEL_CHANNEL')):''; - } +// foreach ($data as $key=>&$value ) { +// ($value['promote_account']=='官方渠道')?($value['promote_account']=C('OFFICIEL_CHANNEL')):''; +// } //计算总人数 if($is_repeat){ $field ="count(*) user_count,IFNULL(sum(ss.pay_amount), 0) recharge_total";