1. 基于 db 实现文件的存储

This commit is contained in:
YunaiV
2021-01-14 21:20:32 +08:00
parent f942b34d02
commit 629fa9b407
26 changed files with 351 additions and 168 deletions

View File

@ -34,7 +34,7 @@ export function logout() {
// 获取验证码
export function getCodeImg() {
return request({
url: '/captcha/get-image',
url: '/system/captcha/get-image',
method: 'get'
})
}

View File

@ -56,6 +56,7 @@ export function exportPost(query) {
return request({
url: '/system/post/export',
method: 'get',
params: query
params: query,
responseType: 'blob'
})
}

View File

@ -286,7 +286,7 @@ export default {
}).then(function() {
return exportPost(queryParams);
}).then(response => {
this.download(response.msg);
this.downloadExcel(response, '岗位数据.xls');
})
}
}