mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-06-19 05:45:03 +08:00
update salt gen
This commit is contained in:
parent
4bcf6993fd
commit
97706e34c5
@ -10,6 +10,7 @@ from gsuid_core.utils.database.models import GsUser
|
|||||||
|
|
||||||
# from gsuid_core.utils.api.mys.models import MysSign, SignList
|
# from gsuid_core.utils.api.mys.models import MysSign, SignList
|
||||||
from gsuid_core.utils.api.mys.tools import (
|
from gsuid_core.utils.api.mys.tools import (
|
||||||
|
mys_version,
|
||||||
_random_int_ds,
|
_random_int_ds,
|
||||||
generate_os_ds,
|
generate_os_ds,
|
||||||
get_web_ds_token,
|
get_web_ds_token,
|
||||||
@ -440,7 +441,7 @@ class MysApi(_MysApi):
|
|||||||
if int(str(uid)[0]) < 6:
|
if int(str(uid)[0]) < 6:
|
||||||
HEADER = copy.deepcopy(self._HEADER)
|
HEADER = copy.deepcopy(self._HEADER)
|
||||||
HEADER['Cookie'] = ck
|
HEADER['Cookie'] = ck
|
||||||
HEADER['x-rpc-app_version'] = '2.44.1'
|
HEADER['x-rpc-app_version'] = mys_version
|
||||||
HEADER['x-rpc-client_type'] = '5'
|
HEADER['x-rpc-client_type'] = '5'
|
||||||
HEADER['X_Requested_With'] = 'com.mihoyo.hyperion'
|
HEADER['X_Requested_With'] = 'com.mihoyo.hyperion'
|
||||||
HEADER['DS'] = get_web_ds_token(True)
|
HEADER['DS'] = get_web_ds_token(True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user