Skip to content

Commit

Permalink
Update storage.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wanganxp committed Jul 21, 2020
1 parent 28014f7 commit 6b20be5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/uniCloud/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ uniCloud.getTempFileURL({

## deleteFile(Object object)

删除云端文件,**使用阿里云作为服务商时,不要使用客户端删除云端文件。**
删除云端文件,**使用阿里云作为服务商时,不要使用客户端删除云端文件,为保障安全,应该在云函数中进行相关操作**

#### 请求参数

Expand Down Expand Up @@ -230,6 +230,8 @@ uniCloud.deleteFile(
|---- |---- |
|× ||

如使用阿里云,请在前端通过uni-app的上传api进行上传,详见:[https://uniapp.dcloud.io/api/request/network-file?id=uploadfile](https://uniapp.dcloud.io/api/request/network-file?id=uploadfile)

#### 请求参数
**uploadFileOptions参数说明**

Expand Down Expand Up @@ -388,4 +390,4 @@ let result = await uniCloud.downloadFile({
|图片格式转换 |format |[点击查看](https://help.aliyun.com/document_detail/44703.html?spm=a2c4g.11186623.2.14.274651b0YkQ5hE#concept-mf3-md5-vdb) |
|图片质量调节 |quality |[点击查看](https://help.aliyun.com/document_detail/44705.html?spm=a2c4g.11186623.2.15.274651b0YkQ5hE#concept-exc-qp5-vdb) |
|图片水印 |watermark |[点击查看](https://help.aliyun.com/document_detail/44957.html?spm=a2c4g.11186623.2.16.274651b0YkQ5hE#concept-hrt-sv5-vdb) |
|视频截帧 |snapshot |[点击查看](https://help.aliyun.com/document_detail/64555.html?spm=a2c4g.11186623.2.17.274651b0YkQ5hE#concept-kz1-cwc-wdb) |
|视频截帧 |snapshot |[点击查看](https://help.aliyun.com/document_detail/64555.html?spm=a2c4g.11186623.2.17.274651b0YkQ5hE#concept-kz1-cwc-wdb) |

0 comments on commit 6b20be5

Please sign in to comment.