From adb011ca5addf57b8bc6661e4846f29418790a73 Mon Sep 17 00:00:00 2001 From: tping Date: Fri, 30 Oct 2020 16:37:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B0=E8=B4=A6=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/DownloadController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index c1ed7f658..4e1ec8ab3 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -4508,7 +4508,7 @@ public function iosDetailExcelInfo($id,$map) { // $value1['user_account'] = substr_replace($value1['user_account'],'************',3,12); $value1['user_account'] = $this->encryption($value1['user_account']); $value1['pay_order_number'] = $this->encryption($value1['pay_order_number']); - $value1['pay_time'] = ($value1['pay_status'] == 1) ? date('Y-m-d H:i:s', $value1['pay_time']) : '--'; + $value1['payed_time'] = ($value1['pay_status'] == 1) ? date('Y-m-d H:i:s', $value1['payed_time']) : '--'; $value1['pay_status'] = isset(self::$payStatus[$value1['pay_status']]) ? self::$payStatus[$value1['pay_status']] : "未知状态"; $value1['sdk_version'] = getSDKTypeName($value1['sdk_version']); switch ($value1['level']) { @@ -4547,8 +4547,8 @@ public function iosDetailExcelInfo($id,$map) { $csvData["p_p_proinfo"] = $value1["p_p_proinfo"]; $csvData["p_proinfo"] = $value1["p_proinfo"]; $csvData["proinfo"] = $value1["proinfo"]; - $csvData["spend_time"] = $value1["spend_time"]; - $csvData["payed_time"] = $value1["pay_time"]; + $csvData["spend_time"] = date('Y-m-d H:i:s', $value1["spend_time"]); + $csvData["payed_time"] = $value1["payed_time"]; mb_convert_variables('GBK', 'UTF-8', $csvData); fputcsv($fp, $csvData); $xlsData[] = $csvData;