1
This commit is contained in:
parent
d42efe492e
commit
6c73845a87
2
app.go
2
app.go
@ -119,7 +119,7 @@ func (this *app) init(userApp UserApp) {
|
||||
this.ginEngine = gin.New()
|
||||
this.ginEngine.Use(gin.Recovery())
|
||||
this.userApp.Init()
|
||||
go this.ginEngine.Run(fmt.Sprintf(":%s", this.userApp.GetHttpListenPort()))
|
||||
go this.ginEngine.Run(fmt.Sprintf(":%d", this.userApp.GetHttpListenPort()))
|
||||
}
|
||||
|
||||
func (this *app) unInit() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user