mirror of
https://github.com/v2board/v2board.git
synced 2025-06-13 13:17:52 +08:00
update order change process
This commit is contained in:
@ -70,6 +70,9 @@ class CheckOrder extends Command
|
||||
{
|
||||
$plan = Plan::find($order->plan_id);
|
||||
// change plan process
|
||||
if ($order->type === 3) {
|
||||
$user->expired_at = time();
|
||||
}
|
||||
$user->transfer_enable = $plan->transfer_enable * 1073741824;
|
||||
$user->enable = 1;
|
||||
$user->u = 0;
|
||||
|
Reference in New Issue
Block a user