Преглед изворни кода

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

dxc пре 2 година
родитељ
комит
76e16cfadc
1 измењених фајлова са 2 додато и 2 уклоњено
  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)