群组成员表添加成员索引和获取2个人共同群组的接口

This commit is contained in:
heavyrian2012
2022-10-28 21:56:20 +08:00
parent 731020ba0f
commit b8d8d2f8ed
12 changed files with 174 additions and 0 deletions
@@ -617,6 +617,13 @@ public class Main {
System.exit(-1);
}
groupIdsIMResult = GroupAdmin.getCommonGroups("user1", "user2");
if (groupIdsIMResult != null && groupIdsIMResult.getErrorCode() == ErrorCode.ERROR_CODE_SUCCESS) {
System.out.println("get user common groups success");
} else {
System.out.println("get user common groups failure");
System.exit(-1);
}
//仅专业版支持
if (commercialServer) {