修改路由接口-2

This commit is contained in:
孙肖扬 2025-06-11 16:23:49 +08:00
parent 463404d774
commit 9120e6acfd
2 changed files with 4 additions and 4 deletions

View File

@ -29,9 +29,9 @@ func BundleRouter(r *gin.RouterGroup) {
bundleClientRouteV2.POST("bundle-list", bundle.BundleListV2) bundleClientRouteV2.POST("bundle-list", bundle.BundleListV2)
bundleClientRouteV2.POST("bundle-detail", bundle.BundleDetailV2) bundleClientRouteV2.POST("bundle-detail", bundle.BundleDetailV2)
} }
bundleAppRoute = bundleAppRoute.Group("common") bundleAppRouteV1 := bundleAppRoute.Group("common")
{ {
bundleAppRoute.POST("bundle-list", bundle.BundleList) bundleAppRouteV1.POST("bundle-list", bundle.BundleList)
} }
bundleAppRouteV2 := bundleAppRoute.Group("app/system/v2") bundleAppRouteV2 := bundleAppRoute.Group("app/system/v2")
{ {

View File

@ -30,9 +30,9 @@ func ValueAddBundleRouter(r *gin.RouterGroup) {
bundleClientRouteV2.POST("detail", bundle.ValueAddServiceDetail) bundleClientRouteV2.POST("detail", bundle.ValueAddServiceDetail)
} }
valueAddBundleAppRoute = valueAddBundleAppRoute.Group("system") valueAddBundleAppRouteV1 := valueAddBundleAppRoute.Group("system")
{ {
valueAddBundleAppRoute.POST("list", bundle.ValueAddBundleList) valueAddBundleAppRouteV1.POST("list", bundle.ValueAddBundleList)
} }
valueAddBundleAppRouteV2 := valueAddBundleAppRoute.Group("system/v2") valueAddBundleAppRouteV2 := valueAddBundleAppRoute.Group("system/v2")
{ {