This commit is contained in:
robin
2022-07-07 22:16:39 +08:00
parent 264ab8d979
commit a9a4bd0981
86 changed files with 1198 additions and 310 deletions
+3 -1
View File
@@ -11,5 +11,7 @@ module.exports = async (app) => {
const redis = new Redis(config);
app.redis = redis
app.Redis = Redis
//全局变量
app.alias["$redis"] = app.redis
app.alias["$Redis"] = app.Redis
}