代理在线充值
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m6s

This commit is contained in:
2026-07-27 16:02:55 +08:00
parent a2166c8011
commit cbf909b878
42 changed files with 3121 additions and 195 deletions

View File

@@ -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{"代理预充值"},