提交 902de9b0 编写于 作者: VK1688's avatar VK1688

update:ext-storage/dev.md

上级 f7bd5a45
......@@ -2995,5 +2995,20 @@ module.exports = {
[qshell-本地文件同步教程](https://github.com/qiniu/qshell/blob/master/docs/qupload.md)
### 私有文件如何使用图片处理?@q6
在调用 getTempFileURL 的时候,fileList 内带上图片处理参数即可
**云端代码**
```js
const extStorageManager = uniCloud.getExtStorageManager({
provider: "qiniu",
domain: "example.com", // 域名地址
});
let res = extStorageManager.getTempFileURL({
fileList: ["qiniu://test.jpg?imageMogr2/thumbnail/!20p"], // 文件地址列表
});
console.log('getTempFileURL: ', res);
return res;
```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册