fix: issues
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"backend/modules/users"
|
||||
"backend/providers/app"
|
||||
"backend/providers/jwt"
|
||||
"backend/providers/storage"
|
||||
"backend/providers/wechat"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
@@ -11,11 +12,12 @@ import (
|
||||
|
||||
// @provider
|
||||
type Middlewares struct {
|
||||
app *app.Config
|
||||
client *wechat.Client
|
||||
userSvc *users.Service
|
||||
jwt *jwt.JWT
|
||||
log *log.Entry `inject:"false"`
|
||||
app *app.Config
|
||||
storagePath *storage.Config
|
||||
client *wechat.Client
|
||||
userSvc *users.Service
|
||||
jwt *jwt.JWT
|
||||
log *log.Entry `inject:"false"`
|
||||
}
|
||||
|
||||
func (f *Middlewares) Prepare() error {
|
||||
|
||||
Reference in New Issue
Block a user