From 15aff2849e0511aa35d3ebd169d683689ac597f5 Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Fri, 6 Dec 2024 18:46:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E9=9F=B3=E5=8F=96=E6=B6=88/=E9=80=80?= =?UTF-8?q?=E6=AC=BE=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/command/DyAfterSaleCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/app/command/DyAfterSaleCommand.php b/service/app/command/DyAfterSaleCommand.php index e32735a2..fdd6d4fb 100644 --- a/service/app/command/DyAfterSaleCommand.php +++ b/service/app/command/DyAfterSaleCommand.php @@ -54,7 +54,7 @@ class DyAfterSaleCommand extends Command 'audit_order_id' => $saleAfterInfo['audit_order_id'], 'after_sale_type' => $saleAfterInfo['after_sale_type'], 'after_sale_type_agg_name' => $saleAfterInfo['after_sale_type_agg_name'], - 'refund_amount' => $saleAfterInfo['refund_amount'], + 'refund_amount' => bcdiv($saleAfterInfo['refund_amount'] ?: $orderInfo['pay_amount'], 100, 2), 'refund_type' => $saleAfterInfo['refund_type'], 'after_sale_reason' => implode(',', $saleAfterInfo['after_sale_reason']['reason_list']), 'after_sale_apply_time_ms' => $saleAfterInfo['after_sale_apply_time_ms'], // 申请时间