Prechádzať zdrojové kódy

增加添加结果的消息监听

lichangdong 2 dní pred
rodič
commit
28eeda43b1

+ 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))