1 2 |
|
微信连Wi-Fi协议3.1供运营商portal呼起微信浏览器使用
*/
loadIframe = null;
noResponse = null;
putNoResponse(ev){
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|
jsonpCallback(result){
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
Wechat_GotoRedirect(appId, extend, timestamp, sign, shopId, authUrl, mac, ssid, bssid){
1 2 3 |
|
"&extend=" + extend
"×tamp=" + timestamp
"&sign=" + sign;
1 2 3 4 5 |
|
= "https://wifi.weixin.qq.com/operator/callWechat.xhtml?appId=" + appId
"&extend=" + extend
"×tamp=" + timestamp
"&sign=" + sign
"&shopId=" + shopId
"&authUrl=" + encodeURIComponent(authUrl)
"&mac=" + mac
"&ssid=" + ssid
"&bssid=" + bssid;
1 2 3 4 |
|
script = document.createElement('script');
1 2 3 |
|
1 2 |
|