mirror of
https://github.com/v2board/v2board.git
synced 2025-06-13 13:17:52 +08:00
update
This commit is contained in:
@ -24,7 +24,9 @@ class AppController extends Controller
|
||||
abort(500, '订阅计划不存在');
|
||||
}
|
||||
if ($user->expired_at > time()) {
|
||||
$servers = Server::where('show', 1)->get();
|
||||
$servers = Server::where('show', 1)
|
||||
->orderBy('name')
|
||||
->get();
|
||||
foreach ($servers as $item) {
|
||||
$groupId = json_decode($item['group_id']);
|
||||
if (in_array($user->group_id, $groupId)) {
|
||||
|
Reference in New Issue
Block a user