From bef38983f5ed0df56b718375d09ee085b5d45a3f Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Thu, 27 Mar 2025 20:55:22 +0800 Subject: [PATCH] plog2 --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index 9eba2ec..58e55ad 100644 --- a/server/server.go +++ b/server/server.go @@ -17,8 +17,8 @@ func initRoutge(engine *gin.Engine) { noTokenGroup.Use(base.Recovery).Use(base.Before) noTokenGroup.POST("/pay", controller.NewPayment().Pay) - noTokenGroup.GET("/payment/auth/alipay", controller.NewPayment().AlipayAuth) noTokenGroup.POST("/payment", controller.NewPayment().Pay) + noTokenGroup.GET("/payment/auth/alipay", controller.NewPayment().AlipayAuth) apiGroup.GET("/payment", controller.NewPayment().List) apiGroup.GET("/payment/suggest", controller.NewPayment().Suggest) noTokenGroup.Any("/qyweixin/approve/:cid", controller.NewQyWeixin().Approve)