From 462336ba7e503b02b5c990ddb04d75f70b0eaaf6 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Wed, 27 Nov 2024 18:28:58 +0800 Subject: [PATCH] update --- app/svc/im/svc_send_message.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/svc/im/svc_send_message.go b/app/svc/im/svc_send_message.go index 102cb35..769d5db 100644 --- a/app/svc/im/svc_send_message.go +++ b/app/svc/im/svc_send_message.go @@ -222,7 +222,7 @@ func DealUserMessage(recordID int, req *md.BatchSendUserMessageReq) { } for _, customerServiceWithUser := range customerServiceWithUsers { data := md2.IMEggEnergyStructForBatchSendMessageData{ - ReceiverType: int(pb.ReceiverType_RT_GROUP), + ReceiverType: int(pb.ReceiverType_RT_USER), MessageType: req.Kind, SendId: customerServiceWithUser.CustomerServiceUID, ReceiveIMId: customerServiceWithUser.UserIMID, @@ -270,7 +270,7 @@ func DealUserMessage(recordID int, req *md.BatchSendUserMessageReq) { } for _, customerServiceWithUser := range customerServiceWithUsers { data := md2.IMEggEnergyStructForBatchSendMessageData{ - ReceiverType: int(pb.ReceiverType_RT_GROUP), + ReceiverType: int(pb.ReceiverType_RT_USER), MessageType: req.Kind, SendId: customerServiceWithUser.CustomerServiceUID, ReceiveIMId: customerServiceWithUser.UserIMID, @@ -328,7 +328,7 @@ func DealUserMessage(recordID int, req *md.BatchSendUserMessageReq) { Find(&customerServiceWithUsers) for _, customerServiceWithUser := range customerServiceWithUsers { data := md2.IMEggEnergyStructForBatchSendMessageData{ - ReceiverType: int(pb.ReceiverType_RT_GROUP), + ReceiverType: int(pb.ReceiverType_RT_USER), MessageType: req.Kind, SendId: customerServiceWithUser.CustomerServiceUID, ReceiveIMId: customerServiceWithUser.UserIMID,