对接
This commit is contained in:
@@ -6,7 +6,10 @@ import (
|
||||
)
|
||||
|
||||
func RegisterRecharge(public, private *gin.RouterGroup, h *handler.Recharge) {
|
||||
public.GET("/live/recharge/providers", h.Providers)
|
||||
public.GET("/live/recharge/plans", h.Plans)
|
||||
private.GET("/live/recharge/orders/:orderNo", h.GetMine)
|
||||
private.GET("/live/recharge/orders/:orderNo/status", h.PaymentStatus)
|
||||
private.PUT("/live/admin/recharge/plans", h.SavePlans)
|
||||
private.GET("/live/admin/orders", h.List)
|
||||
private.GET("/live/admin/orders/:orderNo", h.Get)
|
||||
|
||||
Reference in New Issue
Block a user