Blame view

pc-master/src/api/user/notice.js 852 Bytes
3f535f30   杨鑫   '初始'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
  import request from '@/util/server.js'
  
  // 查询消息列表
  export function getNoticeAll (params) {
      return request({
          url: '/notice/getAll',
          method: 'get',
          params
      })
  }
  
  // 查询消息详情
  export function getNoticeDetail (params) {
      return request({
          url: '/notice/getById',
          method: 'get',
          params
      })
  }
  
  // 读取消息
  export function readNotice (data) {
      return request({
          url: '/notice/readNotice',
          method: 'post',
          data
      })
  }
  
  // 查询消息详情
  export function noticeDel (data) {
      return request({
          url: '/notice/removeById',
          method: 'post',
          data
      })
  }
  
  // 查询消息详情
  export function getGongGaoAll (params) {
      return request({
          url: '/notice/getGongGaoAll',
          method: 'get',
          params
      })
  }