feat: add charge
This commit is contained in:
@@ -26,6 +26,6 @@ func (r *Router) Name() string {
|
||||
|
||||
func (r *Router) Register(router fiber.Router) {
|
||||
group := router.Group(r.Name())
|
||||
group.Get("", r.controller.List)
|
||||
group.Get("info", r.controller.Info)
|
||||
group.Patch("charge/:code", r.controller.Charge)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user