feat: complete wechat pay

This commit is contained in:
Rogee
2025-04-30 19:26:53 +08:00
parent 11288471d4
commit 67d6f3ec33
10 changed files with 44 additions and 21 deletions

View File

@@ -13,6 +13,10 @@ import (
)
func (f *Middlewares) Auth(ctx fiber.Ctx) error {
if strings.HasPrefix(ctx.Path(), "/v1/pay/callback/") {
return ctx.Next()
}
if strings.HasPrefix(ctx.Path(), "/v1/auth/") {
return ctx.Next()
}