From d5c54c3ff57b705cab00b9e89afa4ff79a9b4d01 Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Fri, 9 May 2025 15:08:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=A7=A6=E5=AE=A2=E5=AE=9D=E3=80=91?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=E5=90=8C=E6=AD=A5=E6=9C=AA=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E8=AE=BE=E5=A4=87=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/application/common.php | 2 +- Server/application/job/DeviceListJob.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/application/common.php b/Server/application/common.php index bf910e78..d412b53a 100644 --- a/Server/application/common.php +++ b/Server/application/common.php @@ -379,7 +379,7 @@ if (!function_exists('handleApiResponse')) { if($response == '无效路径或登录状态失效'){ Cache::rm('system_refresh_token'); Cache::rm('system_authorization_token'); - AuthService::getSystemAuthorization(); + //AuthService::getSystemAuthorization(); } return $decoded; diff --git a/Server/application/job/DeviceListJob.php b/Server/application/job/DeviceListJob.php index df48783e..1dd337bd 100644 --- a/Server/application/job/DeviceListJob.php +++ b/Server/application/job/DeviceListJob.php @@ -62,7 +62,7 @@ class DeviceListJob ]); // 调用设备列表获取方法,传入isDel参数 - $result = $deviceController->getlist($pageIndex, $pageSize, true, $isDel); + $result = $deviceController->getlist(['pageIndex' => $pageIndex, 'pageSize' => $pageSize], true, $isDel); $response = json_decode($result, true); if ($response['code'] == 200) {