Files
tripellet-merchant/request/ticketReq.js
2023-06-06 17:11:04 +08:00

29 lines
550 B
JavaScript

import { myRequest } from "@/util/api.js";
// 已核销列表
export const getVerificationList = (params) => {
return myRequest({
method: "get",
url: `/machine/write-off-search`,
data: params,
});
};
// 删除核销记录
export const deleteVerificationRecord = (params) => {
return myRequest({
method: "post",
url: `/machine/write-off-del`,
data: params,
});
};
// 核销-店铺优惠券
export function getWriteOffInfo(data) {
return myRequest({
method: "get",
url: "/write-off/info",
data,
});
}