From e2a96a9261a6275ac8e2d99a2f41bdbab6731541 Mon Sep 17 00:00:00 2001 From: ljl Date: Fri, 28 Apr 2023 13:53:57 +0800 Subject: [PATCH] yh --- app/Service/PaymentService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index 305e678..0cf5a6e 100644 --- a/app/Service/PaymentService.php +++ b/app/Service/PaymentService.php @@ -128,8 +128,8 @@ class PaymentService extends AbstractService 'out_order_no' => $order->out_order_no, 'currency' => $order->currency, 'total_amount' => $order->amount, - 'order_time' => date('YmdHis', strtotime($order->created_at->timestamp)), - 'pay_time' => date('YmdHis', strtotime($order->created_at->timestamp)), + 'order_time' => date('YmdHis', $order->created_at->timestamp), + 'pay_time' => date('YmdHis', $order->payed_at->timestamp), 'exchange_rate' => $order->exchange_rate, 'cny_amount' => $order->cny_amount, ];