feat: 完成数据库备份列表

This commit is contained in:
ssongliu
2022-10-28 11:02:47 +08:00
committed by ssongliu
parent 8cf9c27f5f
commit 9f1e417c06
8 changed files with 120 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ func (s *BackupRouter) InitBackupRouter(Router *gin.RouterGroup) {
baRouter.POST("/buckets", baseApi.ListBuckets)
withRecordRouter.POST("", baseApi.CreateBackup)
withRecordRouter.POST("/del", baseApi.DeleteBackup)
withRecordRouter.POST("/record/download", baseApi.DownloadRecord)
withRecordRouter.POST("/record/del", baseApi.DeleteBackupRecord)
withRecordRouter.PUT(":id", baseApi.UpdateBackup)
}