优化结构
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
func RegisterPayment(group, public *gin.RouterGroup, h *Payment) {
|
||||
payment := group.Group("/payment")
|
||||
payment.GET("/orders", h.Orders)
|
||||
payment.POST("/providers/:provider/test", h.TestProvider)
|
||||
payment.POST("/order", h.Order)
|
||||
payment.GET("/orders/:provider/:tradeNo", h.OrderByPath)
|
||||
payment.POST("/create", h.Create)
|
||||
|
||||
Reference in New Issue
Block a user