diff --git a/src/api/mall/promotion/article/index.ts b/src/api/mall/promotion/article/index.ts index c2941d057..824958ad2 100644 --- a/src/api/mall/promotion/article/index.ts +++ b/src/api/mall/promotion/article/index.ts @@ -40,8 +40,3 @@ export const updateArticle = async (data: ArticleVO) => { export const deleteArticle = async (id: number) => { return await request.delete({ url: `/promotion/article/delete?id=` + id }) } - -// 导出文章管理 Excel -export const exportArticle = async (params) => { - return await request.download({ url: `/promotion/article/export-excel`, params }) -} diff --git a/src/api/mall/promotion/articleCategory/index.ts b/src/api/mall/promotion/articleCategory/index.ts index 2950d759e..47f5e934d 100644 --- a/src/api/mall/promotion/articleCategory/index.ts +++ b/src/api/mall/promotion/articleCategory/index.ts @@ -37,8 +37,3 @@ export const updateArticleCategory = async (data: ArticleCategoryVO) => { export const deleteArticleCategory = async (id: number) => { return await request.delete({ url: `/promotion/article-category/delete?id=` + id }) } - -// 导出文章分类 Excel -export const exportArticleCategory = async (params) => { - return await request.download({ url: `/promotion/article-category/export-excel`, params }) -} diff --git a/src/views/mall/promotion/article/category/ArticleCategoryForm.vue b/src/views/mall/promotion/article/category/ArticleCategoryForm.vue index 39b1fc0fb..ac7e9f38b 100644 --- a/src/views/mall/promotion/article/category/ArticleCategoryForm.vue +++ b/src/views/mall/promotion/article/category/ArticleCategoryForm.vue @@ -37,6 +37,7 @@