mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-07 04:03:45 +08:00
🎨 调整逻辑 (#595)
* update salt version * update signing * 🚨 `pre-commit-ci`修复格式错误 * update * update * 🚨 `pre-commit-ci`修复格式错误 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
998dd1a7b6
commit
b142282281
@ -4,7 +4,6 @@ from copy import deepcopy
|
||||
from typing import Dict, Literal
|
||||
|
||||
from httpx import AsyncClient
|
||||
|
||||
from gsuid_core.logger import logger
|
||||
from gsuid_core.utils.api.mys.tools import (
|
||||
random_hex,
|
||||
@ -306,7 +305,7 @@ class MihoyoBBSCoin:
|
||||
data: Dict = {},
|
||||
) -> Dict:
|
||||
for _ in range(2):
|
||||
if data != {}:
|
||||
if BBS_SIGN_URL in url:
|
||||
header['DS'] = get_ds_token('', data, '22')
|
||||
async with AsyncClient(timeout=None) as client:
|
||||
req = await client.request(
|
||||
|
Loading…
x
Reference in New Issue
Block a user