结算明细

master
sunke 5 years ago
parent 876268c3b7
commit e5891a9d45

@ -2601,6 +2601,10 @@ class DownloadController extends BaseController {
fputcsv($fp, $csvData); fputcsv($fp, $csvData);
$xlsData[] = $csvData; $xlsData[] = $csvData;
} }
unset($xlsData);
ob_flush();
flush();
}
$allData['pay_order_number'] = '合计'; $allData['pay_order_number'] = '合计';
$allData['game_name'] = '--'; $allData['game_name'] = '--';
$allData['user_account'] = '--'; $allData['user_account'] = '--';
@ -2617,12 +2621,8 @@ class DownloadController extends BaseController {
fputcsv($fp, $allData); fputcsv($fp, $allData);
$xlsData[] = $allData; $xlsData[] = $allData;
fclose($fp); fclose($fp);
unset($xlsData);
ob_flush();
flush();
$this->backSuccessExport($id);
}
$this->backSuccessExport($id);
// $this->exportExcel($xlsName, $xlsCell, $xlsData,$id); // $this->exportExcel($xlsName, $xlsCell, $xlsData,$id);

Loading…
Cancel
Save