mirror of
https://github.com/v2board/v2board.git
synced 2025-06-14 13:47:49 +08:00
update server stat
This commit is contained in:
@ -63,7 +63,7 @@ class V2boardCache extends Command
|
||||
'd' => $serverLog->d,
|
||||
'online' => $serverLog->online
|
||||
];
|
||||
Cache::put(CacheKey::get('SERVER_STAT', $serverLog->server_id), json_encode($data), 3600);
|
||||
dd(Cache::put(CacheKey::get('SERVER_STAT', $serverLog->server_id), json_encode($data), 3600));
|
||||
ServerStat::create($data);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user