mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 05:07:46 +00:00
fix:调整查询方式
This commit is contained in:
parent
763e82b6cd
commit
5f0554263b
2 changed files with 7 additions and 12 deletions
|
|
@ -125,9 +125,9 @@ export class GachaLog extends ZZZPlugin {
|
|||
const uid = await this.getUID();
|
||||
if (!uid) return false;
|
||||
if (/^(1[0-9])[0-9]{8}/i.test(uid)) {
|
||||
const { api } = await this.getAPI();
|
||||
const { api, deviceFp } = await this.getAPI();
|
||||
this.reply('抽卡记录获取中请稍等...可能需要一段时间,请耐心等待');
|
||||
const { data, count } = await updateGachaLog(api, uid);
|
||||
const { data, count } = await updateGachaLog(api, uid, deviceFp);
|
||||
let msg = [];
|
||||
msg.push(`抽卡记录更新成功,共${Object.keys(data).length}个卡池`);
|
||||
for (const name in data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue