From 88d35490dfe00710938247ea4813490eb7c22130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=AE=E5=B8=AE?= <11372541+bbaban@user.noreply.gitee.com> Date: Sat, 8 Jul 2023 15:47:58 +0000 Subject: [PATCH] pull MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 帮帮 <11372541+bbaban@user.noreply.gitee.com> --- plugins/genshin/model/mys/apiTool.js | 5 +++++ plugins/genshin/model/mys/mysInfo.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/genshin/model/mys/apiTool.js b/plugins/genshin/model/mys/apiTool.js index db5bc29..45ea7a6 100644 --- a/plugins/genshin/model/mys/apiTool.js +++ b/plugins/genshin/model/mys/apiTool.js @@ -87,6 +87,11 @@ export default class apiTool { url: `${hostRecord}game_record/app/genshin/api/gcg/basicInfo`, query: `role_id=${this.uid}&server=${this.server}` }, + /**七圣牌组 */ + deckList: { + url: `${hostRecord}game_record/app/genshin/api/gcg/deckList`, + query: `role_id=${this.uid}&server=${this.server}` + }, /**使用兑换码 目前仅限国际服,来自于国服的uid请求已在myinfo.js的init方法提前拦截 */ useCdk: { url: 'PLACE_HOLDER', diff --git a/plugins/genshin/model/mys/mysInfo.js b/plugins/genshin/model/mys/mysInfo.js index a63dce9..d6d6b8d 100644 --- a/plugins/genshin/model/mys/mysInfo.js +++ b/plugins/genshin/model/mys/mysInfo.js @@ -25,7 +25,7 @@ export default class MysInfo { } // ck对应MysUser对象 this.ckUser = null - this.auth = ['dailyNote', 'bbs_sign_info', 'bbs_sign_home', 'bbs_sign', 'ys_ledger', 'compute', 'avatarSkill', 'detail', 'blueprint', 'UserGame'] + this.auth = ['dailyNote', 'bbs_sign_info', 'bbs_sign_home', 'bbs_sign', 'ys_ledger', 'compute', 'avatarSkill', 'detail', 'blueprint', 'UserGame', 'deckList'] } static async init (e, api) {