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 -1
View File
@@ -15,7 +15,8 @@ func main() {
gin.SetMode(gin.ReleaseMode)
router := cms_api.NewGinRouter()
router.Use(utils.CorsHandler())
ginPort := flag.Int("port", 10006, "get ginServerPort from cmd,default 10006 as port")
defaultPorts := config.Config.CmsApi.GinPort
ginPort := flag.Int("port", defaultPorts[0], "get ginServerPort from cmd,default 10006 as port")
flag.Parse()
address := "0.0.0.0:" + strconv.Itoa(*ginPort)
if config.Config.Api.ListenIP != "" {