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) {