From e67eda4ee69c29392348b62fa146f46e239f983c Mon Sep 17 00:00:00 2001 From: Ctrlcvs <1509167646@qq.com> Date: Sun, 4 Sep 2022 22:36:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=B8=AA=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E3=80=82=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/user.js b/apps/user.js index 66da7f3..d9e223d 100644 --- a/apps/user.js +++ b/apps/user.js @@ -122,9 +122,9 @@ export async function gclog(e) { e.isPrivate = true; await bing(e) } - await utils.replyMake(e,sendMsg,1) + await utils.replyMake(e,sendMsg,1) let time=(configData.gclogEx||5)*60 - redis.set(`xiaoyao:gclog:${e.user_id}`, Math.floor(Date.now()/1000)+time, { //把色图链接写入缓存防止一直色色 + redis.set(`xiaoyao:gclog:${e.user_id}`, Math.floor(Date.now()/1000)+time, { //数据写入缓存避免重复请求 EX: time }); return true;