From 76c63405bbf751150e190d9ae0cb696e16fcbcfb Mon Sep 17 00:00:00 2001 From: Kokomi <1379177109@qq.com> Date: Thu, 7 Dec 2023 04:58:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E5=A4=84DailyCache?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/model/mys/DailyCache.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/genshin/model/mys/DailyCache.js b/plugins/genshin/model/mys/DailyCache.js index 1d08564..abb4b03 100644 --- a/plugins/genshin/model/mys/DailyCache.js +++ b/plugins/genshin/model/mys/DailyCache.js @@ -311,6 +311,7 @@ export default class DailyCache extends BaseModel { */ async zDel (table, key, delCount = false) { // 删除key对应list所有记录 + key = key + '' let check = redis.zScore(this.getTableKey(table, 'count'), key) await redis.zRemRangeByScore(this.getTableKey(table), key, key) await this.zDisableKey(table, key, delCount)