mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2025-01-22 22:11:22 +08:00
修改一个注释。。
This commit is contained in:
parent
bf575d3377
commit
e67eda4ee6
@ -124,7 +124,7 @@ export async function gclog(e) {
|
|||||||
}
|
}
|
||||||
await utils.replyMake(e,sendMsg,1)
|
await utils.replyMake(e,sendMsg,1)
|
||||||
let time=(configData.gclogEx||5)*60
|
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
|
EX: time
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user