import service from '@/utils/request'

// @Summary 获取文章列表
// @Produce  application/json
// @Router /cms/fetcher/getArticleList [post]
export const getFetcherArticleList = (data) => {
  return service({
    url: '/cms/fetcher/getArticleList',
    method: 'post',
    data
  })
}

// @Summary 根据id导入文章
// @accept application/json
// @Router /cms/fetcher/importArticle [get]
export const importFetcherArticleById = (params) => {
  return service({
    url: '/cms/fetcher/importArticle',
    method: 'get',
    params
  })
}
