diff --git a/apps/third/king/k.py b/apps/third/king/k.py index 0cb5a2d6..9371c00d 100644 --- a/apps/third/king/k.py +++ b/apps/third/king/k.py @@ -77,7 +77,7 @@ class KingClient(HandleLogMixin): if ret['code'] != 0: if need_auth and ret['code'] in [-1, -2]: # 认证失败 self._get_token() - self.request(url, method, params, json, timeout, raise_exception, need_auth=False) + self.request(url, method, params, json, timeout, raise_exception) return err_detail = dict(detail=f"亚控错误: {ret['message']}", code='king_' + str(ret['code']))