Blame view

wenjuan/src/api/notice.js 618 Bytes
e5b57447   杨鑫   '分包问卷'
1
2
3
4
  import request from '@/utils/request'
  
  // ******消息中心******
  // 历史消息查询
b12ba7ef   杨鑫   '最新'
5
  export function noticeGetAll (data) {
e5b57447   杨鑫   '分包问卷'
6
7
8
9
10
11
12
13
    return request({
      url: '/notice/getAll',
      method: 'post',
      data
    })
  }
  
  // 消息详情
b12ba7ef   杨鑫   '最新'
14
  export function noticeGetById (data) {
e5b57447   杨鑫   '分包问卷'
15
16
17
18
19
20
21
22
    return request({
      url: '/notice/getById',
      method: 'post',
      data
    })
  }
  
  // 消息详情
b12ba7ef   杨鑫   '最新'
23
  export function noticeDelete (data) {
e5b57447   杨鑫   '分包问卷'
24
25
26
27
28
29
30
31
    return request({
      url: '/notice/delete',
      method: 'post',
      data
    })
  }
  
  // 发送消息
b12ba7ef   杨鑫   '最新'
32
  export function noticeSave (data) {
e5b57447   杨鑫   '分包问卷'
33
34
35
36
37
38
    return request({
      url: '/notice/save',
      method: 'post',
      data
    })
  }