敏感及重要用户功能

This commit is contained in:
2024-06-03 16:46:48 +08:00
parent 70b5812dc6
commit 8a01455042
6 changed files with 376 additions and 25 deletions

View File

@@ -26,6 +26,27 @@ export const getUserReportById = (id: any) => {
})
}
/**
* 下载敏感及重要用户模板
*/
export const downloadSensitiveUserTemplate = () => {
return createAxios({
url: MAPPING_PATH + '/downloadSensitiveUserTemplate',
method: 'GET',
responseType: 'blob'
})
}
/**
* 导入敏感及重要用户数据
*/
export const importSensitiveUserData = (data: any) => {
return createAxios({
url: MAPPING_PATH + '/importSensitiveUserData',
method: 'POST',
data: data
})
}