var wechat_checkST1 = null, wechat_checkCount1 = 0; function check_order(order_id){ $.get('&order_id='+order_id, function(s) { if(s=='1'){ clearTimeout(wechat_checkST1); $("#pay_success").show(); $("#show_wx").hide(); setTimeout(function(){ window.location.href=""; },2000) } }); } wechat_checkST1 = setInterval(function(){ check_order(order_id); }, 3000);
微信扫码成功之后检测
猜你喜欢
转载自blog.csdn.net/qq_25861247/article/details/80524005
今日推荐
周排行