feat: migrate serevices
Some checks failed
build quyun / Build (push) Failing after 2m50s

This commit is contained in:
2025-12-19 19:05:12 +08:00
parent 005585c53b
commit 557a641f41
71 changed files with 5626 additions and 280 deletions

View File

@@ -0,0 +1,19 @@
package utils
import (
"net/url"
"github.com/gofiber/fiber/v3"
)
func FullURI(ctx fiber.Ctx) string {
fullURL := string(ctx.Request().URI().FullURI())
u, err := url.Parse(fullURL)
if err != nil {
return ""
}
u.Scheme = ctx.Scheme()
u.Host = ctx.Host()
return u.String()
}