fix: casbin gorm-adapter has no sqlite3 support
Signed-off-by: closetool <c299999999@qq.com>
This commit is contained in:
@@ -17,7 +17,7 @@ func Redis() {
|
||||
if err != nil {
|
||||
global.GVA_LOG.Error("redis connect ping failed, err:", zap.Any("err", err))
|
||||
} else {
|
||||
global.GVA_LOG.Info("redis connect ping response:", zap.String("pong",pong))
|
||||
global.GVA_LOG.Info("redis connect ping response:", zap.String("pong", pong))
|
||||
global.GVA_REDIS = client
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user