Преглед на файлове

增加添加结果的消息监听

lichangdong преди 2 дни
родител
ревизия
28eeda43b1
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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))