feat: complete buy and sell function

This commit is contained in:
Rogee
2024-12-13 18:09:10 +08:00
parent b9df73191b
commit 8a48f202f2
3 changed files with 62 additions and 13 deletions

View File

@@ -29,5 +29,5 @@ func (r *Router) Register(router fiber.Router) {
group.Get(":hash", r.controller.Show)
group.Get(":hash/:type<regex([video|audio])>", r.controller.MediaIndex)
group.Get(":hash/:type<regex([video|audio])>/:segment.ts", r.controller.MediaSegment)
group.Get(":hash/checkout", r.controller.Checkout)
group.Patch(":hash/checkout", r.controller.Checkout)
}