diff --git a/docs/ext-storage/dev.md b/docs/ext-storage/dev.md index dec9a4218e053db30bce9001dfccfcc90b67b89b..d1622b4608443f10ccf1a772ab0324dece6d53a4 100644 --- a/docs/ext-storage/dev.md +++ b/docs/ext-storage/dev.md @@ -475,13 +475,11 @@ console.log('getCdnFlowRes: ', getCdnFlowRes); 注意 -1. 流量的单位时b,转成GB需要 `/1024/1024/1024` +1. 流量的单位是b,转成GB需要 `/1024/1024/1024` 2. china 代表国内流量,oversea 代表海外流量 ```json { - "code": 0, - "msg": "ok", "errCode": 0, "errMsg": "ok", "data": { @@ -2437,7 +2435,6 @@ https://web-ext-storage.dcloud.net.cn/unicloud/ext-storage/gogopher.png?qrcode **注意** -- 以下代码暂不支持本地运行,只能云端运行才能正常调用 - 如果你有多个空间开通了扩展存储,只需要其中任意一个空间部署这个定时任务即可,无需每个空间都部署一次 ```js diff --git a/docs/uni-sec-check.md b/docs/uni-sec-check.md index 0c665a8eaf058f7cdffc08b27469e9d847fcf7fd..d577cb046bf10a087c0a6db220f1de1136118542 100644 --- a/docs/uni-sec-check.md +++ b/docs/uni-sec-check.md @@ -121,7 +121,7 @@ const uniSecCheck = new UniSecCheck({ requestId: this.getUniCloudRequestId(), // 云函数内则写 context.requestId 云对象内则写 this.getUniCloudRequestId() }); const checkRes = await uniSecCheck.imgSecCheck({ - image: '', // 图片文件url或图片cloudID + image: '', // 图片文件url openid: '', // 用户的openid scene: 2, // 场景值 version: 2 // 接口版本号 @@ -133,7 +133,7 @@ console.log('checkRes: ', checkRes); |名称 |类型 |必填 |说明 | |-- |-- |-- |-- | -|image |String |是 |图片url或图片对应的cloudID | +|image |String |是 |图片url | |openid |String |否 |用户的openid(用户需在近两小时访问过小程序)version=2时必填| |scene |Number |否 |场景值(1 资料;2 评论;3 论坛;4 社交日志) | |version|Number |是 |接口版本号,可选1或2,但1的检测能力很弱 |