From 6da0ec1607b8f433698d6df396f3619ab29e969f Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 9 Jun 2020 10:31:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/MemberController.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index 73a47deae..872a13515 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -173,6 +173,7 @@ class MemberController extends ThinkController foreach ($data as $k => &$v) { $v['register_type'] = get_registertype($v['register_type']); + if(!$isadmin){ $v['account'] = encryptStr($v['account']); $v['promote_account'] = encryptStr($v['promote_account']); @@ -217,7 +218,9 @@ class MemberController extends ThinkController )); data2csv($data,"玩家_玩家列表",$field); } - + 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";