mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
feat:国际服 抽卡链接 & 抽卡分析
This commit is contained in:
parent
607b85c922
commit
6c475878a7
4 changed files with 33 additions and 28 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue