Browse Source

update

master
DengBiao 1 year ago
parent
commit
35e9a1e0a9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/logic/app/group_app.go

+ 1
- 1
internal/logic/app/group_app.go View File

@@ -143,7 +143,7 @@ func (*groupApp) AddMembers(ctx context.Context, userId, groupId int64, userIds
if err != nil {
return nil, err
}
if imPackage.GroupNum <= int64(group.UserNum)+int64(len(userIds)) {
if imPackage.GroupNum < int64(group.UserNum)+int64(len(userIds)) {
return nil, errors.New("群人员数量已满!")
}



Loading…
Cancel
Save