systemMessage.js 610 B

12345678910111213141516171819202122232425262728293031323334
  1. import request, { postBlob, getBlob, handleImport } from '@/utils/request'
  2. // 获取师傅列表
  3. export function noticeListPageV2(data) {
  4. return request({
  5. url: `/notice/list?moduleId=${data.moduleId}`,
  6. method: 'post',
  7. data
  8. })
  9. }
  10. export function noticePageExport(data, name) {
  11. return postBlob({
  12. url: '/notice/list/export',
  13. data,
  14. name
  15. })
  16. }
  17. export function getNoticeDetail(data) {
  18. return postBlob({
  19. url: '/notice/detail',
  20. method: 'post',
  21. data
  22. })
  23. }
  24. export function readNotice(data) {
  25. return postBlob({
  26. url: '/notice/mark/read',
  27. method: 'post',
  28. data
  29. })
  30. }