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); // 退款成功 计算平台抽成相关退款内容