import api from '@/utils/api' /** * 根据消息通知主键获取消息信息 * @param messageId 消息通知主键 */ export function findMessageById(messageId) { return api({ url: '/message/getById', method: 'get', params: { messageId } }) } /** * 消息设置已读 */ export function settingReadMessage(userId, messageId) { return api({ url: '/message/settingReadMessage', method: 'post', data: { userId: userId, messageId: messageId } }) }