✨ add session
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"github.com/ArtisanCloud/PowerWeChat/v3/src/officialAccount"
|
||||
"github.com/casbin/casbin/v2"
|
||||
"github.com/lionsoul2014/ip2region/binding/golang/xdb"
|
||||
"github.com/rbcervilla/redisstore/v9"
|
||||
"github.com/redis/go-redis/v9"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/wenlng/go-captcha/v2/click"
|
||||
@@ -29,5 +30,6 @@ var (
|
||||
Wechat *officialAccount.OfficialAccount // 微信公众号
|
||||
Casbin *casbin.CachedEnforcer // casbin权限管理器
|
||||
IP2Location *xdb.Searcher // IP地址定位
|
||||
MongoDB *mongo.Client
|
||||
MongoDB *mongo.Client // MongoDB连接
|
||||
Session *redisstore.RedisStore // session存储
|
||||
)
|
||||
|
Reference in New Issue
Block a user