pull/141/head
icret 2023-05-30 11:13:00 +08:00
parent ec38a23168
commit e11ed78520
4 changed files with 6 additions and 3 deletions

View File

@ -161,7 +161,7 @@ if ($handle->uploaded) {
"thumb" => $handleThumb, "thumb" => $handleThumb,
"del" => $delUrl, "del" => $delUrl,
"ID" => $tokenID, // 202-02-11 增加返回Token ID "ID" => $tokenID, // 202-02-11 增加返回Token ID
"messge" => "success", "messge" => "success",
// "memory" => getDistUsed(memory_get_peak_usage()), // 占用内存 2023-02-12 // "memory" => getDistUsed(memory_get_peak_usage()), // 占用内存 2023-02-12
); );
echo json_encode($reJson, JSON_UNESCAPED_UNICODE); echo json_encode($reJson, JSON_UNESCAPED_UNICODE);

View File

@ -32,7 +32,7 @@ define('APP_ROOT', str_replace('\\', '/', realpath(dirname(__FILE__) . '/../')))
// 判断当前的系统类型是否为windows // 判断当前的系统类型是否为windows
define('IS_WIN', strstr(PHP_OS, 'WIN') ? 1 : 0); define('IS_WIN', strstr(PHP_OS, 'WIN') ? 1 : 0);
// 定义当前版本 // 定义当前版本
define('APP_VERSION', '2.8.2'); define('APP_VERSION', '2.8.3');
/*---------------基础配置结束-------------------*/ /*---------------基础配置结束-------------------*/

View File

@ -31,7 +31,7 @@ if (empty($_FILES['file'])) {
if (empty($_POST['sign']) || time() - $_POST['sign'] > 12306) { if (empty($_POST['sign']) || time() - $_POST['sign'] > 12306) {
exit(json_encode(array( exit(json_encode(array(
"result" => "failed", "result" => "failed",
"code" => 403, "code" => 403,
"systime" => time(), "systime" => time(),
"message" => "上传签名错误,请刷新重试", "message" => "上传签名错误,请刷新重试",
))); )));

View File

@ -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 * 2023-05-14 v2.8.2
- 增加uPic教程 - 增加uPic教程
- Fix [#115](https://github.com/icret/EasyImages2.0/issues/115) - Fix [#115](https://github.com/icret/EasyImages2.0/issues/115)