From e5891a9d4514ddb38d0aa2f6d24315510c068b1e Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Mon, 2 Dec 2019 19:06:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E7=AE=97=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/DownloadController.class.php | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index 5441ff6c8..20c9b3b22 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -2601,28 +2601,28 @@ class DownloadController extends BaseController { fputcsv($fp, $csvData); $xlsData[] = $csvData; } - $allData['pay_order_number'] = '合计'; - $allData['game_name'] = '--'; - $allData['user_account'] = '--'; - $allData['promote_account'] = '--'; - $allData['pay_amount'] = $total['pay_amount']; - $allData['pay_amount_zhi'] = $total['direct_pay_amount']; - $allData['pay_amount_nei'] = $total['inner_pay_amount']; - $allData['selle_ratio'] = '--'; - $allData['selle_ratio'] = '--'; - $allData['income'] = $total['income']; - $allData['pay_time'] = '--'; - $allData['selle_status'] = '--'; - mb_convert_variables('GBK', 'UTF-8', $allData); - fputcsv($fp, $allData); - $xlsData[] = $allData; - fclose($fp); unset($xlsData); ob_flush(); flush(); - $this->backSuccessExport($id); } + $allData['pay_order_number'] = '合计'; + $allData['game_name'] = '--'; + $allData['user_account'] = '--'; + $allData['promote_account'] = '--'; + $allData['pay_amount'] = $total['pay_amount']; + $allData['pay_amount_zhi'] = $total['direct_pay_amount']; + $allData['pay_amount_nei'] = $total['inner_pay_amount']; + $allData['selle_ratio'] = '--'; + $allData['selle_ratio'] = '--'; + $allData['income'] = $total['income']; + $allData['pay_time'] = '--'; + $allData['selle_status'] = '--'; + mb_convert_variables('GBK', 'UTF-8', $allData); + fputcsv($fp, $allData); + $xlsData[] = $allData; + fclose($fp); + $this->backSuccessExport($id); // $this->exportExcel($xlsName, $xlsCell, $xlsData,$id);