style: 优化导入用户部分界面及接口路径

This commit is contained in:
2024-10-30 22:22:25 +08:00
parent 146637c59d
commit 881c7e720e
3 changed files with 20 additions and 11 deletions

View File

@@ -44,13 +44,13 @@ export function resetUserPwd(data: any, id: string) {
}
/** @desc 下载用户导入模板 */
export function downloadImportUserTemplate() {
return http.download(`${BASE_URL}/downloadImportUserTemplate`)
export function downloadUserImportTemplate() {
return http.download(`${BASE_URL}/import/template`)
}
/** @desc 解析用户导入数据 */
export function parseImportUser(data: FormData) {
return http.post(`${BASE_URL}/parseImportUser`, data)
return http.post(`${BASE_URL}/import/parse`, data)
}
/** @desc 导入用户 */