|
|
|
@ -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";
|
|
|
|
|