Update cloud_genshin.py
This commit is contained in:
parent
87b3ae0ccb
commit
a1f76e15e0
@ -14,7 +14,7 @@ class cloud_ys():
|
||||
'x-rpc-app_version': setting.cloudgenshin_Version,
|
||||
'x-rpc-sys_version': '12', # Previous version need to convert the type of this var
|
||||
'x-rpc-channel': 'mihoyo',
|
||||
'x-rpc-device_id': tools.get_cloud_device_id(),
|
||||
'x-rpc-device_id': tools.get_device_id(),
|
||||
'x-rpc-device_name': 'Xiaomi M2012K11AC',
|
||||
'x-rpc-device_model': 'M2012K11AC',
|
||||
'x-rpc-app_id': '1953439974',
|
||||
@ -41,4 +41,4 @@ class cloud_ys():
|
||||
reqs = http.get(url=setting.Cloud_ys_Inquire,headers=self.headers).json()
|
||||
nr = (f"\n你当前拥有免费时长 {reqs['data']['free_time']['free_time']} 分钟,畅玩卡状态为 {reqs['data']['play_card']['short_msg']},拥有米云币 {reqs['data']['coin']['coin_num']} 枚")
|
||||
data = data + nr
|
||||
return data
|
||||
return data
|
||||
|
Loading…
Reference in New Issue
Block a user