diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index 0cf5a6e..34c3530 100644 --- a/app/Service/PaymentService.php +++ b/app/Service/PaymentService.php @@ -129,7 +129,7 @@ class PaymentService extends AbstractService 'currency' => $order->currency, 'total_amount' => $order->amount, 'order_time' => date('YmdHis', $order->created_at->timestamp), - 'pay_time' => date('YmdHis', $order->payed_at->timestamp), + 'pay_time' => date('YmdHis', strtotime($order->payed_at)), 'exchange_rate' => $order->exchange_rate, 'cny_amount' => $order->cny_amount, ];