Browse Source

Merge branch 'feature/tmr-group' of baishaojie/tmrgo into develop

xuyiping 1 year ago
parent
commit
8e6f5bc117
1 changed files with 2 additions and 2 deletions
  1. 2 2
      http/routers/new_api.go

+ 2 - 2
http/routers/new_api.go

@@ -13,7 +13,7 @@ func NewAPI(opts ...func(engine *gin.Engine)) func(s *gin.Engine) {
 		}
 		newApiGroup := s.Group("/new_api")
 		newApiGroup.POST("feet_template/list", api.SearchFeetTemplateList)
-		newApiGroup.POST("feet_template/version/:feet_template_id", api.GetFeetTemplateVersion)
-		newApiGroup.POST("feet_template/upgrade/:feet_template_id", api.FeetTemplateUpgradeNewVersion)
+		newApiGroup.POST("feet_template/version", api.GetFeetTemplateVersion)
+		newApiGroup.POST("feet_template/upgrade", api.FeetTemplateUpgradeNewVersion)
 	}
 }