fix: deviceId大写

This commit is contained in:
ikechan8370 2023-10-20 21:10:58 +08:00 committed by GitHub
parent cc1af0b93c
commit 7252c43ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -112,10 +112,10 @@ export default class apiTool {
url: `https://public-data-api.mihoyo.com/device-fp/api/getFp`, url: `https://public-data-api.mihoyo.com/device-fp/api/getFp`,
body: { body: {
seed_id: data.seed_id, seed_id: data.seed_id,
device_id: data.deviceId, device_id: data.deviceId.toUpperCase(),
platform: '1', platform: '1',
seed_time: new Date().getTime() + '', seed_time: new Date().getTime() + '',
ext_fields: `{"proxyStatus":"0","accelerometer":"-0.159515x-0.830887x-0.682495","ramCapacity":"3746","IDFV":"${data.deviceId}","gyroscope":"-0.191951x-0.112927x0.632637","isJailBreak":"0","model":"iPhone12,5","ramRemain":"115","chargeStatus":"1","networkType":"WIFI","vendor":"--","osVersion":"17.0.2","batteryStatus":"50","screenSize":"414×896","cpuCores":"6","appMemory":"55","romCapacity":"488153","romRemain":"157348","cpuType":"CPU_TYPE_ARM64","magnetometer":"-84.426331x-89.708435x-37.117889"}`, ext_fields: `{"proxyStatus":"0","accelerometer":"-0.159515x-0.830887x-0.682495","ramCapacity":"3746","IDFV":"${data.deviceId.toUpperCase()}","gyroscope":"-0.191951x-0.112927x0.632637","isJailBreak":"0","model":"iPhone12,5","ramRemain":"115","chargeStatus":"1","networkType":"WIFI","vendor":"--","osVersion":"17.0.2","batteryStatus":"50","screenSize":"414×896","cpuCores":"6","appMemory":"55","romCapacity":"488153","romRemain":"157348","cpuType":"CPU_TYPE_ARM64","magnetometer":"-84.426331x-89.708435x-37.117889"}`,
app_name: 'bbs_cn', app_name: 'bbs_cn',
device_fp: '38d7ee834d1e9' device_fp: '38d7ee834d1e9'
}, },