no message
This commit is contained in:
parent
69ce392d0e
commit
b00e5a97ea
@ -31,7 +31,7 @@ final class PlanController extends BaseController
|
|||||||
WHEN status = 'activated' THEN 2
|
WHEN status = 'activated' THEN 2
|
||||||
WHEN status = 'pending' THEN 3
|
WHEN status = 'pending' THEN 3
|
||||||
WHEN status = 'expired' THEN 4
|
WHEN status = 'expired' THEN 4
|
||||||
When status = 'cancel' THEN 5
|
When status = 'cancelled' THEN 5
|
||||||
ELSE 6
|
ELSE 6
|
||||||
END")
|
END")
|
||||||
->orderBy('id', 'desc') // 按 id 降序排序
|
->orderBy('id', 'desc') // 按 id 降序排序
|
||||||
@ -54,7 +54,7 @@ final class PlanController extends BaseController
|
|||||||
$oUserPlanRow->status = "提前续订";
|
$oUserPlanRow->status = "提前续订";
|
||||||
} else if ($oUserPlanRow->status == "expired") {
|
} else if ($oUserPlanRow->status == "expired") {
|
||||||
$oUserPlanRow->status = "已过期";
|
$oUserPlanRow->status = "已过期";
|
||||||
} else if ($oUserPlanRow->status == "cancel") {
|
} else if ($oUserPlanRow->status == "cancelled") {
|
||||||
$oUserPlanRow->status = "取消";
|
$oUserPlanRow->status = "取消";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user