feat(pay-v2): P8 Task3 订阅创建 + 首期激活(subscription.created)+ 端点
This commit is contained in:
@@ -45,6 +45,7 @@ func SetupV2(r *gin.Engine, g *gateway.Gateway) {
|
||||
v2 := r.Group("/api/v2")
|
||||
{
|
||||
v2.POST("/orders", h.CreateOrder)
|
||||
v2.POST("/subscriptions", h.CreateSubscription)
|
||||
v2.GET("/orders/:order_no", h.GetStatus)
|
||||
v2.POST("/orders/:order_no/retry", h.Retry)
|
||||
v2.POST("/orders/:order_no/cancel", h.Cancel)
|
||||
|
||||
Reference in New Issue
Block a user