mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
modify:card补充代理人和邦布
This commit is contained in:
parent
0c80a5ab9c
commit
436a558004
2 changed files with 15 additions and 0 deletions
|
|
@ -30,6 +30,13 @@ export class Card extends ZZZPlugin {
|
|||
return false;
|
||||
}
|
||||
indexData = indexData.data;
|
||||
|
||||
let zzzAvatarList = await api.getData('zzzAvatarList', { deviceFp });
|
||||
indexData.avatar_list = zzzAvatarList.data.avatar_list;
|
||||
|
||||
let zzzBuddyList = await api.getData('zzzBuddyList', { deviceFp });
|
||||
indexData.buddy_list = zzzBuddyList.data.list;
|
||||
|
||||
indexData = new ZZZIndexResp(indexData);
|
||||
this.e.playerCard.player.region_name = indexData.stats.world_level_name;
|
||||
await indexData.get_assets();
|
||||
|
|
|
|||
|
|
@ -78,6 +78,14 @@ export default class ZZZApiTool {
|
|||
url: `${hostRecord}event/game_record_zzz/api/zzz/index`,
|
||||
query: `role_id=${this.uid}&server=${this.server}`,
|
||||
},
|
||||
zzzAvatarList: {
|
||||
url: `${hostRecord}event/game_record_zzz/api/zzz/avatar/basic`,
|
||||
query: `role_id=${this.uid}&server=${this.server}`,
|
||||
},
|
||||
zzzBuddyList: {
|
||||
url: `${hostRecord}event/game_record_zzz/api/zzz/buddy/info`,
|
||||
query: `role_id=${this.uid}&server=${this.server}`,
|
||||
},
|
||||
zzzAuthKey: {
|
||||
url: `${host}binding/api/genAuthKey`,
|
||||
body: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue