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

fix: build

This commit is contained in:
2026-01-24 19:34:31 +08:00
parent 79f6bcd038
commit 7ff1329d50
2 changed files with 4 additions and 4 deletions

View File

@@ -12,9 +12,9 @@ type App struct {
mysql *mysql.App
}
func NewApp(t *gotext.Locale, setting biz.SettingRepo) *App {
func NewApp(t *gotext.Locale, setting biz.SettingRepo, databaseServer biz.DatabaseServerRepo) *App {
return &App{
mysql: mysql.NewApp(t, setting),
mysql: mysql.NewApp(t, setting, databaseServer),
}
}

View File

@@ -12,9 +12,9 @@ type App struct {
mysql *mysql.App
}
func NewApp(t *gotext.Locale, setting biz.SettingRepo) *App {
func NewApp(t *gotext.Locale, setting biz.SettingRepo, databaseServer biz.DatabaseServerRepo) *App {
return &App{
mysql: mysql.NewApp(t, setting),
mysql: mysql.NewApp(t, setting, databaseServer),
}
}