From ecc0834931764205a697552d9a0b18619141228d Mon Sep 17 00:00:00 2001 From: Wenwen Zhang Date: Fri, 22 Sep 2023 13:17:54 +0800 Subject: [PATCH 1/2] Update index.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 提升登录体验,避免用户等待看到页面刷新 --- admin/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/index.php b/admin/index.php index 2e0e97582..0b5d6b73e 100755 --- a/admin/index.php +++ b/admin/index.php @@ -88,7 +88,7 @@ icon: "times" // 定义消息图标 }).show(); '; - header("refresh:2;"); + //header("refresh:2;"); } // 登录日志 @@ -127,8 +127,8 @@

登录

- - + + From 515b3621ffad8510a210a95d31ac4bd16fb7803b Mon Sep 17 00:00:00 2001 From: Wenwen Zhang Date: Fri, 22 Sep 2023 22:35:09 +0800 Subject: [PATCH 2/2] Update index.php fix the typo --- api/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/index.php b/api/index.php index 6fc9d81e5..707cffdce 100755 --- a/api/index.php +++ b/api/index.php @@ -161,7 +161,7 @@ "thumb" => $handleThumb, "del" => $delUrl, "ID" => $tokenID, // 202-02-11 增加返回Token ID - "messge" => "success", + "message" => "success", // "memory" => getDistUsed(memory_get_peak_usage()), // 占用内存 2023-02-12 ); echo json_encode($reJson, JSON_UNESCAPED_UNICODE);