Newer
Older
KaiFengH5 / src / api / meessageApi.js
@鲁yixuan 鲁yixuan on 9 Jul 702 bytes update
import request from '@/utils/request';

// 分页条件查询站内消息
// export function messagePage(data) {
//   return request({
//     url: '/XKProxy/message/page',
//     method: 'post',
//     data: data,
//   });
// }
// 查询站内消息详情
export function messageDetail(id) {
  return request({
    url: '/XKProxy/message/detail/' + id,
    method: 'post',
  });
}
// 消息阅读
export function SeeMessage(id) {
  return request({
    url: '/XKProxy/message/read/' + id,
    method: 'post',
  });
}
// 查询app消息数量
export function queryUserMessageClass(data) {
  return request({
    url: '/XKProxy/message/queryUserMessageClass',
    method: 'post',
    data: data,
  });
}