aa
This commit is contained in:
@@ -10,7 +10,6 @@ import (
|
||||
|
||||
func Init() {
|
||||
// set default database
|
||||
globals.SugarLogger.Debugf("111111111111111111111111111111111111111111111111111111111111111111")
|
||||
orm.RegisterDataBase("default", "mysql", beego.AppConfig.String("dbConnectStr"), 30)
|
||||
orm.RegisterModel(new(legacymodel.Config))
|
||||
orm.RegisterModel(new(legacymodel.BlackClient))
|
||||
|
||||
Reference in New Issue
Block a user