feat: add charge

This commit is contained in:
Rogee
2024-12-12 17:59:30 +08:00
parent 1bc12248aa
commit 259b334711
11 changed files with 143 additions and 14 deletions

View File

@@ -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)
}