feat✨ 结构统一调整
This commit is contained in:
1 parent
6b1c3d9226
commit
44545f3d5b
49 files changed
+330
-545
No files matched your search
@@ -60,10 +60,6 @@ func setupSimpleDatabase(host string, c *toolsConfig.Database) {
|
||||
|
||||
e := mycasbin.Setup(db, "sys_")
|
||||
|
||||
//if host == "*" {
|
||||
// global.Eloquent = db
|
||||
//}
|
||||
|
||||
sdk.Runtime.SetDb(host, db)
|
||||
sdk.Runtime.SetCasbin(host, e)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user