This commit is contained in:
wangchuxiao
2023-02-09 16:11:18 +08:00
parent 1075754458
commit ccc7e6b3c8
73 changed files with 153 additions and 160 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import (
func main() {
gin.SetMode(gin.ReleaseMode)
router := cms_api.NewGinRouter()
router := cmsapi.NewGinRouter()
router.Use(utils.CorsHandler())
defaultPorts := config.Config.CmsApi.GinPort
ginPort := flag.Int("port", defaultPorts[0], "get ginServerPort from cmd,default 10006 as port")