2.4dev 修复一些错误和新增日志一键清空,异常日志导出接口 (#56)

* 1.新增日志信息一键清空按钮

* 1.新增日志信息一键清空按钮

* 1.修复新增用户,编辑用户,角色在一次失败了,roles 传入后台格式错误问题
This commit is contained in:
zoulejiu
2019-12-09 16:57:53 +08:00
committed by elunez
parent f138923760
commit 54f04c82d1
6 changed files with 293 additions and 75 deletions

View File

@@ -6,3 +6,17 @@ export function getErrDetail(id) {
method: 'get'
})
}
export function delAllError() {
return request({
url: 'api/logs/del/error',
method: 'delete'
})
}
export function delAllInfo() {
return request({
url: 'api/logs/del/info',
method: 'delete'
})
}