peng
昨天 6496b3f36d38f3196c4e41d0b9c329de646a2415
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
import service 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"
  })
}