mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-15 20:57:43 +00:00
fix:调整数据
This commit is contained in:
parent
7439bc0d21
commit
0f32bfbdfa
1 changed files with 3 additions and 5 deletions
|
|
@ -60,11 +60,9 @@ export const updateGachaLog = async (authKey, uid, region, game_biz) => {
|
|||
// 循环获取数据
|
||||
queryLabel: while (true) {
|
||||
if (/^(1[0-9])[0-9]{8}/i.test(uid)) {
|
||||
const api = authKey;
|
||||
const deviceFp = region;
|
||||
// 获取抽卡记录
|
||||
const log = await api.getFinalData('zzzGacha_Record', {
|
||||
deviceFp,
|
||||
const log = await authKey.getFinalData('zzzGacha_Record', {
|
||||
deviceFp: region,
|
||||
type,
|
||||
endId,
|
||||
});
|
||||
|
|
@ -86,7 +84,7 @@ export const updateGachaLog = async (authKey, uid, region, game_biz) => {
|
|||
rank_type: rarity_os[item.rarity],
|
||||
id: item.id,
|
||||
square_icon: '',
|
||||
}
|
||||
};
|
||||
if (lastSaved && lastSaved.equals(item)) {
|
||||
// 如果数据相同,说明已经获取完毕
|
||||
break queryLabel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue