fix trojan server online

This commit is contained in:
Tokumeikoi
2020-06-13 19:02:58 +08:00
parent bf915214dd
commit 3cdfc69b5d
3 changed files with 6 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class ServerService
foreach ($trojans as $k => $v) {
$groupId = json_decode($trojans[$k]['group_id']);
if (in_array($user->group_id, $groupId)) {
$vmesss[$k]['last_check_at'] = Cache::get(CacheKey::get('SERVER_TROJAN_LAST_CHECK_AT', $trojans[$k]['id']));
$trojans[$k]['last_check_at'] = Cache::get(CacheKey::get('SERVER_TROJAN_LAST_CHECK_AT', $trojans[$k]['id']));
array_push($trojan, $trojans[$k]);
}