From 0489249c126d4bf8cb43ab68bd187962a9842d4d Mon Sep 17 00:00:00 2001 From: yoimiya-kokomi <592981798@qq.com> Date: Tue, 16 Aug 2022 04:54:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E6=96=87=E6=A1=88=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Calendar.js | 6 +++++- components/models/Avatars.js | 2 +- resources/character/profile-list.html | 8 ++++++-- resources/stat/abyss-pct.html | 4 ++-- resources/stat/abyss-summary.html | 2 +- resources/stat/character.html | 4 ++-- 6 files changed, 17 insertions(+), 9 deletions(-) diff --git a/components/Calendar.js b/components/Calendar.js index 800612d4..24e6eaf5 100644 --- a/components/Calendar.js +++ b/components/Calendar.js @@ -33,7 +33,11 @@ let Cal = { if (detailData && detailData.data && detailData.data.list) { let versionTime = { 2.7: '2022-05-31 11:00:00', - 2.8: '2022-07-13 11:00:00' + 2.8: '2022-07-13 11:00:00', + 3.0: '2022-08-24 11:00:00', + 3.1: '2022-09-28 11:00:00', + 3.2: '2022-11-02 11:00:00', + 3.3: '2022-12-07 11:00:00' } lodash.forEach(detailData.data.list, (ds) => { let vRet = /(\d\.\d)版本更新通知/.exec(ds.title) diff --git a/components/models/Avatars.js b/components/models/Avatars.js index 91fe123f..f6f8da86 100644 --- a/components/models/Avatars.js +++ b/components/models/Avatars.js @@ -96,7 +96,7 @@ export default class Avatars extends Base { lodash.forEach(skillRet, (talent) => { avatarTalent[talent.id] = talent }) - await redis.set(`genshin:avatar-talent:${this.uid}`, JSON.stringify(avatarTalent), { EX: 3600 * 6 }) + await redis.set(`genshin:avatar-talent:${this.uid}`, JSON.stringify(avatarTalent), { EX: 3600 * 2 }) } let ret = this.getData(ids) lodash.forEach(ret, (avatar, id) => { diff --git a/resources/character/profile-list.html b/resources/character/profile-list.html index 6ee2538b..676e0b64 100644 --- a/resources/character/profile-list.html +++ b/resources/character/profile-list.html @@ -9,8 +9,12 @@ {{block 'main'}} {{set demo = chars[0]?.abbr || "雷神" }}