You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
764 B

import request from '@/utils/request'
// 查询浏览记录列表
export function listHistory(query) {
return request({
url: '/mudu/history/list',
method: 'get',
params: query
})
}
// 查询浏览记录详细
export function getHistory(id) {
return request({
url: '/mudu/history/' + id,
method: 'get'
})
}
// 新增浏览记录
export function addHistory(data) {
return request({
url: '/mudu/history',
method: 'post',
data: data
})
}
// 修改浏览记录
export function updateHistory(data) {
return request({
url: '/mudu/history',
method: 'put',
data: data
})
}
// 删除浏览记录
export function delHistory(id) {
return request({
url: '/mudu/history/' + id,
method: 'delete'
})
}