fix: issues

This commit is contained in:
yanghao05
2025-04-25 21:19:03 +08:00
parent b35abb2090
commit 5bc3ae468d
15 changed files with 129 additions and 64 deletions

View File

@@ -6,9 +6,12 @@ import (
)
func (f *Middlewares) DebugMode(ctx fiber.Ctx) error {
log.Info("------------------")
log.Infof("c.Path: %s", ctx.Path())
log.Infof("Request Method: %s", ctx.Method())
log.Infof("FullURL: %s", ctx.Request().URI().FullURI())
log.Infof("StartPATH: %s", ctx.Params("*"))
log.Info("------------------")
return ctx.Next()
}