From 1117ef52179db5a075d5ee087d17f676c5a71c61 Mon Sep 17 00:00:00 2001 From: haoxiuwen Date: Tue, 5 Nov 2024 17:56:20 +0800 Subject: [PATCH] modify --- docs/document/server-side/message_chatroom.md | 2 +- docs/uikit/chatroomuikit/ios/roomuikit_best_practice.md | 5 ++--- docs/uikit/chatroomuikit/ios/roomuikit_quickstart.md | 2 ++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/document/server-side/message_chatroom.md b/docs/document/server-side/message_chatroom.md index e20a5c494..77af633f8 100644 --- a/docs/document/server-side/message_chatroom.md +++ b/docs/document/server-side/message_chatroom.md @@ -1169,7 +1169,7 @@ curl -L 'https://XXXX/XXXX/XXXX/messages/chatrooms/broadcast' \ | 400 | message_send_error | message is too large | 请求体内容中 `body` 和 `ext` 字段的内容过大。 | 限制 `body` 和 `ext` 字段的内容。 | | 403 | message_send_error | message send reach limit | 消息发送频率超出限制(默认 1 秒内只允许发送 100 条聊天室消息)。 | 限制消息发送频率,详见[文档说明](message_group.html#发送定向消息)。 | -1. 对于聊天室广播消息,如果返回的 HTTP 状态码非 `200`,表示请求失败。除了发送普通消息的常见错误码,还可能提示以下错误码: +3. 对于聊天室广播消息,如果返回的 HTTP 状态码非 `200`,表示请求失败。除了发送普通消息的常见错误码,还可能提示以下错误码: | HTTP 状态码 | 错误类型 | 错误提示 | 可能原因 | 处理建议 | |:---------|:-------------------|:-----------------|:-----------|:----------| diff --git a/docs/uikit/chatroomuikit/ios/roomuikit_best_practice.md b/docs/uikit/chatroomuikit/ios/roomuikit_best_practice.md index d02d3ed6f..f58670110 100644 --- a/docs/uikit/chatroomuikit/ios/roomuikit_best_practice.md +++ b/docs/uikit/chatroomuikit/ios/roomuikit_best_practice.md @@ -1,5 +1,7 @@ # 最佳实践 +若要了解以上最佳实践的详情,请访问 [GitHub 仓库](https://github.com/easemob/ChatroomDemo/tree/dev/iOS/ChatroomDemo)。 + ## 初始化 ChatroomUIKit 初始化是使用 ChatroomUIKit 的必要步骤,需在所有接口方法调用前完成。 @@ -72,6 +74,3 @@ addSubView(roomView) ChatroomUIKitClient.shared.registerRoomEventsListener(self) ``` -## 参考 - -若要了解以上最佳实践的详情,请访问 [GitHub 仓库](https://github.com/easemob/ChatroomDemo/tree/dev/iOS/ChatroomDemo)。 diff --git a/docs/uikit/chatroomuikit/ios/roomuikit_quickstart.md b/docs/uikit/chatroomuikit/ios/roomuikit_quickstart.md index a2fe97404..74e0de11a 100644 --- a/docs/uikit/chatroomuikit/ios/roomuikit_quickstart.md +++ b/docs/uikit/chatroomuikit/ios/roomuikit_quickstart.md @@ -85,3 +85,5 @@ let roomView = ChatroomUIKitClient.shared.launchRoomView(roomId: "Chat room ID", 点击屏幕下方的 `说点什么` 按钮唤起键盘,输入消息内容,点击 **发送** 按钮,发送消息。 ![img](/images/uikit/chatroomios/click_chat.png =500x500) + +上图为聊天室 Demo 显示的内容,如果要实现类似的样式,可以点击[这里](https://github.com/easemob/ChatroomDemo/tree/dev/iOS/ChatroomDemo)。 \ No newline at end of file