70 lines
1.6 KiB
JavaScript
70 lines
1.6 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询消息历史记录列表
|
|
export function listNotificationHistorical(query) {
|
|
return request({
|
|
url: '/NotificationHistorical/NotificationHistorical/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询
|
|
export function listmysend() {
|
|
return request({
|
|
url: '/NotificationHistorical/NotificationHistorical/list/sender',
|
|
method: 'get',
|
|
})
|
|
}
|
|
// 查询消息历史记录列表
|
|
export function listNotificationHistoricalUser(data) {
|
|
return request({
|
|
url: '/NotificationHistorical/NotificationHistorical/list/userid',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 查询
|
|
export function listLatestarticle(data) {
|
|
return request({
|
|
url: '/NotificationHistorical/NotificationHistorical/list/latestarticle',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
|
|
// 查询消息历史记录详细
|
|
export function getNotificationHistorical(id) {
|
|
return request({
|
|
url: '/NotificationHistorical/NotificationHistorical/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增消息历史记录
|
|
export function addNotificationHistorical(data) {
|
|
return request({
|
|
url: '/NotificationHistorical/NotificationHistorical',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改消息历史记录
|
|
export function updateNotificationHistorical(data) {
|
|
return request({
|
|
url: '/NotificationHistorical/NotificationHistorical',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除消息历史记录
|
|
export function delNotificationHistorical(id) {
|
|
return request({
|
|
url: '/NotificationHistorical/NotificationHistorical/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|