This commit is contained in:
@@ -23,7 +23,7 @@ func registerRefundRoutes(router fiber.Router, handler *admin.RefundHandler, doc
|
|||||||
})
|
})
|
||||||
groupPath := basePath + "/refunds"
|
groupPath := basePath + "/refunds"
|
||||||
|
|
||||||
Register(refund, doc, groupPath, "POST", "/", handler.Create, RouteSpec{
|
Register(refund, doc, groupPath, "POST", "", handler.Create, RouteSpec{
|
||||||
Summary: "创建退款申请",
|
Summary: "创建退款申请",
|
||||||
Tags: []string{"退款管理"},
|
Tags: []string{"退款管理"},
|
||||||
Input: new(dto.CreateRefundRequest),
|
Input: new(dto.CreateRefundRequest),
|
||||||
@@ -31,7 +31,7 @@ func registerRefundRoutes(router fiber.Router, handler *admin.RefundHandler, doc
|
|||||||
Auth: true,
|
Auth: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
Register(refund, doc, groupPath, "GET", "/", handler.List, RouteSpec{
|
Register(refund, doc, groupPath, "GET", "", handler.List, RouteSpec{
|
||||||
Summary: "退款申请列表",
|
Summary: "退款申请列表",
|
||||||
Tags: []string{"退款管理"},
|
Tags: []string{"退款管理"},
|
||||||
Input: new(dto.RefundListRequest),
|
Input: new(dto.RefundListRequest),
|
||||||
|
|||||||
Reference in New Issue
Block a user