From 3c490f50c7e459ced79a9f6b9cfda4bf56e6a8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A1=E6=A0=8B?= Date: Mon, 29 Nov 2021 16:45:10 +0800 Subject: [PATCH] * adjust for ping. --- api/v1/entries/ping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/entries/ping.php b/api/v1/entries/ping.php index 2f4841ba8b..1b27d54262 100644 --- a/api/v1/entries/ping.php +++ b/api/v1/entries/ping.php @@ -19,6 +19,6 @@ class pingEntry extends entry */ public function get() { - $this->send(200, date('Y-m-d H:i:s')); + $this->send(200, array('token' => session_id(), 'tokenLife' => ini_get('session.gc_maxlifetime'))); } }