From cbe37d659b1023e60238a6c9d4ef73cb546e7799 Mon Sep 17 00:00:00 2001 From: Nick Zeng Date: Wed, 4 Mar 2026 13:34:39 +0800 Subject: [PATCH] update shopee refund parse --- backend/app/Platform/Shopee/EntityParse/Refund.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/backend/app/Platform/Shopee/EntityParse/Refund.php b/backend/app/Platform/Shopee/EntityParse/Refund.php index ddc2571..46536e3 100644 --- a/backend/app/Platform/Shopee/EntityParse/Refund.php +++ b/backend/app/Platform/Shopee/EntityParse/Refund.php @@ -354,4 +354,14 @@ class Refund extends EntityParse return RefundType::RETURN_BEFORE_SHIPPING->value; } + + + /** + * Shopee 的退款包含子项,因此 确定有父退款 + */ + public function hasParentRefund(): bool + { + return true; + } + }