兼容casbin2.24.0版本log

迁移脚本编译时不打包
This commit is contained in:
linwenxiang committed 2021-03-05 13:23:21 +08:00
1 parent 48f0cb46ec
commit 39dd1ee6f8
56 files changed
+320 -454

No files matched your search

+2 -2
View File
@@ -65,6 +65,6 @@ func setupSimpleDatabase(host string, c *toolsConfig.Database) {
// global.Eloquent = db
//}
global.Cfg.SetDb(host, db)
global.Cfg.SetCasbin(host, e)
global.Runtime.SetDb(host, db)
global.Runtime.SetCasbin(host, e)
}