使用微信扫一扫登录
「金年会 统一身份认证」
");var n=new RegExp("[?&]"+e+"(=([^]*)|&|#|$)"),c=n.exec(t);return c?c[2]?decodeURIComponent(c[2].replace(/\+/g," ")):"":null}function n(e){var t=document.location.search||document.location.hash;if(t){if("?"===t[0]&&(t=t.slice(1)),null===e)return decodeURIComponent(t);for(var n=t.split("&"),c=0,o=n.length;c=1-(Number(t)||.1)&&((new Image).src="https://support.weixin.qq.com/cgi-bin/mmsupportmeshnodelogicsvr-bin/cube?biz=3512&label=connect.qrconnect&action="+e)}function o(e){jQuery.ajax({type:"GET",url:_+"/connect/l/qrconnect?uuid=0815qSt30HdxFa1B"+(e?"&last="+e:""),dataType:"script",cache:!1,timeout:6e4,success:function(e,n,s){c("connect_qrconnect_longpull_success",.01);var r=window.wx_errcode;switch(r){case 405:c("connect_qrconnect_longpull_success_405",.01);var a="http://authserver.sdju.edu.cn/authserver/callback";a=a.replace(/&/g,"&"),a+=(a.indexOf("?")>-1?"&":"?")+"code="+wx_code+"&state=6223edc7ab1b1b067443b0350e60807b";var i=t("self_redirect");if(A)if("true"!==i&&"false"!==i)try{document.domain="qq.com";var l=window.top.location.host.toLowerCase();l&&(window.location=a)}catch(e){window.top.location=a}else if("true"===i)try{window.location=a}catch(e){window.top.location=a}else window.top.location=a;else window.location=a;break;case 404:c("connect_qrconnect_longpull_success_404",.01),jQuery(".js_status").hide(),jQuery(".js_qr_img").hide(),jQuery(".js_wx_after_scan").show(),setTimeout(o,100,r);break;case 403:c("connect_qrconnect_longpull_success_403",.01),jQuery(".js_status").hide(),jQuery(".js_qr_img").hide(),jQuery(".js_wx_after_cancel").show(),setTimeout(o,2e3,r);break;case 402:c("connect_qrconnect_longpull_success_402",.01),setTimeout(function(){window.location.reload()},200);break;case 500:c("connect_qrconnect_longpull_success_500",.01),setTimeout(function(){window.location.reload()},200);break;case 408:c("connect_qrconnect_longpull_success_408",.01),setTimeout(o,2e3);break;default:c("connect_qrconnect_longpull_success_others",.01)}},error:function(e,t,n){c("connect_qrconnect_longpull_error",.01);var s=window.wx_errcode;408==s?(c("connect_qrconnect_longpull_error_408",.01),setTimeout(o,5e3)):(c("connect_qrconnect_longpull_error_others",.01),setTimeout(o,5e3,s))}})}function s(){var e=jQuery.Deferred();return setTimeout(function(){e.resolve()},1e3),jQuery(window).load(function(){e.resolve()}),e.promise()}jQuery("#js_web_qrcode_reload").click(function(){location.reload()});var A=window.top!=window,r=n("self_redirect")||n("style")||n("href")||n("oldstyle"),a=parseInt(e("styletype"),10),i=NaN;1!==a&&0!==a&&1===i&&(a=0);var l="";if(1!==a&&0!==a&&l){c("connect_qrconnect_css_href");var d=document.createElement("link");d.rel="stylesheet",d.href=l.replace(new RegExp("javascript:","gi"),""),document.getElementsByTagName("head")[0].appendChild(d)}if(A){c("connect_qrconnect_iframe"),document.body.className+=" web_qrcode_type_iframe";var p="";"white"!=p&&(document.body.style.color="#373737"),jQuery("#tpl_for_iframe").show()}else{c("connect_qrconnect_page"),document.getElementsByClassName||(document.getElementsByClassName=function(e){for(var t=[],n=new RegExp("(^| )"+e+"( |$)"),c=document.getElementsByTagName("*"),o=0,s=c.length;o