Browse Source

fix:新增导出接口文档

master
Morning.Chen 2 years ago
parent
commit
eef85cb279
  1. 33
      README.md

33
README.md

@ -297,3 +297,36 @@ operation.reset();
} }
``` ```
#### 导出分析表数据
请求地址:```/api/v1/export```
请求类型:POST
请求参数: ``` {"tableId":"#表Id"} ```
返回值:
```json
{
"code":"200",
"data":"https://...(导出的文件下载地址)",
"success":true
}
```
#### 批量导出分析表数据
请求地址:```/api/v1/export/batch```
请求类型:POST
请求参数: ``` {"tableIds":["#表a Id", "#表b Id", ...]} ```
返回值:
```json
{
"code":"200",
"data":["https://...(表a下载地址)", "https://...(表b下载地址)", ...],
"success":true
}
```

Loading…
Cancel
Save