Bladeren bron

新增自动流转到会话池功能

dxc 2 jaren geleden
bovenliggende
commit
76e16cfadc
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      internal/logic/callback/callbackmsglogic.go

+ 2 - 2
internal/logic/callback/callbackmsglogic.go

@@ -132,11 +132,11 @@ func KfMsgOrEventHandle(svcCtx *svc.ServiceContext, ct types.EventContent) {
 			}
 			//消息额外处理
 			if cbMsg.Msgtype == types.MsgTypeText {
-				msgTypeTextHandle(svcCtx, cbMsg)
+				go msgTypeTextHandle(svcCtx, cbMsg)
 			}
 			//事件消息额外处理
 			if cbMsg.Msgtype == types.MsgTypeEvent {
-				msgTypeEventHandle(svcCtx, cbMsg)
+				go msgTypeEventHandle(svcCtx, cbMsg)
 			}
 		}
 		go updateCustomerList(svcCtx, userIds)