From 2ba02400e6bf542007b94dadb73c96bd793aa509 Mon Sep 17 00:00:00 2001 From: icret Date: Sat, 30 Sep 2023 22:10:59 +0800 Subject: [PATCH] Revert "Merge pull request #141 from zhangwenwen/master" This reverts commit a22cfb177e76bbc0f91b684b9de464f81abcff29, reversing changes made to 12f209c1adbdb32308bf3422b150b50ce82f8a84. --- admin/index.php | 6 +++--- api/index.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/index.php b/admin/index.php index 0b5d6b7..2e0e975 100755 --- a/admin/index.php +++ b/admin/index.php @@ -88,7 +88,7 @@ if (isset($_POST['password']) and isset($_POST['user'])) { icon: "times" // 定义消息图标 }).show(); '; - //header("refresh:2;"); + header("refresh:2;"); } // 登录日志 @@ -127,8 +127,8 @@ if (isset($_POST['password']) and isset($_POST['user'])) {

登录

- - + + diff --git a/api/index.php b/api/index.php index 707cffd..6fc9d81 100755 --- a/api/index.php +++ b/api/index.php @@ -161,7 +161,7 @@ if ($handle->uploaded) { "thumb" => $handleThumb, "del" => $delUrl, "ID" => $tokenID, // 202-02-11 增加返回Token ID - "message" => "success", + "messge" => "success", // "memory" => getDistUsed(memory_get_peak_usage()), // 占用内存 2023-02-12 ); echo json_encode($reJson, JSON_UNESCAPED_UNICODE);