feat✨ 结构统一调整

This commit is contained in:
wenjianzhang committed 2021-05-20 22:59:09 +08:00
1 parent 6b1c3d9226
commit 44545f3d5b
49 files changed
+330 -545

No files matched your search

+1 -5
View File
@@ -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)
}
}