update server stat and app default config

This commit is contained in:
Tokumeikoi 2020-06-05 00:28:14 +08:00
parent d6b22011ba
commit 0fc9b1d867

View File

@ -27,7 +27,6 @@ class ServerController extends Controller
} }
$server[$i]['group_id'] = json_decode($server[$i]['group_id']); $server[$i]['group_id'] = json_decode($server[$i]['group_id']);
$serverStat = Cache::get(CacheKey::get('SERVER_STAT', $server[$i]['id'])); $serverStat = Cache::get(CacheKey::get('SERVER_STAT', $server[$i]['id']));
dd($serverStat);
if ($serverStat) { if ($serverStat) {
$serverStat = json_decode($serverStat, true); $serverStat = json_decode($serverStat, true);
$server[$i]['u'] = $serverStat['u']; $server[$i]['u'] = $serverStat['u'];