mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-25 21:57:48 +00:00
前后端导出数据功能调试
This commit is contained in:
@@ -24,10 +24,15 @@ export function deleteLog(query) {
|
||||
});
|
||||
}
|
||||
|
||||
export function exportLog(body) {
|
||||
export function exportLog(query) {
|
||||
return request({
|
||||
url: "/api/v1/system/log/export",
|
||||
method: "post",
|
||||
data: body,
|
||||
});
|
||||
url: '/api/v1/system/log/export',
|
||||
method: 'post',
|
||||
data: query,
|
||||
responseType: 'blob',
|
||||
// headers: {
|
||||
// 'Content-Type': 'application/json',
|
||||
// 'Accept': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
||||
// }
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user