- casbin model文件移到conf下

This commit is contained in:
gazebo
2019-08-13 16:27:48 +08:00
parent e2867d6f67
commit 05e6dbe6e1
4 changed files with 12 additions and 4 deletions

View File

@@ -47,7 +47,9 @@ var (
func Init() {
beegodb.Init()
api2.Init()
if globals.EnableWXAuth2 {
api2.Init()
}
defsch.Init()
buildTime, err := time.ParseInLocation(time.RFC3339, BuildDate, time.UTC)