javascript - PC side WeChat login authorization js multiple request problem
怪我咯
怪我咯 2017-05-16 13:38:48
0
2
619

PC side WeChat login authorization js multiple request problem
The following is the js code:


The following is the page request:

After adding WeChat login authorization js to the page, there will be dozens of such requests before the page can be loaded completely, causing the page to open slowly, and it takes about 30 seconds to load completely.
I would like to ask if anyone has done something similar?

This function: PC scans the QR code, WeChat receives the login reminder, and after WeChat confirms the login, the PC logs in.

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
黄舟

Normally speaking, there is no problem. The page needs to check the authorization status through long polling to determine whether to log in

Check to see if the problem is elsewhere

黄舟


Added a function for self-tuning. At first there will only be a few such requests, but after a while there will still be many...

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