From 09bf9f4b611dc632b52d152149f82e356c024c52 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Tue, 16 May 2023 13:14:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=96=E6=B6=88=E9=97=AE?= =?UTF-8?q?=E8=AF=8A=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/InquiryService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/InquiryService.php b/app/Services/InquiryService.php index 203ef75..91ea031 100644 --- a/app/Services/InquiryService.php +++ b/app/Services/InquiryService.php @@ -1129,8 +1129,8 @@ class InquiryService extends BaseService $options['out_refund_no'] = (string)$inquiry_refund_no; $options['reason'] = $refund_reason; $options['amount'] = [ - 'refund' => (int)($order_inquiry['payment_amount_total'] * 100), - 'total' => (int)($order_inquiry['payment_amount_total'] * 100), + 'refund' => (int)round($order_inquiry['payment_amount_total'] * 100), + 'total' => (int)round($order_inquiry['payment_amount_total'] * 100), 'currency' => "CNY", ];