This commit is contained in:
@@ -25,7 +25,7 @@ func registerAgentRechargeRoutes(router fiber.Router, handler *admin.AgentRechar
|
||||
Summary: "创建代理充值订单",
|
||||
Tags: []string{"代理预充值"},
|
||||
Input: new(dto.CreateAgentRechargeRequest),
|
||||
Output: new(dto.AgentRechargeResponse),
|
||||
Output: new(dto.AgentRechargeOnlineResponse),
|
||||
Auth: true,
|
||||
})
|
||||
|
||||
@@ -37,6 +37,21 @@ func registerAgentRechargeRoutes(router fiber.Router, handler *admin.AgentRechar
|
||||
Auth: true,
|
||||
})
|
||||
|
||||
Register(group, doc, groupPath, "GET", "/payment-methods", handler.PaymentMethods, RouteSpec{
|
||||
Summary: "查询代理在线充值可用支付方式",
|
||||
Tags: []string{"代理预充值"},
|
||||
Output: new(dto.AgentRechargePaymentMethodsResponse),
|
||||
Auth: true,
|
||||
})
|
||||
|
||||
Register(group, doc, groupPath, "GET", "/:id/payment-status", handler.PaymentStatus, RouteSpec{
|
||||
Summary: "查询代理充值本地支付与到账状态",
|
||||
Tags: []string{"代理预充值"},
|
||||
Input: new(dto.IDReq),
|
||||
Output: new(dto.AgentRechargePaymentStatusResponse),
|
||||
Auth: true,
|
||||
})
|
||||
|
||||
Register(group, doc, groupPath, "GET", "/:id", handler.Get, RouteSpec{
|
||||
Summary: "查询代理充值订单详情",
|
||||
Tags: []string{"代理预充值"},
|
||||
|
||||
Reference in New Issue
Block a user