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", ];