| | |
| | | import service from "../libs/axios"; |
| | | |
| | | import { |
| | | getRequest, |
| | | postRequest, |
| | | putRequest, |
| | | deleteRequest |
| | | } from "@/libs/axios"; |
| | | export const addStoreCoupon = (params) =>{ |
| | | return service({ |
| | | url: "/lmk/storeCoupon", |
| | |
| | | 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') |
| | | } |