fix:调整格式

This commit is contained in:
kissnavel 2025-11-30 23:03:46 +08:00
parent 5f0554263b
commit 7439bc0d21

View file

@ -63,7 +63,11 @@ export const updateGachaLog = async (authKey, uid, region, game_biz) => {
const api = authKey;
const deviceFp = region;
// 获取抽卡记录
const log = await api.getFinalData('zzzGacha_Record', { deviceFp, type, endId } );
const log = await api.getFinalData('zzzGacha_Record', {
deviceFp,
type,
endId,
});
if (!log || !log?.gacha_item_list || log?.gacha_item_list?.length === 0) {
break;
}