修改管理端客服显示

dev
zhou 2024-09-26 20:42:28 +08:00
parent 0f17a4cb0c
commit f9994c680d
1 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询消息历史记录列表 // 查询消息历史记录列表
export function listNotificationHistorical(query) { export function listNotificationHistorical(query) {
return request({ return request({
url: '/NotificationHistorical/NotificationHistorical/list', url: '/user/NotificationHistorical/NotificationHistorical/list',
method: 'get', method: 'get',
params: query params: query
}) })
@ -11,14 +11,14 @@ export function listNotificationHistorical(query) {
// 查询 // 查询
export function listmysend() { export function listmysend() {
return request({ return request({
url: '/NotificationHistorical/NotificationHistorical/list/sender', url: '/user/NotificationHistorical/NotificationHistorical/list/sender',
method: 'get', method: 'get',
}) })
} }
// 查询消息历史记录列表 // 查询消息历史记录列表
export function listNotificationHistoricalUser(data) { export function listNotificationHistoricalUser(data) {
return request({ return request({
url: '/NotificationHistorical/NotificationHistorical/list/userid', url: '/user/NotificationHistorical/NotificationHistorical/list/userid',
method: 'get', method: 'get',
params: data params: data
}) })
@ -27,7 +27,7 @@ export function listNotificationHistoricalUser(data) {
// 查询 // 查询
export function listLatestarticle(data) { export function listLatestarticle(data) {
return request({ return request({
url: '/NotificationHistorical/NotificationHistorical/list/latestarticle', url: '/user/NotificationHistorical/NotificationHistorical/list/latestarticle',
method: 'get', method: 'get',
params: data params: data
}) })
@ -37,7 +37,7 @@ export function listLatestarticle(data) {
// 查询消息历史记录详细 // 查询消息历史记录详细
export function getNotificationHistorical(id) { export function getNotificationHistorical(id) {
return request({ return request({
url: '/NotificationHistorical/NotificationHistorical/' + id, url: '/user/NotificationHistorical/NotificationHistorical/' + id,
method: 'get' method: 'get'
}) })
} }
@ -45,7 +45,7 @@ export function getNotificationHistorical(id) {
// 新增消息历史记录 // 新增消息历史记录
export function addNotificationHistorical(data) { export function addNotificationHistorical(data) {
return request({ return request({
url: '/NotificationHistorical/NotificationHistorical', url: '/user/NotificationHistorical/NotificationHistorical',
method: 'post', method: 'post',
data: data data: data
}) })
@ -54,7 +54,7 @@ export function addNotificationHistorical(data) {
// 修改消息历史记录 // 修改消息历史记录
export function updateNotificationHistorical(data) { export function updateNotificationHistorical(data) {
return request({ return request({
url: '/NotificationHistorical/NotificationHistorical', url: '/user/NotificationHistorical/NotificationHistorical',
method: 'put', method: 'put',
data: data data: data
}) })
@ -63,7 +63,7 @@ export function updateNotificationHistorical(data) {
// 删除消息历史记录 // 删除消息历史记录
export function delNotificationHistorical(id) { export function delNotificationHistorical(id) {
return request({ return request({
url: '/NotificationHistorical/NotificationHistorical/' + id, url: '/user/NotificationHistorical/NotificationHistorical/' + id,
method: 'delete' method: 'delete'
}) })
} }