feat: update admin

This commit is contained in:
yanghao05
2025-04-28 19:12:31 +08:00
parent 82c112b1eb
commit 685c87207f
12 changed files with 251 additions and 238 deletions

View File

@@ -7,6 +7,7 @@ import (
)
func (f *Middlewares) AuthAdmin(ctx fiber.Ctx) error {
return ctx.Next()
if !strings.HasPrefix(ctx.Path(), "/v1/admin") {
return ctx.Next()
}