first commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询查询日志列表
|
||||
export function listLog(query) {
|
||||
return request({
|
||||
url: '/system/log/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询查询日志详细
|
||||
export function getLog(id) {
|
||||
return request({
|
||||
url: '/system/log/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增查询日志
|
||||
export function addLog(data) {
|
||||
return request({
|
||||
url: '/system/log',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改查询日志
|
||||
export function updateLog(data) {
|
||||
return request({
|
||||
url: '/system/log',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除查询日志
|
||||
export function delLog(id) {
|
||||
return request({
|
||||
url: '/system/log/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user