浏览代码

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

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)