File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 3434
35352 . Web 端和小程序端 SDK 集成需要根据数据中心,填写配置对应的 webSocket 地址。
3636
37- | 数据中心名称 | Socket 地址 |
37+ | 数据中心 | Socket 地址 |
3838| :--------- | :----- |
3939| 中国 | wss://im-api-c1.chat.rtnsvc.com 或 wss://im-api-c1.chat.realtimemesh.com |
4040
41413 . RESTful 接口请求地址如下:
4242
43- | 数据中心名称 | RESTful API 请求地址 |
43+ | 数据中心 | RESTful API 请求地址 |
4444| :--------- | :----- |
4545| 中国 | https://c1.chat.rtnsvc.com 或 https://c1.chat.realtimemesh.com |
4646
47474 . 微信小程序、支付宝小程序的具体地址如下:
4848
49- | 数据中心名称 | 微信小程序 | 支付宝小程序 |
49+ | 数据中心 | 微信小程序 | 支付宝小程序 |
5050| :--------- | :----- | :----- |
5151| 中国 | im-api-wechat-c1.chat.rtnsvc.com 或 im-api-wechat-c1.chat.realtimemesh.com | im-api-alipay-c1.chat.rtnsvc.com 或 im-api-alipay-c1.chat.realtimemesh.com |
5252
Original file line number Diff line number Diff line change 88
99- 调用 [ RESTful API] ( /docs/sdk/server-side/account_system.html#注册用户 ) 注册用户账号,注册后保存到你的服务器或返给客户端。
1010
11- - 在[ 声网控制台] ( https://console.shengwang.cn/overview ) 按照如下步骤创建用户:
11+ - 在[ 声网控制台] ( https://console.shengwang.cn/overview ) 上创建用户。
12+
13+ ### 创建用户
14+
15+ 在[ 声网控制台] ( https://console.shengwang.cn/overview ) 按照如下步骤创建用户:
1216
13171 . 展开控制台左上角下拉框,选择需要开通即时通讯 IM 服务的项目。
1418
5862![ img] ( /images/product/login_userid_token.png )
5963
6064::: tip
61- 关 token 鉴权,详见 [ Token] ( /docs/sdk/server-side/token_authentication.html ) 。
65+ 关 token 鉴权,详见 [ 使用 Token 鉴权 ] ( /docs/sdk/server-side/token_authentication.html ) 。
6266:::
6367
Original file line number Diff line number Diff line change 88
99### 搭建微信小程序开发环境
1010
11- 首先需要下载并安装 [ 开发者工具] ( https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html ) ,然后按照微信小程序的 [ 接入流程] ( https://developers.weixin.qq.com/miniprogram/dev/framework/quickstart/getstart.html#%E7%94%B3%E8%AF%B7%E5%B8%90%E5%8F%B7 ) 一步步创建一个小程序
11+ 首先需要下载并安装 [ 开发者工具] ( https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html ) ,然后按照微信小程序的 [ 接入流程] ( https://developers.weixin.qq.com/miniprogram/dev/framework/quickstart/getstart.html#%E7%94%B3%E8%AF%B7%E5%B8%90%E5%8F%B7 ) 一步步创建一个小程序。
1212
1313### 配置服务器域名
1414
You can’t perform that action at this time.
0 commit comments