talk_appAmin/api/signln/NotificationHistorical/NotificationHistorical.js

70 lines
1.6 KiB
JavaScript
Raw Normal View History

2024-06-18 19:06:14 +08:00
import request from '@/utils/request'
// 查询消息历史记录列表
export function listNotificationHistorical(query) {
return request({
url: '/NotificationHistorical/NotificationHistorical/list',
method: 'get',
params: query
})
}
2024-06-29 18:35:54 +08:00
// 查询
export function listmysend() {
return request({
url: '/NotificationHistorical/NotificationHistorical/list/sender',
method: 'get',
})
}
2024-06-18 19:06:14 +08:00
// 查询消息历史记录列表
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'
})
}