完善导入模块
This commit is contained in:
@@ -231,7 +231,7 @@ export default {
|
||||
url: `${config.API_URL}/organization.import`,
|
||||
name: "公司资料导入",
|
||||
post: async function (params) {
|
||||
return await http.post(this.url,params);
|
||||
return await http.post(this.url,params,{'Content-Type': 'multipart/form-data'});
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -294,6 +294,13 @@ export default {
|
||||
return await http.post(this.url, params);
|
||||
},
|
||||
},
|
||||
logout: {
|
||||
url: `${config.API_URL}/user.logout`,
|
||||
name: "用户退出",
|
||||
post: async function (params) {
|
||||
return await http.post(this.url, params);
|
||||
}
|
||||
},
|
||||
add:{
|
||||
url: `${config.API_URL}/user.add`,
|
||||
name: "用户新增",
|
||||
|
||||
Reference in New Issue
Block a user