Explorar o código

增加添加结果的消息监听

lichangdong hai 2 días
pai
achega
28eeda43b1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      internal/service/MessageHandlers/register_strategy.go

+ 1 - 0
internal/service/MessageHandlers/register_strategy.go

@@ -44,6 +44,7 @@ func (h *MessageHandler) RegisterStrategies() {
 		//"ChatroomPushNotice":     toStrategy(NewChatroomPushNoticeTypeHandler),
 		"ContactLabelInfoNotice":      toStrategy(NewContactLabelInfoNotice),
 		"FindContactTaskResultNotice": toStrategy(NewFindContactTaskResultNoticeHandler),
+		"TaskResultNotice":            toStrategy(NewTaskResultNoticeHandler),
 	}
 	for msgType, strategyFunc := range strategyMap {
 		h.RegisterStrategy(msgType, strategyFunc(h.svcCtx))