payment for mobile page is ready

This commit is contained in:
RockYang
2024-09-19 19:03:03 +08:00
parent 4976b967e7
commit 16ac57ced3
7 changed files with 112 additions and 60 deletions

View File

@@ -372,7 +372,7 @@ func main() {
}),
fx.Invoke(func(s *core.AppServer, h *handler.PaymentHandler) {
group := s.Engine.Group("/api/payment/")
group.GET("doPay", h.Pay)
group.POST("doPay", h.Pay)
group.GET("payWays", h.GetPayWays)
group.POST("notify/alipay", h.AlipayNotify)
group.GET("notify/geek", h.GeekPayNotify)