From e11ed78520b4595102937d9406cadad3ae7630fe Mon Sep 17 00:00:00 2001 From: icret Date: Tue, 30 May 2023 11:13:00 +0800 Subject: [PATCH] #118 v2.8.3 --- api/index.php | 2 +- app/function.php | 2 +- app/upload.php | 2 +- docs/update.md | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/api/index.php b/api/index.php index 793be34..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 - "messge" => "success", + "messge" => "success", // "memory" => getDistUsed(memory_get_peak_usage()), // 占用内存 2023-02-12 ); echo json_encode($reJson, JSON_UNESCAPED_UNICODE); diff --git a/app/function.php b/app/function.php index da109a2..31eebce 100644 --- a/app/function.php +++ b/app/function.php @@ -32,7 +32,7 @@ define('APP_ROOT', str_replace('\\', '/', realpath(dirname(__FILE__) . '/../'))) // 判断当前的系统类型是否为windows define('IS_WIN', strstr(PHP_OS, 'WIN') ? 1 : 0); // 定义当前版本 -define('APP_VERSION', '2.8.2'); +define('APP_VERSION', '2.8.3'); /*---------------基础配置结束-------------------*/ diff --git a/app/upload.php b/app/upload.php index 1d4f3fc..933e068 100644 --- a/app/upload.php +++ b/app/upload.php @@ -31,7 +31,7 @@ if (empty($_FILES['file'])) { if (empty($_POST['sign']) || time() - $_POST['sign'] > 12306) { exit(json_encode(array( "result" => "failed", - "code" => 403, + "code" => 403, "systime" => time(), "message" => "上传签名错误,请刷新重试", ))); diff --git a/docs/update.md b/docs/update.md index 98b5b25..b0ddd2c 100644 --- a/docs/update.md +++ b/docs/update.md @@ -1,3 +1,6 @@ +* 2023-05-30 v2.8.3 +FIX [#118](https://github.com/icret/EasyImages2.0/issues/118) + * 2023-05-14 v2.8.2 - 增加uPic教程 - Fix [#115](https://github.com/icret/EasyImages2.0/issues/115)