Blame view

yanshouban/src/api/advertisement.js 2.01 KB
6ee6b0b7   杨鑫   '最新'
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
  import request from '@/utils/request'
  // import request from '@/api/map'
  // 投放查询
  export function contractGetAll(data) {
    return request({
      url: '/cerePlacementManagement/queryByPage',
      method: 'post',
      data
    })
  }
  // 投放删除
  export function contractDel(data) {
    return request({
      url: '/cerePlacementManagement/deleteById',
      method: 'post',
      data
    })
  }
  
  // 投放新增
  export function addList(data) {
    return request({
      url: '/cerePlacementManagement/add',
      method: 'post',
      data
    })
  }
  
  
  export function updateList(data) {
    return request({
      url: '/cerePlacementManagement/edit',
      method: 'post',
      data
    })
  }
  
  //投放单条查询
  export function queryById(data) {
    return request({
      url: '/cerePlacementManagement/queryById',
      method: 'post',
      data
    })
  }
  
  //合同查询
  export function hetongById(data) {
    return request({
      url: '/cereContractInformation/queryByPage',
      method: 'post',
      data
    })
  }
  //合同单条查询
  export function hetongBy(data) {
    return request({
      url: '/cereContractInformation/queryById',
      method: 'post',
      data
    })
  }
  
  // 合同新增
  export function hetongadd(data) {
    return request({
      url: '/cereContractInformation/add',
      method: 'post',
      data
    })
  }
  
  // 合同编辑
  export function hetongEdit(data) {
    return request({
      url: '/cereContractInformation/updateById',
      method: 'post',
      data
    })
  }
  // 合同删除
  export function hetongDel(data) {
    return request({
      url: '/cereContractInformation/deleteById',
      method: 'post',
      data
    })
  }
  
  // 广告审核(广告申请租赁记录)
  export function AdvertiserInfoGetAll(data) {
    return request({
      url: '/cereAdvertiserInfo/queryByPage',
      method: 'post',
      data
    })
  }
  export function AdvertiserInfoEdit(data) {
    return request({
      url: '/cereAdvertiserInfo/edit',
      method: 'post',
      data
    })
  }
  export function AdvertiserInfoDel(data) {
    return request({
      url: '/cereAdvertiserInfo/deleteById',
      method: 'post',
      data
    })
  }