Update resources.md

This commit is contained in:
Tuuz 2024-03-18 14:01:47 +08:00 committed by GitHub
parent 6384694edd
commit cb9176cca0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -146,6 +146,9 @@ icon: video-camera
该接口用于获取语音哦当然这个接口目前使用的是base64返回主要为了照顾使用反向websocket的用户如果是正向用户或者getpost用户直接用/res/去拿数据更方便
如果你选择压缩目前文本压缩性能较好如果是音频或者视频压缩率只有95.7%左右大概只能节省5%的带宽,是否使用压缩获取可以自行考虑
### API 端点
`/get_file`
@ -155,7 +158,7 @@ icon: video-camera
| 字段 | 类型 | 必须 | 说明 |
| ---------- | ------ | ---- | -------- |
| file | string | 是 | 文件 MD5 |
| file_type | string | 是 | 输出格式 |
| file_type | string | 是 | 输出格式,支持base64|gzip,如果获取大文件,可以选择压缩 |
### 响应