mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: server
This commit is contained in:
parent
ba2e0a6b66
commit
1f4778eaff
@ -82,9 +82,9 @@ class ServerService
|
||||
$shadowsockss[$k]['link'] = URLSchemes::buildShadowsocks($shadowsockss[$k], $user);
|
||||
if (in_array($user->group_id, $groupId)) {
|
||||
if ($shadowsockss[$k]['parent_id']) {
|
||||
$shadowsockss[$k]['last_check_at'] = Cache::get(CacheKey::get('SERVER_TROJAN_LAST_CHECK_AT', $shadowsockss[$k]['parent_id']));
|
||||
$shadowsockss[$k]['last_check_at'] = Cache::get(CacheKey::get('SERVER_SHADOWSOCKS_LAST_CHECK_AT', $shadowsockss[$k]['parent_id']));
|
||||
} else {
|
||||
$shadowsockss[$k]['last_check_at'] = Cache::get(CacheKey::get('SERVER_TROJAN_LAST_CHECK_AT', $shadowsockss[$k]['id']));
|
||||
$shadowsockss[$k]['last_check_at'] = Cache::get(CacheKey::get('SERVER_SHADOWSOCKS_LAST_CHECK_AT', $shadowsockss[$k]['id']));
|
||||
}
|
||||
array_push($shadowsocks, $shadowsockss[$k]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user