From 2c5513e7e143eb698355ec67a2bb9e4a23a3bdc0 Mon Sep 17 00:00:00 2001 From: haoxiuwen Date: Thu, 19 Dec 2024 11:20:57 +0800 Subject: [PATCH 1/3] Add Two Whitelisted Domain Names for Request of Applet --- docs/document/applet/alipay.md | 2 ++ docs/document/applet/baidu.md | 2 ++ docs/document/applet/bytedance.md | 2 ++ docs/document/applet/qq.md | 2 ++ docs/document/applet/uniapp.md | 2 ++ docs/document/web/integration.md | 2 +- 6 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/document/applet/alipay.md b/docs/document/applet/alipay.md index df23f3a0f..02194976e 100644 --- a/docs/document/applet/alipay.md +++ b/docs/document/applet/alipay.md @@ -24,6 +24,8 @@ request 合法域名: 3. https://a3.easemob.com 4. https://a4.easemob.com 5. https://a5.easemob.com +7. https://rs.chat.agora.io +8. https://rs.easemob.com ::: :::tip diff --git a/docs/document/applet/baidu.md b/docs/document/applet/baidu.md index 582171718..aba0b2750 100644 --- a/docs/document/applet/baidu.md +++ b/docs/document/applet/baidu.md @@ -24,6 +24,8 @@ request 合法域名: 3. https://a3.easemob.com 4. https://a4.easemob.com 5. https://a5.easemob.com +6. https://rs.chat.agora.io +7. https://rs.easemob.com ::: :::tip diff --git a/docs/document/applet/bytedance.md b/docs/document/applet/bytedance.md index c1f0e431e..04d07af50 100644 --- a/docs/document/applet/bytedance.md +++ b/docs/document/applet/bytedance.md @@ -25,6 +25,8 @@ request 合法域名: 4. https://a4.easemob.com 5. https://a5.easemob.com 6. https://a1-chatfile.easemob.com +7. https://rs.chat.agora.io +8. https://rs.easemob.com ::: :::tip diff --git a/docs/document/applet/qq.md b/docs/document/applet/qq.md index 914d8ea14..751e3eed0 100644 --- a/docs/document/applet/qq.md +++ b/docs/document/applet/qq.md @@ -28,6 +28,8 @@ request 合法域名: 3. https://a3.easemob.com 4. https://a4.easemob.com 5. https://a5.easemob.com +6. https://rs.chat.agora.io +7. https://rs.easemob.com ::: :::tip diff --git a/docs/document/applet/uniapp.md b/docs/document/applet/uniapp.md index f48f6a51c..8291182b5 100644 --- a/docs/document/applet/uniapp.md +++ b/docs/document/applet/uniapp.md @@ -80,6 +80,8 @@ request 合法域名,uploadFile 合法域名,downloadFile 合法域名 8. https://a41.easemob.com 9. https://a51.easemob.com 10. https://a1-chatfile.easemob.com +11. https://rs.chat.agora.io +12. https://rs.easemob.com ::: :::tip diff --git a/docs/document/web/integration.md b/docs/document/web/integration.md index 6d5d8147b..a739b8343 100644 --- a/docs/document/web/integration.md +++ b/docs/document/web/integration.md @@ -89,7 +89,7 @@ miniCore.contact.getContacts(); #### 与整体导入的接口差别 -通过按需导入的 SDK 与通过 [JavaScript](#通过-javascript-导入-sdk)和 [TavaScript](#通过-typescript-导入-sdk)导入的 SDK 在接口使用方面类似,唯一差别是后者将所有方法都挂载到 `connection` 类, 而使用 miniCore 时,基础的登录登出方法挂载在 miniCore 上,其他功能模块上的方法挂载在相应的模块上。 +通过按需导入的 SDK 与通过 [JavaScript](#引入-javascript-sdk)和 [TavaScript](#引入-typescript-sdk)导入的 SDK 在接口使用方面类似,唯一差别是后者将所有方法都挂载到 `connection` 类, 而使用 miniCore 时,基础的登录登出方法挂载在 miniCore 上,其他功能模块上的方法挂载在相应的模块上。 本节以登录/登出、事件监听和发送消息为例进行说明。 From 64785427fea557522ea45dd9e86378b1540ee704 Mon Sep 17 00:00:00 2001 From: haoxiuwen Date: Thu, 19 Dec 2024 11:25:33 +0800 Subject: [PATCH 2/3] modify --- docs/.vuepress/sidebar/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/.vuepress/sidebar/index.ts b/docs/.vuepress/sidebar/index.ts index f93ba9342..3af84b2db 100644 --- a/docs/.vuepress/sidebar/index.ts +++ b/docs/.vuepress/sidebar/index.ts @@ -20,6 +20,7 @@ export const zhSidebar = sidebar({ children: [ { text: "产品概述", link: "introduction.html" }, { text: "特性介绍", + collapsible: true, children: [ { text: "消息", collapsible: true, From 0cdd6461c70e9d44f5fa2f4f6c5d9f2d791d82bd Mon Sep 17 00:00:00 2001 From: haoxiuwen Date: Thu, 19 Dec 2024 11:35:08 +0800 Subject: [PATCH 3/3] modify --- docs/.vuepress/sidebar/index.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/docs/.vuepress/sidebar/index.ts b/docs/.vuepress/sidebar/index.ts index 3af84b2db..4f471e491 100644 --- a/docs/.vuepress/sidebar/index.ts +++ b/docs/.vuepress/sidebar/index.ts @@ -68,22 +68,6 @@ export const zhSidebar = sidebar({ { text: "Demo 体验及源码地址", link: "demo_sourcecode_address.html" }, ], }, - { - text: "快速开始", - children: [ - { text: "使用环信 App Token 鉴权", link: "easemob_app_token.html" }, - { text: "使用环信 User Token 鉴权", link: "easemob_user_token.html" }, - { text: "快速开始 Android", link: "/document/android/quickstart.html" }, - { text: "快速开始 iOS", link: "/document/ios/quickstart.html" }, - { text: "快速开始 Web", link: "/document/web/quickstart.html" }, - { text: "快速开始 Applet", link: "/document/applet/wechat.html" }, - { text: "快速开始 HarmonyOS", link: "/document/harmonyos/quickstart.html" }, - { text: "快速开始 Flutter", link: "/document/flutter/quickstart.html" }, - { text: "快速开始 React Native", link: "/document/react-native/quickstart.html" }, - { text: "快速开始 Unity", link: "/document/unity/quickstart.html" }, - { text: "快速开始 Windows", link: "/document/windows/quickstart.html" }, - ], - }, { text: "内容审核", children: [