From 18156980d9404f3879699a69d00782ff6fb86300 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Tue, 28 Mar 2023 17:04:34 +0800 Subject: [PATCH] third --- internal/api/route.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/api/route.go b/internal/api/route.go index 53d2a6de0..dcd663109 100644 --- a/internal/api/route.go +++ b/internal/api/route.go @@ -122,8 +122,8 @@ func NewGinRouter(zk discoveryregistry.SvcDiscoveryRegistry, rdb redis.Universal thirdGroup.POST("/apply_put", t.ApplyPut) thirdGroup.POST("/get_put", t.GetPut) thirdGroup.POST("/confirm_put", t.ConfirmPut) - thirdGroup.POST("/get_url", t.GetURL) - thirdGroup.GET("/get_url", t.GetURL) + thirdGroup.POST("/object", t.GetURL) + thirdGroup.GET("/object", t.GetURL) } ////Message msgGroup := r.Group("/msg")