mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-01 08:57:14 +08:00
style: 优化导入用户部分界面及接口路径
This commit is contained in:
@@ -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 导入用户 */
|
||||
|
||||
Reference in New Issue
Block a user