用户列表修改提交

master
zhengyongxing 5 years ago
parent 0953eb4dd4
commit 6da0ec1607

@ -173,6 +173,7 @@ class MemberController extends ThinkController
foreach ($data as $k => &$v) { foreach ($data as $k => &$v) {
$v['register_type'] = get_registertype($v['register_type']); $v['register_type'] = get_registertype($v['register_type']);
if(!$isadmin){ if(!$isadmin){
$v['account'] = encryptStr($v['account']); $v['account'] = encryptStr($v['account']);
$v['promote_account'] = encryptStr($v['promote_account']); $v['promote_account'] = encryptStr($v['promote_account']);
@ -217,7 +218,9 @@ class MemberController extends ThinkController
)); ));
data2csv($data,"玩家_玩家列表",$field); data2csv($data,"玩家_玩家列表",$field);
} }
foreach ($data as $key=>&$value ) {
($value['promote_account']=='官方渠道')?($value['promote_account']=C('OFFICIEL_CHANNEL')):'';
}
//计算总人数 //计算总人数
if($is_repeat){ if($is_repeat){
$field ="count(*) user_count,IFNULL(sum(ss.pay_amount), 0) recharge_total"; $field ="count(*) user_count,IFNULL(sum(ss.pay_amount), 0) recharge_total";

Loading…
Cancel
Save