From 57583058f6147302af4d45e0ab3777d7e1dfe784 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Wed, 15 Jan 2025 10:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=9A=84=E8=B7=AF=E7=94=B11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/router/router.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/api/router/router.go b/api/router/router.go index eaac5b0..b30553d 100644 --- a/api/router/router.go +++ b/api/router/router.go @@ -117,13 +117,6 @@ func publicRouter(r *gin.Engine, api controller.Api) { } } - // 支付中心 - payGroup := r.Group("/pay") - { - // 获取订单支付数据 - payGroup.POST("/order", api.Pay.GetPayOrder) - } - // 会员配置 memberGroup := r.Group("/member") { @@ -343,4 +336,11 @@ func privateRouter(r *gin.Engine, api controller.Api) { // 获取会员配置数据 memberGroup.GET("", api.SystemMember.GetSystemMember) } + + // 支付中心 + payGroup := r.Group("/pay") + { + // 获取订单支付数据 + payGroup.POST("/order", api.Pay.GetPayOrder) + } }