From 95396ef1429735e055af610593c399016127f7d5 Mon Sep 17 00:00:00 2001 From: zhangds Date: Mon, 15 Apr 2024 09:04:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E6=96=B0=E7=BD=913?= =?UTF-8?q?=E4=B8=AA=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/api.js | 15 +++++++++++++++ src/components/knockGold/index.jsx | 1 + 2 files changed, 16 insertions(+) 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}