feat: update auth middlewares

This commit is contained in:
yanghao05
2025-04-29 15:52:23 +08:00
parent c9a254b02e
commit cfdf4fa461
3 changed files with 12 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
package middlewares
import (
"quyun/providers/app"
"quyun/providers/jwt"
log "github.com/sirupsen/logrus"
@@ -10,6 +11,7 @@ import (
type Middlewares struct {
log *log.Entry `inject:"false"`
jwt *jwt.JWT
app *app.Config
}
func (f *Middlewares) Prepare() error {