浏览代码

fix 会话事件等待3s

zoujiajian 2 年之前
父节点
当前提交
5900a07bf8

+ 5 - 0
netflix-service/src/main/java/com/cyksj/service/corp/impl/CorpEventActionServiceImpl.java

@@ -575,6 +575,11 @@ public class CorpEventActionServiceImpl implements CorpEventActionService {
 		//外部联系人id
 		String externalUserId = message.getExternalUserId();
 		log.info("监听微信客户:{}发起会话事件", externalUserId);
+		try {
+			//等待3s
+			Thread.sleep(3000);
+		} catch (InterruptedException e) {
+		}
 		//获客链接id
 		String linkId = message.getLinkId();
 		CorpUserAuth corpUserAuth = corpUserAuthMapper.selectOne(Wrappers.lambdaQuery(CorpUserAuth.class)