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

@@ -22,7 +22,7 @@ func (r Response) Error() string {
}
func (r Response) Response(ctx fiber.Ctx) error {
return ctx.Status(r.Code).JSON(r)
return ctx.Status(r.StatusCode).JSON(r)
}
var (