Commit ba7d9684 authored by 姜登's avatar 姜登

gjj

parent 20eee9fe
Pipeline #3985 passed with stage
in 2 seconds
...@@ -39,6 +39,7 @@ class Cache { ...@@ -39,6 +39,7 @@ class Cache {
return ret; return ret;
} }
async set(key, value, ttl = 60) { async set(key, value, ttl = 60) {
this.app.logger.info(`[cache](ms)${key}: ${value}`);
return await this._set(key, value, ttl); return await this._set(key, value, ttl);
} }
async del(key){ async del(key){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment