mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
👀👀👀👀
This commit is contained in:
parent
8e3ee9188e
commit
6eaf8c0e90
3 changed files with 88 additions and 12 deletions
|
|
@ -20,6 +20,7 @@ export default class ZZZApiTool {
|
|||
this.host = 'https://api-takumi.mihoyo.com/';
|
||||
this.hostRecord = 'https://api-takumi-record.mihoyo.com/';
|
||||
this.hostPublicData = 'https://public-data-api.mihoyo.com/';
|
||||
this.hostBbs = 'https://bbs-api.miyoushe.com/';
|
||||
} else {
|
||||
this.gameBiz = 'nap_global';
|
||||
this.host = 'https://sg-public-api.hoyolab.com/';
|
||||
|
|
@ -104,6 +105,28 @@ export default class ZZZApiTool {
|
|||
},
|
||||
noDs: true,
|
||||
},
|
||||
deviceLogin: {
|
||||
url: `${this.hostBbs}apihub/api/deviceLogin`,
|
||||
body: {
|
||||
app_version: '2.73.1',
|
||||
device_id: data.deviceId,
|
||||
device_name: `${deviceBrand}${modelName}`,
|
||||
os_version: '33',
|
||||
platform: 'Android',
|
||||
registration_id: generateSeed(19),
|
||||
},
|
||||
},
|
||||
saveDevice: {
|
||||
url: `${this.hostBbs}apihub/api/saveDevice`,
|
||||
body: {
|
||||
app_version: '2.73.1',
|
||||
device_id: data.deviceId,
|
||||
device_name: `${deviceBrand}${modelName}`,
|
||||
os_version: '33',
|
||||
platform: 'Android',
|
||||
registration_id: generateSeed(19),
|
||||
},
|
||||
},
|
||||
}
|
||||
: {
|
||||
getFp: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue