feat: 系统备份接口声明
This commit is contained in:
1 parent
a3eb2f7abb
commit
e2ecd48485
3 files changed
+30
-10
No files matched your search
@@ -265,7 +265,15 @@ func init() {
|
||||
|
||||
// 数据库连接情况
|
||||
Register("GET", dbrest.UriDbConnection, dbrest.DbConnection, nil)
|
||||
Register("GET", dbrest.CustomUriDbConnection, dbrest.DbConnection, nil)
|
||||
Register("POST", dbrest.UriDbStop, dbrest.DbStop, nil)
|
||||
Register("POST", dbrest.CustomUriDbStop, dbrest.DbStop, nil)
|
||||
|
||||
// 系统备份
|
||||
Register("POST", dbrest.UriDbBackup, dbrest.DbBackup, nil)
|
||||
Register("POST", dbrest.CustomUriDbBackup, dbrest.DbBackup, nil)
|
||||
Register("POST", dbrest.UriConfBackup, dbrest.ConfBackup, nil)
|
||||
Register("POST", dbrest.CustomUriConfBackup, dbrest.ConfBackup, nil)
|
||||
|
||||
// 日志表备份
|
||||
Register("POST", lm.ExtBackupDataUri, lm.ExtDatabaseBackupData, nil)
|
||||
|
||||
Reference in new issue
Block a user