From a6aa65c23ed133bb646e51840faa127897ca3359 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Wed, 11 Mar 2020 12:33:01 +0800 Subject: [PATCH] Update storage.md --- docs/uniCloud/storage.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/uniCloud/storage.md b/docs/uniCloud/storage.md index b568c8f9ce..a9d4f3cbe5 100644 --- a/docs/uniCloud/storage.md +++ b/docs/uniCloud/storage.md @@ -8,6 +8,23 @@ 上传文件到云存储,**阿里云单文件大小限制为100M,腾讯云单文件最大为5G** +**阿里云支持的文件类型** + +```js +{ + jpg: 'image/jpeg', + jpeg: 'image/jpeg', + png: 'image/png', + gif: 'image/gif', + webp: 'image/webp', + svg: 'image/svg+xml', + mp3: 'audio/mp3', + mp4: 'video/mp4', + ogg: 'audio/ogg', + webm: 'video/webm' +} +``` + #### 请求参数 **Object object** -- GitLab