office tag async send

This commit is contained in:
wangchuxiao
2022-05-19 10:44:39 +08:00
parent 03c23f0fda
commit 23b03919e6
39 changed files with 320 additions and 28 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ func main() {
authRouterGroup.POST("/login", register.Login)
authRouterGroup.POST("/reset_password", register.ResetPassword)
}
ginPort := flag.Int("port", 42233, "get ginServerPort from cmd,default 42233 as port")
defaultPorts := config.Config.Demo.Port
ginPort := flag.Int("port", defaultPorts[0], "get ginServerPort from cmd,default 42233 as port")
flag.Parse()
fmt.Println("start demo api server, port: ", *ginPort)
address := "0.0.0.0:" + strconv.Itoa(*ginPort)