From a4cecb86cbe07b9658f95f72d5b9f8f296058576 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 25 Apr 2024 21:46:18 +0800 Subject: [PATCH] fix: king request 6 --- apps/third/king/k.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']))