From 8342643c52611474a7a8f3bf199a744e5005d76e Mon Sep 17 00:00:00 2001 From: haoxiuwen Date: Fri, 11 Aug 2023 15:53:32 +0800 Subject: [PATCH 1/2] modify --- docs/document/android/group_manage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/document/android/group_manage.md b/docs/document/android/group_manage.md index cb19324b4..9e755fae8 100644 --- a/docs/document/android/group_manage.md +++ b/docs/document/android/group_manage.md @@ -179,8 +179,8 @@ do { ```java // 异步方法。同步方法为 getJoinedGroupsFromServer(int, int, boolean, boolean)。 -// pageIndex:当前页码,从 1 开始。 -// pageSize:每页期望返回的群组数。取值范围为[1,50]。 +// pageIndex:当前页码,从 0 开始。 +// pageSize:每页期望返回的群组数。取值范围为[1,20]。 List grouplist = EMClient.getInstance().groupManager().asyncGetJoinedGroupsFromServer(pageIndex, pageSize, needMemberCount, needRole, new EMValueCallBack>() { @Override public void onSuccess(List value) { From 90bf44fcbdc266a816b5bbc441123f8cbc709744 Mon Sep 17 00:00:00 2001 From: haoxiuwen Date: Fri, 11 Aug 2023 15:55:21 +0800 Subject: [PATCH 2/2] modify --- docs/document/react-native/group_manage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/document/react-native/group_manage.md b/docs/document/react-native/group_manage.md index f99613023..d72c6622f 100644 --- a/docs/document/react-native/group_manage.md +++ b/docs/document/react-native/group_manage.md @@ -165,8 +165,8 @@ ChatClient.getInstance() 用户可以调用 `fetchJoinedGroupsFromServer` 方法从服务器获取自己加入和创建的群组列表。示例代码如下: ```typescript -// pageNum:当前页码,从 1 开始。 -// pageSize:每页期望返回的群组数量,取值范围为[1,50]。 +// pageNum:当前页码,从 0 开始。 +// pageSize:每页期望返回的群组数量,取值范围为[1,20]。 const pageSize = 10; // 当前页码 const pageNum = 1;