6
0
Fork 0
release
李静 2022-01-07 11:55:26 +08:00
parent c6c5bc9b03
commit 7fecef3689
1 changed files with 6 additions and 3 deletions

View File

@ -459,10 +459,13 @@ class AfterSaleService
'remarks' => $remarks,
]);
// 订单未结算
// 如果订单已结算则不处理
if ($order->is_settle) {
return;
}
// 非赠品售后单,且售后单类型是换货、退款、退款退货
if (! $order->is_settle
&& ! $afterSaleProduct->isGift()
if (! $afterSaleProduct->isGift()
&& in_array($afterSale->type, [
AfterSale::TYPE_REFUND_AND_RETURN,
AfterSale::TYPE_REFUND,