2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 10:17:17 +08:00

feat: 下载回调

This commit is contained in:
2025-10-02 15:33:09 +08:00
parent f506b0425f
commit e19b4aa8e2
3 changed files with 14 additions and 4 deletions

View File

@@ -63,11 +63,11 @@ func initWeb() (*app.Web, error) {
if err != nil {
return nil, err
}
cacheRepo := data.NewCacheRepo(db)
logger := bootstrap.NewLog(koanf)
cacheRepo := data.NewCacheRepo(db)
queue := bootstrap.NewQueue()
taskRepo := data.NewTaskRepo(locale, db, logger, queue)
appRepo := data.NewAppRepo(locale, koanf, db, cacheRepo, taskRepo)
appRepo := data.NewAppRepo(locale, koanf, db, logger, cacheRepo, taskRepo)
userTokenRepo := data.NewUserTokenRepo(locale, db)
middlewares := middleware.NewMiddlewares(koanf, manager, appRepo, userTokenRepo)
userRepo := data.NewUserRepo(locale, db)