dbDoc.js 483 Bytes
Newer Older
sunhongwei's avatar
sunhongwei committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
// 导出参数
import request from "@/utils/request";

export function exportHtml() {
  return request({
    url: '/infra/db-doc/export-html',
    method: 'get',
    responseType: 'blob'
  })
}

export function exportWord() {
  return request({
    url: '/infra/db-doc/export-word',
    method: 'get',
    responseType: 'blob'
  })
}

export function exportMarkdown() {
  return request({
    url: '/infra/db-doc/export-markdown',
    method: 'get',
    responseType: 'blob'
  })
}