This commit is contained in:
aozhiwei 2023-10-01 22:48:31 +08:00
parent d42efe492e
commit 6c73845a87

2
app.go
View File

@ -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() {