数据库插件

This commit is contained in:
robin
2022-06-03 15:18:47 +08:00
parent 8150466cbd
commit ba9ca43729
25 changed files with 123 additions and 219 deletions
+1
View File
@@ -10,5 +10,6 @@ const Redis = require("ioredis");
module.exports = async (app) => {
const redis = new Redis(config);
app.redis = redis
app.Redis = Redis
}