更新
This commit is contained in:
1 parent
264ab8d979
commit
a9a4bd0981
86 files changed
+1196
-308
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user