no message
This commit is contained in:
parent
21292655e5
commit
69ce392d0e
@ -31,7 +31,8 @@ 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
|
||||||
ELSE 5
|
When status = 'cancel' THEN 5
|
||||||
|
ELSE 6
|
||||||
END")
|
END")
|
||||||
->orderBy('id', 'desc') // 按 id 降序排序
|
->orderBy('id', 'desc') // 按 id 降序排序
|
||||||
->paginate(20, ['*'], 'page', $iPage);
|
->paginate(20, ['*'], 'page', $iPage);
|
||||||
@ -53,6 +54,8 @@ 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") {
|
||||||
|
$oUserPlanRow->status = "取消";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user