企微通知功能对接

This commit is contained in:
mlogclub
2026-04-19 18:11:34 +08:00
parent 97c50fd326
commit c5bef3bd4f
7 changed files with 434 additions and 5 deletions
@@ -199,6 +199,7 @@ func (s *conversationService) AssignConversation(req request.AssignConversationR
if conversation := s.Get(req.ConversationID); conversation != nil {
WsService.PublishConversationChanged(conversation, enums.IMRealtimeEventConversationAssigned)
}
WxWorkNotifyService.NotifyConversationAssigned(req.ConversationID, req.AssigneeID, req.Reason)
return nil
}
@@ -285,6 +286,7 @@ func (s *conversationService) TransferConversation(conversationID, toUserID int6
if conversation := s.Get(conversationID); conversation != nil {
WsService.PublishConversationChanged(conversation, enums.IMRealtimeEventConversationTransferred)
}
WxWorkNotifyService.NotifyConversationAssigned(conversationID, toUserID, reason)
return nil
}