work_moments

This commit is contained in:
wangchuxiao
2022-04-24 17:42:41 +08:00
parent 86e17d38d4
commit d1ebcde725
6 changed files with 68 additions and 3102 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ func main() {
gin.SetMode(gin.ReleaseMode)
router := cms_api.NewGinRouter()
router.Use(utils.CorsHandler())
ginPort := flag.Int("port", 8000, "get ginServerPort from cmd,default 10000 as port")
ginPort := flag.Int("port", 8000, "get ginServerPort from cmd,default 8000 as port")
fmt.Println("start cms api server, port: ", ginPort)
router.Run(":" + strconv.Itoa(*ginPort))
}