mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 01:57:19 +08:00
fix: build
This commit is contained in:
@@ -151,7 +151,7 @@ func initWeb() (*app.Web, error) {
|
||||
perconaApp := percona.NewApp(locale, settingRepo)
|
||||
phpmyadminApp := phpmyadmin.NewApp(locale)
|
||||
podmanApp := podman.NewApp()
|
||||
postgresqlApp := postgresql.NewApp(locale)
|
||||
postgresqlApp := postgresql.NewApp(locale, settingRepo)
|
||||
pureftpdApp := pureftpd.NewApp(locale)
|
||||
redisApp := redis.NewApp(locale)
|
||||
rsyncApp := rsync.NewApp(locale)
|
||||
|
||||
@@ -88,7 +88,7 @@ func initCli() (*app.Cli, error) {
|
||||
perconaApp := percona.NewApp(locale, settingRepo)
|
||||
phpmyadminApp := phpmyadmin.NewApp(locale)
|
||||
podmanApp := podman.NewApp()
|
||||
postgresqlApp := postgresql.NewApp(locale)
|
||||
postgresqlApp := postgresql.NewApp(locale, settingRepo)
|
||||
pureftpdApp := pureftpd.NewApp(locale)
|
||||
redisApp := redis.NewApp(locale)
|
||||
rsyncApp := rsync.NewApp(locale)
|
||||
|
||||
@@ -14,5 +14,10 @@ export default {
|
||||
// 获取日志
|
||||
log: (): any => http.Get('/apps/postgresql/log'),
|
||||
// 清空错误日志
|
||||
clearLog: (): any => http.Post('/apps/postgresql/clear_log')
|
||||
clearLog: (): any => http.Post('/apps/postgresql/clear_log'),
|
||||
// 获取 postgres 密码
|
||||
postgresPassword: (): any => http.Get('/apps/postgresql/postgres_password'),
|
||||
// 设置 postgres 密码
|
||||
setPostgresPassword: (password: string): any =>
|
||||
http.Post('/apps/postgresql/postgres_password', { password })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user