diff --git a/yudao-ui-admin/src/api/member/promoter.js b/yudao-ui-admin/src/api/member/promoter.js index cff9c19c2..5d4dadea8 100644 --- a/yudao-ui-admin/src/api/member/promoter.js +++ b/yudao-ui-admin/src/api/member/promoter.js @@ -68,6 +68,16 @@ export function getPromoterPage(query) { }) } +// 导出所有推广员 Excel +export function allExport(query) { + return request({ + url: '/member/promoter/all-export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + // 导出推广员 Excel export function exportPromoterExcel(query) { return request({ diff --git a/yudao-ui-admin/src/views/index.vue b/yudao-ui-admin/src/views/index.vue index 5bcd7e8f4..b4864185a 100644 --- a/yudao-ui-admin/src/views/index.vue +++ b/yudao-ui-admin/src/views/index.vue @@ -1,8 +1,10 @@