import request from '@/utils/request'
|
|
// 查询【请填写功能名称】列表
|
export function listAnnotation(query) {
|
return request({
|
url: '/system/annotation/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 查询【请填写功能名称】详细
|
export function getAnnotation(id) {
|
return request({
|
url: '/system/annotation/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增【请填写功能名称】
|
export function addAnnotation(data) {
|
return request({
|
url: '/system/annotation',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改【请填写功能名称】
|
export function updateAnnotation(data) {
|
return request({
|
url: '/system/annotation',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除【请填写功能名称】
|
export function delAnnotation(id) {
|
return request({
|
url: '/system/annotation/' + id,
|
method: 'delete'
|
})
|
}
|
|
export function selectAllAnn(data) {
|
return request({
|
url: '/system/annotation/listAll',
|
method: 'get',
|
data: data
|
})
|
}
|