|
|
|
@ -1004,7 +1004,7 @@ class ExportController extends Controller
|
|
|
|
|
array('pay_amount', "充值平台币"),
|
|
|
|
|
array('pay_way', "充值方式", 'get_pay_way', '*'),
|
|
|
|
|
array('pay_ip', "充值ip"),
|
|
|
|
|
array('create_time', "充值时间", 'time_format'),
|
|
|
|
|
array('create_time', "充值时间"),
|
|
|
|
|
array('pay_status', L('Order_status'), 'get_info_status', '*', '9'),
|
|
|
|
|
array('', "共计充值{$total}"),
|
|
|
|
|
);
|
|
|
|
@ -1012,6 +1012,10 @@ class ExportController extends Controller
|
|
|
|
|
->where($map)
|
|
|
|
|
->order('id DESC')
|
|
|
|
|
->select();
|
|
|
|
|
foreach ($xlsData as $key => $value) {
|
|
|
|
|
$xlsData[$key]['create_time'] = date('Y-m-d H:i:s', $value['create_time']);
|
|
|
|
|
}
|
|
|
|
|
// dd($xlsData);
|
|
|
|
|
break;
|
|
|
|
|
case 9:
|
|
|
|
|
$xlsName = $xlsName?$xlsName:"平台币发放";
|
|
|
|
@ -1542,6 +1546,7 @@ class ExportController extends Controller
|
|
|
|
|
$xlsName = $xlsCell = $xlsData = [];
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//数据处理
|
|
|
|
|
foreach ($xlsData as $key => $val) {
|
|
|
|
|
foreach ($xlsCell as $k => $v) {
|
|
|
|
|