This commit is contained in:
Tokumeikoi 2020-03-17 21:21:35 +08:00
parent 6fba0b6dab
commit 2235a5e7c5

View File

@ -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)