diff --git a/src/assets/api.js b/src/assets/api.js index a021f2c0..69116f33 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -1094,4 +1094,19 @@ export const queryVoucherStatus = (id) => { return req("get", baseurl + "/order/voucher/queryVoucher/" + id) } +// 创建导出任务 +export const createExportTask = (data) => { + return req("post", baseurl + "/mks/admin/v1/settlement_order/export_record/create", data) +} + +// 导出任务列表 +export const exportTaskList = (params) => { + return req("get", baseurl + "/mks/admin/v1/settlement_order/export_record/list", params) +} + +// 下载excel +export const downExcel = (params) => { + return req("get", baseurl + "/mks/admin/v1/settlement_order/export_record/download", params) +} + export { req } diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index 4fcfaed0..397022f0 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -856,6 +856,7 @@ export default class addKnockGold extends Component { > 公众号 + 通用领取 ) : null}