no message
This commit is contained in:
parent
b00e5a97ea
commit
811f41ef5e
@ -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 = "取消支付";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
//// 通知
|
||||
|
||||
Loading…
Reference in New Issue
Block a user