| | |
| | | url: '/system/notice/' + noticeId, |
| | | method: 'delete' |
| | | }) |
| | | } |
| | | } |
| | | |
| | | // 消息通知-滚动分页查询 |
| | | export function pageNotice(query) { |
| | | return request({ |
| | | url: '/informationNotification/page', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // 消息通知-更新消息状态(拒绝、接收) |
| | | export function updateMessageStatus(query) { |
| | | return request({ |
| | | url: '/informationNotification/updateMessageStatus', |
| | | method: 'put', |
| | | data: query |
| | | }) |
| | | } |
| | | |
| | | // 消息通知-标记所有信息为已读/删除所有已读消息 |
| | | export function informationReadOrDelete(isMarkAllInformationRead) { |
| | | return request({ |
| | | url: '/informationNotification/informationReadOrDelete/' + isMarkAllInformationRead, |
| | | method: 'put', |
| | | }) |
| | | } |
| | | |
| | | // 消息通知-删除数据 |
| | | export function deleteDataBasedOnId(query) { |
| | | return request({ |
| | | url: '/informationNotification/deleteDataBasedOnId', |
| | | method: 'delete', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // 消息通知-查询是否存在未读数据 |
| | | export function checkForUnreadData() { |
| | | return request({ |
| | | url: '/informationNotification/checkForUnreadData', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | // 消息通知-点击详情触发修改状态为已读 |
| | | export function triggerModificationStatusToRead(id) { |
| | | return request({ |
| | | url: '/informationNotification/triggerModificationStatusToRead/' + id, |
| | | method: 'put', |
| | | }) |
| | | } |
| | | |
| | | // 消息通知-获取首页四种消息数量 |
| | | export function getNumberFourTypesMessagesHomePage() { |
| | | return request({ |
| | | url: '/informationNotification/getNumberFourTypesMessagesHomePage', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | |