系统优化

This commit is contained in:
hoteas
2022-04-20 22:47:58 +08:00
parent f1d066811d
commit cfa668a5f3
5 changed files with 10 additions and 653 deletions
+2 -2
View File
@@ -530,7 +530,7 @@ func (that *Application) crossDomain(context *Context, sessionId string) {
}
//Init 初始化application
func Init(config string) Application {
func Init(config string) *Application {
appIns := Application{}
//手动模式,
appIns.SetConfig(config)
@@ -580,7 +580,7 @@ func Init(config string) Application {
}
return appIns
return &appIns
}
// SetDB 智能数据库设置