mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-12 06:55:49 +08:00
🐛 当调用simple_mys_req()
的时候, 若插件没有传入CK, 将调用game_name
取CK
This commit is contained in:
parent
28e234d807
commit
a10c027ad8
@ -341,7 +341,7 @@ class BaseMysApi:
|
||||
if cookie is not None:
|
||||
HEADER['Cookie'] = cookie
|
||||
elif 'Cookie' not in HEADER and isinstance(uid, str):
|
||||
ck = await self.get_ck(uid)
|
||||
ck = await self.get_ck(uid, 'RANDOM', game_name)
|
||||
if ck is None:
|
||||
return -51
|
||||
HEADER['Cookie'] = ck
|
||||
|
Loading…
x
Reference in New Issue
Block a user