From 2a39a207f216a301ee148f797f4aa0f67b4e572f Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Wed, 3 Jan 2024 16:44:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E9=80=80=E6=AC=BE?= =?UTF-8?q?=E5=90=8E=20-=20=E8=AE=A2=E5=8D=95=E7=9B=B8=E5=85=B3=E9=80=80?= =?UTF-8?q?=E6=AC=BE=E5=A4=84=E7=90=86=E9=94=99=E8=AF=AF,=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E6=9C=AA=E4=BD=BF=E7=94=A8=E8=B1=86=E8=B1=86=E7=A7=AF?= =?UTF-8?q?=E5=88=86=E6=8A=B5=E6=89=A3=E7=9A=84=E8=AE=A2=E5=8D=95=E4=B8=8D?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E9=80=80=E6=AC=BE=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/listener/platformCommission/OrderAgreeRefundEvent.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/listener/platformCommission/OrderAgreeRefundEvent.php b/app/listener/platformCommission/OrderAgreeRefundEvent.php index f88bba3..2f54c1e 100644 --- a/app/listener/platformCommission/OrderAgreeRefundEvent.php +++ b/app/listener/platformCommission/OrderAgreeRefundEvent.php @@ -40,7 +40,6 @@ class OrderAgreeRefundEvent{ ->toArray(); foreach($refundProductList as $refundProductInfo){ // 判断:当前商品是否存在豆豆积分抵扣情况 - if((float)$refundProductInfo['product']['use_legumes_integral'] <= 0) continue; if((int)$refundProductInfo['refund_num'] <= 0) continue; $refundRate = (float)sprintf("%.2f",(int)$refundProductInfo['refund_num'] / (int)$refundProductInfo['product']['product_num'] * 100); // 退款成功 计算平台抽成相关退款内容