mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
fix
This commit is contained in:
parent
6fba0b6dab
commit
2235a5e7c5
@ -57,7 +57,7 @@ class AppController extends Controller
|
||||
abort(500, '参数错误');
|
||||
}
|
||||
$user = $request->user;
|
||||
if ($user->expired_at < time() || $user->expired_at !== NULL) {
|
||||
if ($user->expired_at < time() && $user->expired_at !== NULL) {
|
||||
abort(500, '订阅计划已过期');
|
||||
}
|
||||
$server = Server::where('show', 1)
|
||||
|
Loading…
Reference in New Issue
Block a user