update server stat

This commit is contained in:
Tokumeikoi
2020-06-05 00:52:17 +08:00
parent 0fc9b1d867
commit 397436761f
4 changed files with 4 additions and 4 deletions

View File

@ -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);
}
}