Blame view

admin-web-master/src/api/couponmanagement/capitalpool.js 1.16 KB
764a832f   李宇   资金池
1
  import request from '@/utils/request'
b1d468f9   李宇   1
2
3
4
5
6
7
8
9
10
  
  export function addcereCouponCategory(data) {
    return request({
      url: '/cereCouponCategory/add',
      method: 'post',
      data
    })
  }
  
084351b6   李宇   1
11
12
13
14
15
16
17
18
  // 查询剩余金额
  export function totalCapitalBalance(data) {
    return request({
      url: '/cereCouponMainTable/totalCapitalBalance',
      method: 'post',
      data
    })
  }
764a832f   李宇   资金池
19
20
  export function getcereFundsPoolData(data) {
    return request({
084351b6   李宇   1
21
      url: '/cereFundsPool/queryByPage',
764a832f   李宇   资金池
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
      method: 'post',
      data
    })
  }
  
  /**
  {
  	"activityId": 0
  }
   */
  export function getcereFundsPoolDetail(data) {
    return request({
      url: '/cereFundsPool/getById',
      method: 'post',
      data
    })
  }
  
  
  export function addcereFundsPool(data) {
    return request({
      url: '/cereFundsPool/add ',
      method: 'post',
      data
    })
  }
084351b6   李宇   1
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
  export function delPool(data) {
    return request({
      url: '/cereFundsPool/deleteById ',
      method: 'post',
      data
    })
  }
  export function editPool(data) {
    return request({
      url: '/cereFundsPool/edit ',
      method: 'post',
      data
    })
  }
  //添加优惠券
  export function cereCouponMainTable(data) {
    return request({
      url: '/cereCouponMainTable/add ',
      method: 'post',
      data
    })
  }