|
@@ -222,7 +222,7 @@ func DealUserMessage(recordID int, req *md.BatchSendUserMessageReq) { |
|
|
} |
|
|
} |
|
|
for _, customerServiceWithUser := range customerServiceWithUsers { |
|
|
for _, customerServiceWithUser := range customerServiceWithUsers { |
|
|
data := md2.IMEggEnergyStructForBatchSendMessageData{ |
|
|
data := md2.IMEggEnergyStructForBatchSendMessageData{ |
|
|
ReceiverType: int(pb.ReceiverType_RT_GROUP), |
|
|
|
|
|
|
|
|
ReceiverType: int(pb.ReceiverType_RT_USER), |
|
|
MessageType: req.Kind, |
|
|
MessageType: req.Kind, |
|
|
SendId: customerServiceWithUser.CustomerServiceUID, |
|
|
SendId: customerServiceWithUser.CustomerServiceUID, |
|
|
ReceiveIMId: customerServiceWithUser.UserIMID, |
|
|
ReceiveIMId: customerServiceWithUser.UserIMID, |
|
@@ -270,7 +270,7 @@ func DealUserMessage(recordID int, req *md.BatchSendUserMessageReq) { |
|
|
} |
|
|
} |
|
|
for _, customerServiceWithUser := range customerServiceWithUsers { |
|
|
for _, customerServiceWithUser := range customerServiceWithUsers { |
|
|
data := md2.IMEggEnergyStructForBatchSendMessageData{ |
|
|
data := md2.IMEggEnergyStructForBatchSendMessageData{ |
|
|
ReceiverType: int(pb.ReceiverType_RT_GROUP), |
|
|
|
|
|
|
|
|
ReceiverType: int(pb.ReceiverType_RT_USER), |
|
|
MessageType: req.Kind, |
|
|
MessageType: req.Kind, |
|
|
SendId: customerServiceWithUser.CustomerServiceUID, |
|
|
SendId: customerServiceWithUser.CustomerServiceUID, |
|
|
ReceiveIMId: customerServiceWithUser.UserIMID, |
|
|
ReceiveIMId: customerServiceWithUser.UserIMID, |
|
@@ -328,7 +328,7 @@ func DealUserMessage(recordID int, req *md.BatchSendUserMessageReq) { |
|
|
Find(&customerServiceWithUsers) |
|
|
Find(&customerServiceWithUsers) |
|
|
for _, customerServiceWithUser := range customerServiceWithUsers { |
|
|
for _, customerServiceWithUser := range customerServiceWithUsers { |
|
|
data := md2.IMEggEnergyStructForBatchSendMessageData{ |
|
|
data := md2.IMEggEnergyStructForBatchSendMessageData{ |
|
|
ReceiverType: int(pb.ReceiverType_RT_GROUP), |
|
|
|
|
|
|
|
|
ReceiverType: int(pb.ReceiverType_RT_USER), |
|
|
MessageType: req.Kind, |
|
|
MessageType: req.Kind, |
|
|
SendId: customerServiceWithUser.CustomerServiceUID, |
|
|
SendId: customerServiceWithUser.CustomerServiceUID, |
|
|
ReceiveIMId: customerServiceWithUser.UserIMID, |
|
|
ReceiveIMId: customerServiceWithUser.UserIMID, |
|
|