From b00e5a97ea49c334a6c89bf28983546fba61a0a6 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Thu, 9 Oct 2025 18:34:57 +0800 Subject: [PATCH] no message --- src/Controllers/User/PlanController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controllers/User/PlanController.php b/src/Controllers/User/PlanController.php index 303cdcd08..f12d5baf4 100755 --- a/src/Controllers/User/PlanController.php +++ b/src/Controllers/User/PlanController.php @@ -31,7 +31,7 @@ final class PlanController extends BaseController WHEN status = 'activated' THEN 2 WHEN status = 'pending' THEN 3 WHEN status = 'expired' THEN 4 - When status = 'cancel' THEN 5 + When status = 'cancelled' THEN 5 ELSE 6 END") ->orderBy('id', 'desc') // 按 id 降序排序 @@ -54,7 +54,7 @@ final class PlanController extends BaseController $oUserPlanRow->status = "提前续订"; } else if ($oUserPlanRow->status == "expired") { $oUserPlanRow->status = "已过期"; - } else if ($oUserPlanRow->status == "cancel") { + } else if ($oUserPlanRow->status == "cancelled") { $oUserPlanRow->status = "取消"; } }