This commit is contained in:
@@ -30,11 +30,12 @@ func registerAgentRechargeRoutes(router fiber.Router, handler *admin.AgentRechar
|
||||
})
|
||||
|
||||
Register(group, doc, groupPath, "GET", "", handler.List, RouteSpec{
|
||||
Summary: "查询代理充值订单列表",
|
||||
Tags: []string{"代理预充值"},
|
||||
Input: new(dto.AgentRechargeListRequest),
|
||||
Output: new(dto.AgentRechargeListResponse),
|
||||
Auth: true,
|
||||
Summary: "查询代理充值订单列表",
|
||||
Description: "平台账号可查看全部;代理账号仅返回自己店铺及下级店铺的充值订单。",
|
||||
Tags: []string{"代理预充值"},
|
||||
Input: new(dto.AgentRechargeListRequest),
|
||||
Output: new(dto.AgentRechargeListResponse),
|
||||
Auth: true,
|
||||
})
|
||||
|
||||
Register(group, doc, groupPath, "GET", "/payment-methods", handler.PaymentMethods, RouteSpec{
|
||||
|
||||
Reference in New Issue
Block a user