You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
import { defHttp } from '@/utils/http/axios'
|
|
|
|
|
|
|
|
// 导出Html
|
|
|
|
export const exportHtmlApi = async () => {
|
|
|
|
return defHttp.get({ url: '/infra/db-doc/export-html', responseType: 'blob' })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 导出Word
|
|
|
|
export const exportWordApi = () => {
|
|
|
|
return defHttp.get({ url: '/infra/db-doc/export-word', responseType: 'blob' })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 导出Markdown
|
|
|
|
export const exportMarkdownApi = () => {
|
|
|
|
return defHttp.get({ url: '/infra/db-doc/export-markdown', responseType: 'blob' })
|
|
|
|
}
|