From 904c4d5e356a81c6382c038cebe09a2c53a27d3b Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Wed, 15 Jan 2025 10:29:13 +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=B112?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/router/router.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/api/router/router.go b/api/router/router.go index b30553d..b431e9d 100644 --- a/api/router/router.go +++ b/api/router/router.go @@ -117,6 +117,13 @@ func publicRouter(r *gin.Engine, api controller.Api) { } } + // 支付中心 + payGroup := r.Group("/pay") + { + // 获取订单支付数据 + payGroup.POST("/order", api.Pay.GetPayOrder) + } + // 会员配置 memberGroup := r.Group("/member") { @@ -337,10 +344,4 @@ func privateRouter(r *gin.Engine, api controller.Api) { memberGroup.GET("", api.SystemMember.GetSystemMember) } - // 支付中心 - payGroup := r.Group("/pay") - { - // 获取订单支付数据 - payGroup.POST("/order", api.Pay.GetPayOrder) - } }