瀏覽代碼

update

master
shenjiachi 21 小時之前
父節點
當前提交
462336ba7e
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      app/svc/im/svc_send_message.go

+ 3
- 3
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,


Loading…
取消
儲存