🐛 修改米游币获取salt

This commit is contained in:
CMHopeSunshine 2022-08-05 00:44:32 +08:00
parent 3a552e3ee6
commit 2caf073543

View File

@ -61,7 +61,7 @@ class MihoyoBBSCoin:
'DS': old_version_get_ds_token(True), 'DS': old_version_get_ds_token(True),
'cookie': cookies, 'cookie': cookies,
'x-rpc-client_type': '2', 'x-rpc-client_type': '2',
'x-rpc-app_version': '2.7.0', 'x-rpc-app_version': '2.28.1',
'x-rpc-sys_version': '6.0.1', 'x-rpc-sys_version': '6.0.1',
'x-rpc-channel': 'mihoyo', 'x-rpc-channel': 'mihoyo',
'x-rpc-device_id': random_hex(32), 'x-rpc-device_id': random_hex(32),
@ -261,7 +261,7 @@ def md5(text):
def old_version_get_ds_token(mysbbs=False): def old_version_get_ds_token(mysbbs=False):
if mysbbs: if mysbbs:
n = 'fd3ykrh7o1j54g581upo1tvpam0dsgtf' n = 'dWCcD2FsOUXEstC5f9xubswZxEeoBOTc'
else: else:
n = 'h8w582wxwgqvahcdkpvdhbh2w9casgfl' n = 'h8w582wxwgqvahcdkpvdhbh2w9casgfl'
i = str(int(time.time())) i = str(int(time.time()))