|
|
|
@ -154,6 +154,7 @@ class ExportController extends Controller
|
|
|
|
|
->select();
|
|
|
|
|
|
|
|
|
|
foreach($xlsData as $value) {
|
|
|
|
|
($value['promote_account']=='官方渠道'||$value['promote_account']=='自然注册')?($value['promote_account']=C('OFFICIEL_CHANNEL')):'';
|
|
|
|
|
$value['create_time'] = date("Y-m-d H:i:s",$value['create_time']);
|
|
|
|
|
$value['play_time'] = date("Y-m-d H:i:s",$value['play_time']);
|
|
|
|
|
mb_convert_variables('GBK', 'UTF-8', $value);
|
|
|
|
@ -1221,7 +1222,7 @@ class ExportController extends Controller
|
|
|
|
|
}
|
|
|
|
|
checkEncryptionAuth($value['user_account'],'spend_lists');
|
|
|
|
|
// $value['user_account'] = encryption($value['user_account']);
|
|
|
|
|
|
|
|
|
|
($value['promote_account']=='官方渠道'||$value['promote_account']=='自然注册')?($value['promote_account']=C('OFFICIEL_CHANNEL')):'';
|
|
|
|
|
$value['extend'] = $value['extend'].'`';
|
|
|
|
|
$value['pay_way'] = get_pay_way($value['pay_way']);
|
|
|
|
|
$value['pay_status'] = get_info_status($value['pay_status'],9);
|
|
|
|
@ -1346,6 +1347,8 @@ class ExportController extends Controller
|
|
|
|
|
|
|
|
|
|
checkEncryptionAuth($xlsData[$key]['user_account'],'deposit_lists');
|
|
|
|
|
|
|
|
|
|
($xlsData[$key]['promote_account']=='官方渠道'||$xlsData[$key]['promote_account']=='自然注册')?($xlsData[$key]['promote_account']=C('OFFICIEL_CHANNEL')):'';
|
|
|
|
|
|
|
|
|
|
$xlsData[$key]['create_time'] = date('Y-m-d H:i:s', $value['create_time']);
|
|
|
|
|
if ($value['pay_status'] == 1){
|
|
|
|
|
$xlsData[$key]['payed_time'] = date('Y-m-d H:i:s', $value['payed_time']);
|
|
|
|
@ -2028,6 +2031,7 @@ class ExportController extends Controller
|
|
|
|
|
$xlsData = M('pay_info', 'tab_')->where($map)->order('id DESC')->select();
|
|
|
|
|
foreach($xlsData as $k => $v) {
|
|
|
|
|
$xlsData[$k]['create_time'] = date('Y-m-d H:i:s',$v['create_time']);
|
|
|
|
|
($xlsData[$k]['promote_account']=='官方渠道'||$xlsData[$k]['promote_account']=='自然注册')?($xlsData[$k]['promote_account']=C('OFFICIEL_CHANNEL')):'';
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
$startDate = empty($params['timestart']) ? date('Y-m-d', strtotime('-6 day', time())) : $params['timestart'];
|
|
|
|
@ -2280,9 +2284,10 @@ class ExportController extends Controller
|
|
|
|
|
$re_data['pay_time'] = set_show_time($order_detail['create_time']);
|
|
|
|
|
$re_data['payed_time'] = set_show_time($order_detail['payed_time']);
|
|
|
|
|
}
|
|
|
|
|
$re_data['extend'] = !empty($order_detail['extend']) ? $order_detail['extend'] : '-';
|
|
|
|
|
($order_detail['promote_account']=='官方渠道'||$order_detail['promote_account']=='自然注册')?($re_data['promote_account']="江息网络"):($re_data['promote_account'] = $order_detail['promote_account']);
|
|
|
|
|
$re_data['extend'] = !empty($order_detail['extend']) ? $order_detail['extend'] : '-';
|
|
|
|
|
$re_data['user_account'] = $order_detail['user_account'];
|
|
|
|
|
$re_data['promote_account'] = $order_detail['promote_account'];
|
|
|
|
|
// $re_data['promote_account'] = $order_detail['promote_account'];
|
|
|
|
|
$re_data['game_name'] = !empty($order_detail['game_name']) ? $order_detail['game_name'] : '-';
|
|
|
|
|
$re_data['pay_amount'] = $order_detail['pay_amount'];
|
|
|
|
|
$re_data['pay_way'] = get_pay_way($order_detail['pay_way']);
|
|
|
|
@ -4158,6 +4163,9 @@ class ExportController extends Controller
|
|
|
|
|
$data = $data['data'];
|
|
|
|
|
foreach ($data as $key => $value) {
|
|
|
|
|
checkEncryptionAuth($data[$key]['user_account'],'BindRechargeRecordExport');
|
|
|
|
|
|
|
|
|
|
($data[$key]['promote_account']=='官方渠道')?($data[$key]['promote_account']=C('OFFICIEL_CHANNEL')):'';
|
|
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = get_pay_way($value['pay_way']);
|
|
|
|
|
$data[$key]['create_time'] = date('Y-m-d H:i:s',$value['create_time']);
|
|
|
|
|
if ($value['pay_status'] == 1) {
|
|
|
|
@ -7241,10 +7249,10 @@ class ExportController extends Controller
|
|
|
|
|
$value['register_type'] = get_registertype($value['register_type']);
|
|
|
|
|
$value['top_promote'] = $value['parent_name']?$value['promote_account'].'['.$value['parent_name'].']':$value['promote_account'];
|
|
|
|
|
if (!$value['promote_account']) {
|
|
|
|
|
$value['top_promote'] = "官方渠道";
|
|
|
|
|
$value['top_promote'] = C('OFFICIEL_CHANNEL');
|
|
|
|
|
}
|
|
|
|
|
if($value['parent_name'] == "官方渠道") {
|
|
|
|
|
$value['top_promote'] = $value['promote_account'];
|
|
|
|
|
$value['top_promote'] = C('OFFICIEL_CHANNEL');
|
|
|
|
|
}
|
|
|
|
|
unset($value['promote_account']);
|
|
|
|
|
unset($value['parent_name']);
|
|
|
|
|