no message

This commit is contained in:
hellcat 2025-10-09 19:16:40 +08:00
parent b00e5a97ea
commit 811f41ef5e
2 changed files with 8 additions and 5 deletions

View File

@ -55,7 +55,7 @@ final class PlanController extends BaseController
} else if ($oUserPlanRow->status == "expired") {
$oUserPlanRow->status = "已过期";
} else if ($oUserPlanRow->status == "cancelled") {
$oUserPlanRow->status = "取消";
$oUserPlanRow->status = "取消支付";
}
}

View File

@ -1220,10 +1220,13 @@ final class Cron
//// activated转移到expired
// $oPlanActivated = PlanActivated::where("user_id", $oPlanExpireQueue->user_id)->first(); // 必然有没有自然报错user唯一
$oPlanActivated = Order::where("user_id", $oPlanExpireQueue->user_id)->where("status", "activated") ->first();
$oPlanActivated->status = "expired";
$oPlanActivated->_save();
// self::plan_activatedToExpired($oPlanActivated);
$oPlanActivated = Order::where("user_id", $oPlanExpireQueue->user_id)->where("status", "activated")->first();
if ($oPlanActivated) {
$oPlanActivated->status = "expired";
$oPlanActivated->_save();
// self::plan_activatedToExpired($oPlanActivated);
}
//// end
//// 通知