|
|
|
@ -214,13 +214,13 @@ class ExportController extends Controller
|
|
|
|
|
// array('lock_status', L('Account_status'), 'get_info_status', '*', '4'),
|
|
|
|
|
// );
|
|
|
|
|
$field = 'a.id,a.account,a.id as get_registertype,a.promote_account,a.balance,IFNULL(sum(ss.pay_amount),0) as recharge_total,
|
|
|
|
|
a.gold_coin,a.alipay,a.id as small_count,a.id as vip_level,a.register_type,a.register_time
|
|
|
|
|
a.gold_coin,a.alipay,a.id as small_count,a.id as vip_level,a.register_type
|
|
|
|
|
,a.register_ip,a.login_time,a.device_number,a.lock_status,check_status,a.age_status,a.register_way,
|
|
|
|
|
a.register_type';
|
|
|
|
|
$xlsCell = [L('Account_number_ID'),"第三方来源","绑定账号",L('Subordinate_channel'), "账户平台币"
|
|
|
|
|
, "累计充值", "金币", "绑定支付宝", "小号", "VIP等级", L('Registration_time'),
|
|
|
|
|
L('Register_iP'), "最后登录时间","设备号", L('Account_status'),"拉黑状态"];
|
|
|
|
|
$map['tab_user.register_type']= ['in','3,4,5,6'];
|
|
|
|
|
// $map['tab_user.register_type']= ['in','3,4,5,6'];
|
|
|
|
|
}else{
|
|
|
|
|
// $xlsCell = array(
|
|
|
|
|
// array('id', L('Account_number_ID')),
|
|
|
|
@ -489,7 +489,10 @@ class ExportController extends Controller
|
|
|
|
|
if($_REQUEST['type']==2){
|
|
|
|
|
$xlsData[$k]['register_type'] = get_registertype($v['register_type']);
|
|
|
|
|
}
|
|
|
|
|
$xlsData[$k]['register_time'] = date('Y-m-d H:i:s',$xlsData[$k]['register_time']);
|
|
|
|
|
if ($_REQUEST['type']==1) {
|
|
|
|
|
$xlsData[$k]['register_time'] = date('Y-m-d H:i:s',$xlsData[$k]['register_time']);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$xlsData[$k]['login_time'] = date('Y-m-d H:i:s',$xlsData[$k]['login_time']);
|
|
|
|
|
$xlsData[$k]['lock_status'] = $xlsData[$k]['lock_status']==1?'正常':'锁定';
|
|
|
|
|
$xlsData[$k]['check_status'] = $xlsData[$k]['check_status']==1?'正常':'已拉黑';
|
|
|
|
|