feat:国际服 抽卡链接 & 抽卡分析

This commit is contained in:
kissnavel 2025-08-24 22:04:28 +08:00
parent 607b85c922
commit 6c475878a7
4 changed files with 33 additions and 28 deletions

View file

@ -25,7 +25,7 @@ import { getZZZGachaLogByAuthkey } from './gacha/core.js';
* }
* }>} 更新后的抽卡数据
*/
export const updateGachaLog = async (authKey, uid) => {
export const updateGachaLog = async (authKey, uid, region, game_biz) => {
// 获取之前的抽卡数据
let previousLog = getGachaLog(uid);
if (!previousLog) {
@ -61,7 +61,9 @@ export const updateGachaLog = async (authKey, uid) => {
type,
type[0],
page,
endId
endId,
region,
game_biz
);
if (!log || !log?.list || log?.list?.length === 0) {
break;