zxl
昨天 58f9b26048ee04139a809986f366e3edf98cd7cd
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 service from "../libs/axios";
import {
  getRequest,
  postRequest,
  putRequest,
  deleteRequest
} from "@/libs/axios";
export const addStoreCoupon = (params) =>{
  return service({
    url: "/lmk/storeCoupon",
    method: "POST",
    data: params
  })
}
 
export const getPage = (params) =>{
  return service({
    url: "/lmk/storeCoupon",
    method: "GET",
    params: params
  })
}
export const getPageByStoreCoupon = (params) =>{
  return service({
    url: "/lmk/storeCoupon/getPageByStoreCoupon",
    method: "GET",
    params: params
  })
}
export const changeStatus = (id) =>{
  return service({
    url:  `/lmk/storeCoupon/changeStatus/${id}`,
    method: "POST"
  })
}
 
export const getPageByStoreCouponClaimRecord =(params) =>{
  return service({
    url:  `/lmk/storeCoupon/getPageByStoreCouponClaimRecord`,
    method: "GET",
    params: params
  })
}
export const queryExportCoupon = (params) =>{
  return getRequest("/lmk/storeCoupon/queryExportCoupon", params,'blob')
}