mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
remove
This commit is contained in:
parent
ca2a744b10
commit
378c96d4c7
@ -78,10 +78,6 @@ class UserController extends Controller
|
||||
abort(500, '订阅计划不存在');
|
||||
}
|
||||
$params['group_id'] = $plan->group_id;
|
||||
// plan type is onetime, set expired time 0
|
||||
if ($plan->type === 1) {
|
||||
$user->expired_at = 0;
|
||||
}
|
||||
}
|
||||
if (!$user->update($params)) {
|
||||
abort(500, '保存失败');
|
||||
|
Loading…
Reference in New Issue
Block a user