6
0
Fork 0
base
panliang 2022-08-10 15:38:23 +08:00
parent 09699371b0
commit a1b732eeb5
1 changed files with 0 additions and 4 deletions

View File

@ -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) {