From e12ede0b1ccc3afaf5c93720aaf432279ec64006 Mon Sep 17 00:00:00 2001 From: handongxun Date: Thu, 8 Sep 2022 14:44:55 +0800 Subject: [PATCH] =?UTF-8?q?ad-rewarded-video:=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=AF=B9=E5=BE=AE=E4=BF=A1=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=9A=84?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/ad-rewarded-video.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/component/ad-rewarded-video.md b/docs/component/ad-rewarded-video.md index 7c8460599..28e65d79b 100644 --- a/docs/component/ad-rewarded-video.md +++ b/docs/component/ad-rewarded-video.md @@ -414,6 +414,17 @@ export default { 2. 服务器通信和前端事件是并行的,前端需要轮询向服务器请求并验证结果 3. 不建议在 `uniAD` web控制修改回调的服务空间和云函数名称,因为修改后生效需要一段时间 +### 微信小程序说明@callbackweixin + +3.6.2+ 支持微信小程序服务器回调,目前仅支持使用 [uni-id](/uniCloud/uni-id-summary.html) 用户体系的小程序,后续支持非 uni-id 用户系统 + +#### 接入流程 + +1. 更新依赖库支持 +- 如果项目使用了 [uni-id](/uniCloud/uni-id-summary.html) 需要更新到 3.3.29+ +- 如果项目使用了 [uni-id-co](/uniCloud/uni-id-summary.html#save-user-token) 需要更新到 1.0.8+ +2. 使用 [uni-open-bridge](/uniCloud/uni-open-beidge.html) 托管三方开放平台数据 + ### Q&A Q: 回调为什么使用[uniCloud](https://uniapp.dcloud.net.cn/uniCloud/README),而不是直接配置开发者的服务器 @@ -478,7 +489,7 @@ const ProviderType = { KS: "ks" }; -const collectionName = "opendb-uniad-callback-log"; +const collectionName = "uni-ad-callback-log"; class DB { -- GitLab