---新增备份管理中新增备份说明

This commit is contained in:
lai
2023-11-06 16:49:23 +08:00
parent 4e3e07f603
commit 8165bacace
3 changed files with 54 additions and 31 deletions

View File

@@ -79,3 +79,17 @@ export async function downloadNeBackup(data: Record<string, any>) {
timeout: 180_000,
});
}
/**
* 修改备份说明
* @param menuId 网元ID
* @returns object
*/
export async function updateBackInfo(data:Record<string,any>){
return request({
url: `/api/rest/databaseManagement/v1/omc_db/ne_backup?WHERE=id=${data.id}`,
method: 'put',
data: { data: { comment: data.backupInfo } },
});
}