zhangwencui
3 天以前 8d4a66c31aa0f6418403ade8a780f27c9fa9d921
src/api/login.js
@@ -57,4 +57,23 @@
    method: 'post',
    data: data
  })
}
// 查询公告列表
export function listNotice(query) {
  return request({
    url: '/system/notice/list',
    method: 'get',
    params: query
  })
}
// 获取未读消息数量
export function getNoticeCount(consigneeId) {
  return request({
    url: '/system/notice/getCount',
    method: 'get',
    params: { consigneeId }
  })
}