From d02778324111bc23040ddd55da0665678755c2c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ca=28HCO=E2=82=83=29=E2=82=82?= <143723419+kaguramaisakuya@users.noreply.github.com> Date: Wed, 27 Mar 2024 06:43:13 +0800 Subject: [PATCH] =?UTF-8?q?4.5=E6=8E=A2=E7=B4=A2=EF=BC=9Bfix=20(#394)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/defSet/role/index.yaml | 8 ++++---- plugins/genshin/model/mys/mysApi.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/genshin/defSet/role/index.yaml b/plugins/genshin/defSet/role/index.yaml index 2531358..bb7e4f5 100644 --- a/plugins/genshin/defSet/role/index.yaml +++ b/plugins/genshin/defSet/role/index.yaml @@ -1,8 +1,8 @@ # 成就 -achievement: 1185 +achievement: 1188 # 角色数 -avatar: 79 +avatar: 80 # 等级 level: 60 @@ -14,10 +14,10 @@ magic_chest: 241 luxurious_chest: 259 # 珍贵宝箱 -precious_chest: 682 +precious_chest: 683 # 精致宝箱 -exquisite_chest: 2219 +exquisite_chest: 2221 # 普通宝箱 common_chest: 2980 diff --git a/plugins/genshin/model/mys/mysApi.js b/plugins/genshin/model/mys/mysApi.js index 8fb0265..8db4c00 100644 --- a/plugins/genshin/model/mys/mysApi.js +++ b/plugins/genshin/model/mys/mysApi.js @@ -92,7 +92,7 @@ export default class MysApi { headers = { ...headers, ...data.headers } } - if (type !== 'getFp' && !headers['x-rpc-device_fp'] && this._device_fp.data.device_fp) { + if (type !== 'getFp' && !headers['x-rpc-device_fp'] && this._device_fp.data?.device_fp) { headers['x-rpc-device_fp'] = this._device_fp.data.device_fp }