update trojan server

This commit is contained in:
Tokumeikoi 2020-06-11 21:50:54 +08:00
parent a1ae4caee3
commit f24b38a4ba

View File

@ -22,7 +22,7 @@ class TrojanController extends Controller
$server[$i]['tags'] = json_decode($server[$i]['tags']);
}
$server[$i]['group_id'] = json_decode($server[$i]['group_id']);
$server[$i]['online'] = Cache::get(CacheKey::get('SERVER_ONLINE_USER', $server[$i]['id']));
$server[$i]['online'] = Cache::get(CacheKey::get('SERVER_TROJAN_ONLINE_USER', $server[$i]['id']));
}
return response([
'data' => $server