This commit is contained in:
root 2019-12-23 15:28:38 +08:00
parent d4a3c174d8
commit 63dd8b9292

View File

@ -55,7 +55,7 @@ class ServerController extends Controller {
} }
for ($i = 0; $i < count($server); $i++) { for ($i = 0; $i < count($server); $i++) {
$server[$i]['link'] = Helper::buildVmessLink($server[$i], $user); $server[$i]['link'] = Helper::buildVmessLink($server[$i], $user);
$server[$i]['last_check_at'] = Redis::get('server_last_check_at' . $server[$i]['id']); $server[$i]['last_check_at'] = Redis::get('server_last_check_at_' . $server[$i]['id']);
} }
return response([ return response([
'data' => $server 'data' => $server