From c1939fd9bbfcf1babc5078ea756d395f4e041c88 Mon Sep 17 00:00:00 2001 From: Nick Zeng Date: Tue, 10 Feb 2026 13:55:30 +0800 Subject: [PATCH] update shopee return status --- .../Platform/Shopee/Constants/ReturnStatus.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/backend/app/Platform/Shopee/Constants/ReturnStatus.php b/backend/app/Platform/Shopee/Constants/ReturnStatus.php index 05b204f..642d10e 100644 --- a/backend/app/Platform/Shopee/Constants/ReturnStatus.php +++ b/backend/app/Platform/Shopee/Constants/ReturnStatus.php @@ -9,28 +9,28 @@ use Hyperf\Constants\Annotation\Message; use Hyperf\Constants\EnumConstantsTrait; #[Constants] -enum ReturnStatus: int +enum ReturnStatus: string { use EnumConstantsTrait; #[Message("Return requested")] - case REQUESTED = 1; + case REQUESTED = 'REQUESTED'; #[Message("Return accepted")] - case ACCEPTED = 2; + case ACCEPTED = 'ACCEPTED'; #[Message("Return cancelled")] - case CANCELLED = 3; + case CANCELLED = 'CANCELLED'; #[Message("Return judging")] - case JUDGING = 4; + case JUDGING = 'JUDGING'; #[Message("Return closed")] - case CLOSED = 5; + case CLOSED = 'CLOSED'; #[Message("Return processing")] - case PROCESSING = 6; + case PROCESSING = 'PROCESSING'; #[Message("Seller dispute")] - case SELLER_DISPUTE = 7; + case SELLER_DISPUTE = 'SELLER_DISPUTE'; }