feat:国际服更新抽卡记录

This commit is contained in:
kissnavel 2025-11-30 20:56:51 +08:00
parent b0f887c8f0
commit cd5ad2457a
4 changed files with 113 additions and 38 deletions

View file

@ -74,16 +74,6 @@ export default class ZZZApiTool {
url: `${this.host}event/nap_ledger/month_info`,
query: `uid=${this.uid}&region=${this.server}`,
},
zzzAuthKey: {
url: `${this.host}binding/api/genAuthKey`,
body: {
auth_appid: 'webview_gacha',
game_biz: this.gameBiz,
game_uid: this.uid * 1,
region: this.server,
},
dsSalt: 'web',
},
};
}
@ -125,6 +115,16 @@ export default class ZZZApiTool {
},
noDs: true,
},
zzzAuthKey: {
url: `${this.host}binding/api/genAuthKey`,
body: {
auth_appid: 'webview_gacha',
game_biz: this.gameBiz,
game_uid: this.uid * 1,
region: this.server,
},
dsSalt: 'web',
},
deviceLogin: {
url: `${this.hostBbs}apihub/api/deviceLogin`,
body: {
@ -163,6 +163,10 @@ export default class ZZZApiTool {
},
noDs: true,
},
zzzGacha_Record: {
url: `${this.host}event/game_record_zzz/api/zzz/gacha_record`,
query: `lang=zh-cn&uid=${this.uid}&region=${this.server}&gacha_type=${data.type}&end_id=${data.endId}`,
}
}),
...this.zzzUrlMap,
},