增加用户导入
This commit is contained in:
@@ -350,6 +350,20 @@ export default {
|
||||
return await http.post(this.url, params);
|
||||
}
|
||||
},
|
||||
template:{
|
||||
url: `${config.API_URL}/user.import.template`,
|
||||
name: "用户资料导入模版",
|
||||
post: async function (params) {
|
||||
return await http.get(this.url,params,{responseType: 'arraybuffer'});
|
||||
}
|
||||
},
|
||||
import:{
|
||||
url: `${config.API_URL}/user.import`,
|
||||
name: "用户资料导入",
|
||||
post: async function (params) {
|
||||
return await http.post(this.url,params,{'Content-Type': 'multipart/form-data'});
|
||||
}
|
||||
},
|
||||
|
||||
generateRegistration:{
|
||||
url: `${config.API_URL}/generate.registration.challenge`,
|
||||
|
||||
Reference in New Issue
Block a user