This commit is contained in:
wong
2025-07-09 10:05:49 +08:00
parent 5a701c048c
commit d9c7703975
2 changed files with 0 additions and 11 deletions

View File

@@ -217,13 +217,6 @@ class AutomaticAssign extends BaseController
return successJson([], '微信好友分配成功');
}
} else {
if ($result == '无效路径或登录状态失效'){
Cache::rm('system_authorization_token');
Cache::rm('system_refresh_token');
}
if($isInner){
return json_encode(['code'=>500,'msg'=>$result]);
}else{

View File

@@ -67,10 +67,6 @@ if (!function_exists('requestCurl')) {
$str = '';
}
}
if ($str == '无效路径或登录状态失效'){
Cache::rm('system_authorization_token');
Cache::rm('system_refresh_token');
}
return $str;
}
}