mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
feat: card
This commit is contained in:
parent
cd0793655d
commit
ce3c509cd9
43 changed files with 508 additions and 7 deletions
|
|
@ -22,8 +22,8 @@ export class Note extends ZZZPlugin {
|
|||
}
|
||||
async note() {
|
||||
const { api, deviceFp } = await this.getAPI();
|
||||
const userData = await this.getPlayerInfo();
|
||||
if (!userData) return false;
|
||||
if (!api) return false;
|
||||
await this.getPlayerInfo();
|
||||
let noteData = await api.getData('zzzNote', { deviceFp });
|
||||
noteData = await api.checkCode(this.e, noteData, 'zzzNote', {});
|
||||
if (!noteData || noteData.retcode !== 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue