Files
tripellet-merchant/request/ticketReq.js

38 lines
715 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,
});
}
// 提交核销
export const verification = (params) => {
return myRequest({
method: "post",
url: `/write-off/machine-submit`,
data: params,
});
};