gorm升级到v2版本
This commit is contained in:
1 parent
93cfe443d6
commit
60c7496f7b
56 files changed
+630
-477
No files matched your search
+1
-2
@@ -69,7 +69,7 @@ func run() error {
|
||||
}
|
||||
|
||||
r := router.InitRouter()
|
||||
defer global.Eloquent.Close()
|
||||
//defer global.Eloquent.Close()
|
||||
|
||||
srv := &http.Server{
|
||||
Addr: config.ApplicationConfig.Host + ":" + config.ApplicationConfig.Port,
|
||||
@@ -81,7 +81,6 @@ func run() error {
|
||||
|
||||
}()
|
||||
|
||||
|
||||
go func() {
|
||||
// 服务连接
|
||||
if config.SslConfig.Enable {
|
||||
|
||||
Reference in new issue
Block a user