javascript - The payment system is operated in the WeChat browser, and the result is multiple submissions. Is there any solution? Ajax doesn't work, token verification doesn't work, and time preprocessing doesn't work either.
我想大声告诉你
2017-05-16 12:58:23
It is normal if you use other methods. If you use WeChat browser, you will find that multiple requests have been made. . . Looking for solutions
I had a similar situation before, but the DNS resolution was abnormal, the jump was slow, and the browser automatically loaded 3 times.
Troubleshoot the problem first, set breakpoints in multiple places to record logs, and see where the problem started. Directly die() the page you are jumping to before calling the interface to see if this situation occurs after calling the interface.