From a1b732eeb5ddc1560dc0d62504379a7e99790d81 Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Wed, 10 Aug 2022 15:38:23 +0800 Subject: [PATCH] growth --- app/Services/DistributeService.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Services/DistributeService.php b/app/Services/DistributeService.php index f9e8be7a..2dcf9dab 100644 --- a/app/Services/DistributeService.php +++ b/app/Services/DistributeService.php @@ -151,10 +151,6 @@ class DistributeService if (!$order->isCompleted()) { return false; } - // 已经生成过返利记录 - if ($order->profits()->exists()) { - return false; - } // 订单超过售后期限 $value = app_settings('app.sale_after_expire_days'); if ($value && $order->completed_at) {