亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

node.js - 為什么微信的消息MsgId出現(xiàn)重復(fù)了,無(wú)法排重了。。
大家講道理
大家講道理 2017-04-17 15:57:46
0
1
1361

以前對(duì)消息排重是沒(méi)問(wèn)題的,MsgId不是重復(fù)的,可是今天測(cè)試發(fā)現(xiàn),居然微信服務(wù)器發(fā)過(guò)來(lái)的有幾次不同消息內(nèi)容的MsgId居然是一樣的,這種情況該怎么排重,排重的話(huà)會(huì)把其它一兩次不同消息的給排除掉的,那樣的話(huà)就接收不到了。。
急。。。

大家講道理
大家講道理

光陰似箭催人老,日月如移越少年。

reply all(1)
小葫蘆

1. Regarding retry message duplication, it is recommended to use msgid to deduplicate messages.

2. If the WeChat server does not receive a response within five seconds, it will disconnect the connection and re-initiate the request, retrying three times in total. If the server cannot guarantee to process and reply within five seconds, you can directly reply with an empty string. The WeChat server will not do anything with this and will not initiate a retry. For details, please see "Sending Messages - Passive Reply to Messages".

WeChat public platform developer documentation--receiving ordinary messages
According to the official documentation, MsgId should not be repeated. . .

In this case, you can only ask WeChat’s technical staff. . . With WeChat's technology, it should not be possible to duplicate IDs. . So is it possible that there is another problem?

Or is it possible a man-in-the-middle attack? Message tampering, forgery?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template