From ca2232a31267cdc175c24d8adfed7144c238c99d Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 31 Mar 2023 21:25:56 +0800 Subject: [PATCH] update --- internal/logic/domain/group/model/group.go | 2 +- pkg/proto/push.ext.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/logic/domain/group/model/group.go b/internal/logic/domain/group/model/group.go index 1484621..eb2054e 100644 --- a/internal/logic/domain/group/model/group.go +++ b/internal/logic/domain/group/model/group.go @@ -457,7 +457,7 @@ func (g *Group) PushGroupMemberBanned(ctx context.Context, optId, userId int64, if err != nil { return err } - if isAllMemberBanned { + if !isAllMemberBanned { bannedUserResp, err := rpc.GetBusinessIntClient().GetUser(ctx, &pb.GetUserReq{UserId: userId}) if err != nil { return err diff --git a/pkg/proto/push.ext.proto b/pkg/proto/push.ext.proto index 5183de3..a444c2f 100644 --- a/pkg/proto/push.ext.proto +++ b/pkg/proto/push.ext.proto @@ -59,7 +59,7 @@ message RemoveGroupMemberPush { string deleted_user_name = 4; // 被删除的成员昵称 } -// 删除群组成员 PC_BANNED_GROUP_MEMBER = 122 +// 禁言群组成员 PC_BANNED_GROUP_MEMBER = 122 message BannedGroupMemberPush { int64 opt_id = 1; // 操作人用户id string opt_name = 2; // 操作人昵称