Newer
Older
KaiFengH5 / src / api / meessageApi.js
@zhangdeliang zhangdeliang on 24 May 681 bytes 项目初始化
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,
  });
}