mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-20 17:57:54 +00:00
兼容casbin2.24.0版本log
迁移脚本编译时不打包
This commit is contained in:
@@ -7,6 +7,6 @@ import (
|
||||
)
|
||||
|
||||
func WithContextDb(c *gin.Context) {
|
||||
c.Set("db", global.Cfg.GetDbByKey(c.Request.Host))
|
||||
c.Set("db", global.Runtime.GetDbByKey(c.Request.Host))
|
||||
c.Next()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user