群组添加成员时,检查是否已经存在群组成员, fix issue #501

This commit is contained in:
heavyrian2012
2022-08-03 12:19:03 +08:00
parent 8c88d5a13f
commit c3b9b9fccf
2 changed files with 30 additions and 15 deletions
@@ -29,6 +29,7 @@ public enum ErrorCode {
//Group error
ERROR_CODE_GROUP_ALREADY_EXIST(11, "group already exist"),
ERROR_CODE_ALREADY_IN_GROUP(12, "member already in group"),
//user error
ERROR_CODE_FRIEND_ALREADY_REQUEST(16, "already send request"),