Merge pull request #288 from ikechan8370/master

fix: getFp与deviceId一致
This commit is contained in:
曉K 2023-10-22 17:23:30 +08:00 committed by GitHub
commit edf20783a5
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":"8F4E403B-4C28-4F7F-B740-2DD317948B8A","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'
}, },