代码优化

This commit is contained in:
dqjdda
2019-11-24 11:04:01 +08:00
parent f7d78f4b98
commit b428376ed1
6 changed files with 80 additions and 266 deletions

View File

@@ -6,12 +6,3 @@ export function getErrDetail(id) {
method: 'get'
})
}
export function downloadLog(params) {
return request({
url: 'api/logs/download',
method: 'get',
params,
responseType: 'blob'
})
}

View File

@@ -34,11 +34,4 @@ export function edit(data) {
})
}
export function downloadRedis(params) {
return request({
url: 'api/redis/download',
method: 'get',
params,
responseType: 'blob'
})
}
export default { del, delAll }

View File

@@ -37,20 +37,4 @@ export function execution(id) {
})
}
export function downloadJobs(params) {
return request({
url: 'api/jobs/download',
method: 'get',
params,
responseType: 'blob'
})
}
export function downloadLogs(params) {
return request({
url: 'api/jobs/download/log',
method: 'get',
params,
responseType: 'blob'
})
}
export default { del, updateIsPause, execution, add, edit }