|
@@ -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)
|
|
|
}
|
|
|
}
|