【触客宝】 修复同步未删除设备的bug
This commit is contained in:
@@ -379,7 +379,7 @@ if (!function_exists('handleApiResponse')) {
|
|||||||
if($response == '无效路径或登录状态失效'){
|
if($response == '无效路径或登录状态失效'){
|
||||||
Cache::rm('system_refresh_token');
|
Cache::rm('system_refresh_token');
|
||||||
Cache::rm('system_authorization_token');
|
Cache::rm('system_authorization_token');
|
||||||
AuthService::getSystemAuthorization();
|
//AuthService::getSystemAuthorization();
|
||||||
}
|
}
|
||||||
|
|
||||||
return $decoded;
|
return $decoded;
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ class DeviceListJob
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
// 调用设备列表获取方法,传入isDel参数
|
// 调用设备列表获取方法,传入isDel参数
|
||||||
$result = $deviceController->getlist($pageIndex, $pageSize, true, $isDel);
|
$result = $deviceController->getlist(['pageIndex' => $pageIndex, 'pageSize' => $pageSize], true, $isDel);
|
||||||
$response = json_decode($result, true);
|
$response = json_decode($result, true);
|
||||||
|
|
||||||
if ($response['code'] == 200) {
|
if ($response['code'] == 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user