Skip to content

Commit cbc53c9

Browse files
authored
Merge pull request #1065 from haoxiuwen/doc-v2
Modify IM Doc
2 parents e28d225 + 0050a65 commit cbc53c9

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

docs/document/android/easecallkit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ EaseCallKit 集成在环信开源 IM Demo 中,你可以通过进入 [环信 De
3232

3333
集成该库之前,你需要满足以下条件:
3434

35-
- 分别创建 [环信应用](/product/enable_and_configure_IM.html)[声网应用](https://docportal.shengwang.cn/cn/video-legacy/run_demo_video_call_ios?platform=iOS#1-创建声网项目)
35+
- 分别创建 [环信应用](/product/enable_and_configure_IM.html)[声网应用](https://doc.shengwang.cn/doc/rtc/android/get-started/enable-service#创建声网项目)
3636
- 已完成环信 IM 的基本功能,包括登录、好友、群组以及会话等的集成;
37-
- 上线之前开通声网 Token 验证时,用户需要实现自己的 [App Server](https://github.com/easemob/easemob-im-app-server/tree/master/agora-app-server),用于生成 Token。具体请参见 [创建 Token 服务及使用 App Server 生成 Token](https://docportal.shengwang.cn/cn/video-call-4.x/token_server_ios_ng)
37+
- 上线之前开通声网 Token 验证时,用户需要实现自己的 [App Server](https://github.com/easemob/easemob-im-app-server/tree/master/agora-app-server),用于生成 Token。具体请参见 [创建 Token 服务及使用 App Server 生成 Token](https://doc.shengwang.cn/doc/rtc/android/basic-features/token-authentication)
3838

3939
## 快速集成
4040

docs/document/android/error.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Android 中错误码的类为 `EMError`。
2323
| 103 | INVALID_URL | URL 不正确:该错误码已废弃。 |
2424
| 104 | INVALID_TOKEN | 用户 token 不正确:登录时提供的 token 为空或不正确。 |
2525
| 105 | USER_NAME_TOO_LONG | 用户 ID 过长:用户 ID 长度不能超过 64 字节。 |
26-
| 108 | TOKEN_EXPIRED | 声网 token 已过期:超出声网 token 有效期时间。 |
27-
| 109 | TOKEN_WILL_EXPIRE | 声网 token 即将过期:超出声网 token 有效期一半时间时会开始回调此错误码。 |
26+
| 108 | TOKEN_EXPIRED | 用户 token 已过期:超出 token 有效期时间。 |
27+
| 109 | TOKEN_WILL_EXPIRE | 用户 token 即将过期:超出 token 有效期一半时间时会开始回调此错误码。 |
2828
| 110 | INVALID_PARAM | 参数无效。 |
2929
| 200 | USER_ALREADY_LOGIN | 用户已登录:该用户 ID 已经登录。 |
3030
| 201 | USER_NOT_LOGIN | 用户未登录:例如,如果未登录成功时发送消息或者使用群组操作的 API,SDK 会提示该错误。 |

docs/document/harmonyos/error.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ HarmonyOS 中错误码的类为 `ChatError`。
2222
| 102 | INVALID_PASSWORD | 用户密码不正确:登录时提供的密码为空或不正确。 |
2323
| 104 | INVALID_TOKEN | 用户 token 不正确:登录时提供的 token 为空或不正确。 |
2424
| 105 | USER_NAME_TOO_LONG | 用户 ID 过长:用户 ID 长度不能超过 64 字节。 |
25-
| 108 | TOKEN_EXPIRED | 声网 token 已过期:超出声网 token 有效期时间。 |
26-
| 109 | TOKEN_WILL_EXPIRE | 声网 token 即将过期:超出声网 token 有效期一半时间时会开始回调此错误码。 |
25+
| 108 | TOKEN_EXPIRED | 用户 token 已过期:超出 token 有效期时间。 |
26+
| 109 | TOKEN_WILL_EXPIRE | 用户 token 即将过期:超出 token 有效期一半时间时会开始回调此错误码。 |
2727
| 110 | INVALID_PARAM | 参数无效。 |
2828
| 200 | USER_ALREADY_LOGIN | 用户已登录:该用户 ID 已经登录。 |
2929
| 201 | USER_NOT_LOGIN | 用户未登录:例如,如果未登录成功时发送消息或者使用群组操作的 API,SDK 会提示该错误。 |

docs/document/ios/easecallkit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ pod install
4040

4141
在集成该库前,你需要满足以下条件:
4242

43-
- 分别创建 [环信应用](/product/enable_and_configure_IM.html)[声网应用](https://docportal.shengwang.cn/cn/video-legacy/run_demo_video_call_ios?platform=iOS#1-创建声网项目)
43+
- 分别创建 [环信应用](/product/enable_and_configure_IM.html)[声网应用](https://doc.shengwang.cn/doc/rtc/ios/get-started/enable-service#创建声网项目)
4444
- 已完成环信 IM 的基本功能,包括登录、好友、群组以及会话等的集成;
45-
- 上线之前开通声网 token 验证时,用户需要实现自己的 [App Server](https://github.com/easemob/easemob-im-app-server/tree/master/agora-app-server),用于生成 token。利用 App Server 生成 token 的过程参见 [声网 token](https://docportal.shengwang.cn/cn/video-call-4.x/token_server_ios_ng?platform=iOS)
45+
- 上线之前开通声网 token 验证时,用户需要实现自己的 [App Server](https://github.com/easemob/easemob-im-app-server/tree/master/agora-app-server),用于生成 token。利用 App Server 生成 token 的过程参见 [声网 token](https://doc.shengwang.cn/doc/rtc/ios/basic-features/token-authentication)
4646

4747
## 快速集成
4848

docs/document/ios/error.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ iOS 的错误码只有当操作出错的时候才会有返回值,否则返回
2525
| 103 | EMErrorInvalidURL | URL 不正确,该错误码已废弃。 |
2626
| 104 | EMErrorInvalidToken | 用户 token 不正确:登录时提供的 token 为空或不正确。 |
2727
| 105 | EMErrorUsernameTooLong | 用户 ID 过长:用户 ID 长度不能超过 64 字节。 |
28-
| 108 | EMErrorTokenExpire | 声网 token 已过期:超出声网 token 有效期时间。 |
29-
| 109 | EMErrorTokeWillExpire | 声网 token 即将过期:超出声网 token 有效期一半时间时会开始回调此错误码。 |
28+
| 108 | EMErrorTokenExpire | 用户 token 已过期:超出用户 token 有效期时间。 |
29+
| 109 | EMErrorTokeWillExpire | 用户 token 即将过期:超出 token 有效期一半时间时会开始回调此错误码。 |
3030
| 110 | EMErrorInvalidParam | 参数无效。 |
3131
| 200 | EMErrorUserAlreadyLoginSame | 当前用户已经登录:该用户 ID 已经登录。 |
3232
| 201 | EMErrorUserNotLogin | 用户未登录:例如,如果未登录成功时调用发送消息或群组操作的 API 会提示该错误。 |

docs/document/unity/error.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ SDKClient.Instance.Login(username, passwd,
4444
| 102 | INVALID_PASSWORD | 用户密码不正确:登录时提供的密码为空或不正确。 |
4545
| 104 | INVALID_TOKEN | 用户 token 不正确:登录时提供的 token 为空或不正确。 |
4646
| 105 | USER_NAME_TOO_LONG | 用户 ID 过长:用户 ID 长度不能超过 64 字节。 |
47-
| 108 | TOKEN_EXPIRED | 声网 token 已过期:超出声网 token 有效期。 |
48-
| 109 | TOKEN_WILL_EXPIRE | 声网 token 即将过期:超出声网 token 的一半有效期时会开始回调此错误码。 |
47+
| 108 | TOKEN_EXPIRED | 用户 token 已过期:超出 token 有效期。 |
48+
| 109 | TOKEN_WILL_EXPIRE | 用户 token 即将过期:超出 token 的一半有效期时会开始回调此错误码。 |
4949
| 110 | INVALID_PARAM | 参数无效。 |
5050
| 200 | USER_ALREADY_LOGIN | 用户已登录:该用户 ID 已经登录。 |
5151
| 201 | USER_NOT_LOGIN | 用户未登录:例如,如果未登录成功时发送消息或者使用群组操作的 API,SDK 会提示该错误。 |

docs/document/windows/error.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ SDKClient.Instance.Login(username, passwd,
4444
| 102 | INVALID_PASSWORD | 用户密码不正确:登录时提供的密码为空或不正确。 |
4545
| 104 | INVALID_TOKEN | 登录时提供的 token 为空或不正确。 |
4646
| 105 | USER_NAME_TOO_LONG | 用户 ID 过长:用户名长度限制 64 个字节。 |
47-
| 108 | TOKEN_EXPIRED | 声网 token 已过期:超出声网 token 有效期时间。 |
48-
| 109 | TOKEN_WILL_EXPIRE | 声网 token 即将过期:超出声网 token 有效期一半时间时会开始回调此错误码。 |
47+
| 108 | TOKEN_EXPIRED | 用户 token 已过期:超出 token 有效期时间。 |
48+
| 109 | TOKEN_WILL_EXPIRE | 用户 token 即将过期:超出 token 有效期一半时间时会开始回调此错误码。 |
4949
| 200 | USER_ALREADY_LOGIN | 用户已经登录:同一个用户 ID 已经登录。 |
5050
| 201 | USER_NOT_LOGIN | 用户未登录:例如,如果未登录成功时发送消息,或者使用群组操作的 API,SDK 会提示该错误。 |
5151
| 202 | USER_AUTHENTICATION_FAILED | 用户鉴权失败:<br/> - 若使用用户 ID 和密码登录,用户 ID 或密码不正确时会上报改错误;<br/> - 若使用用户 ID 和用户 token 登录,一般为用户 token 无效或已过期。 |

0 commit comments

Comments
 (0)