diff --git a/cloud_genshin.py b/cloud_genshin.py index 78f89af..e74afba 100644 --- a/cloud_genshin.py +++ b/cloud_genshin.py @@ -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 \ No newline at end of file + return data