fix: kingClient get_token request 4

This commit is contained in:
caoqianming 2024-04-25 18:43:44 +08:00
parent 1a2baa82d9
commit 4004278f31
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ class KingClient(HandleLogMixin):
count = count - 1
if count < 0:
break
self.headers['Authorization'] = cache.get('king_token')
self.log = {"requested_at": now(), "id": uuid.uuid4(), "path": url, "method": method,
"params": params, "body": json, "target": "king", "result": 10, "headers": self.headers}
try: