Blame view

yudao-admin-ui/src/api/infra/dbDoc.js 483 Bytes
a4a13efa   YunaiV   基于 screw 实现一个 mvp...
1
2
3
4
5
6
7
8
9
10
  // 导出参数
  import request from "@/utils/request";
  
  export function exportHtml() {
    return request({
      url: '/infra/db-doc/export-html',
      method: 'get',
      responseType: 'blob'
    })
  }
2fcb54b5   YunaiV   增加数据库文档的 html、wor...
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  
  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'
    })
  }