在文档中提到了回调下发在五秒内响应则不会重复下发,目前个人遇到的问题是在1s内必定连续收到了同一个回调下发2次,。
[2021-08-05 16:23:02.223] [INFO ] [http-nio-8090-exec-7] [WeCallBackController.java:49] - 企微回调通知接口 wxCpXmlMessage:{"approvalInfo":{},"batchJob":{},"changeType":"update","chatId":"","createTime":1628151775,"event":"change_external_chat","extAttrs":{"items":[]},"fromUserName":"sys","memberChangeCnt":"2","msgType":"event","quitScene":"0","scanCodeInfo":{},"sendLocationInfo":{},"sendPicsInfo":{"picList":[]},"toUserName":"","updateDetail":"del_member"}
[2021-08-05 16:23:02.224] [INFO ] [http-nio-8090-exec-7] [WeCallBackController.java:59] - 企微回调通知接口处理耗时:0
[2021-08-05 16:23:02.247] [INFO ] [http-nio-8090-exec-8] [WeCallBackController.java:49] - 企微回调通知接口 wxCpXmlMessage:{"approvalInfo":{},"batchJob":{},"changeType":"dismiss","chatId":"","createTime":1628151775,"event":"change_external_chat","extAttrs":{"items":[]},"fromUserName":"sys","msgType":"event","scanCodeInfo":{},"sendLocationInfo":{},"sendPicsInfo":{"picList":[]},"toUserName":""}
[2021-08-05 16:23:02.248] [INFO ] [http-nio-8090-exec-8] [WeCallBackController.java:59] - 企微回调通知接口处理耗时:0
[2021-08-05 16:23:02.257] [INFO ] [http-nio-8090-exec-9] [WeCallBackController.java:49] - 企微回调通知接口 wxCpXmlMessage:{"approvalInfo":{},"batchJob":{},"changeType":"update","chatId":"","createTime":1628151775,"event":"change_external_chat","extAttrs":{"items":[]},"fromUserName":"sys","memberChangeCnt":"2","msgType":"event","quitScene":"0","scanCodeInfo":{},"sendLocationInfo":{},"sendPicsInfo":{"picList":[]},"toUserName":"","updateDetail":"del_member"}
[2021-08-05 16:23:02.258] [INFO ] [http-nio-8090-exec-9] [WeCallBackController.java:59] - 企微回调通知接口处理耗时:0
[2021-08-05 16:23:02.262] [INFO ] [http-nio-8090-exec-10] [WeCallBackController.java:49] - 企微回调通知接口 wxCpXmlMessage:{"approvalInfo":{},"batchJob":{},"changeType":"dismiss","chatId":"","createTime":1628151775,"event":"change_external_chat","extAttrs":{"items":[]},"fromUserName":"sys","msgType":"event","scanCodeInfo":{},"sendLocationInfo":{},"sendPicsInfo":{"picList":[]},"toUserName":""}
[2021-08-05 16:23:02.262] [INFO ] [http-nio-8090-exec-10] [WeCallBackController.java:59] - 企微回调通知接口处理耗时:0
已解决,原因是:同时对应用配置的回调和企业的回调,所以推送了多次