(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/loginFilter/LoginFilter"],{"235e":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var r=function(){var t=this,e=t.$createElement;t._self._c},i=[]},"567c":function(t,e,n){"use strict";n.r(e);var o=n("f0be"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},8906:function(t,e,n){"use strict";(function(t){n("b607");o(n("66fd"));var e=o(n("ba78"));function o(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},ba78:function(t,e,n){"use strict";n.r(e);var o=n("235e"),r=n("567c");for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);var a,u=n("f0c5"),c=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);e["default"]=c.exports},f0be:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{homeUrl:"https://jtishfw.ncjti.edu.cn/baoxiu/repairApi"}},onLoad:function(){localStorage.getItem("identity"),localStorage.getItem("updataMsg");this.loginFilter()},methods:{getQueryString:function(t){var e=window.location.href,n=new RegExp("[?&]"+t+"=([^&]+)","i"),o=n.exec(e);return!(null==o||o.length<1)&&decodeURIComponent(o[1])},loginFilter:function(){var e=this.getQueryString("cardNumber"),n=this.getQueryString("error"),o=this.getQueryString("errorMsg"),r="https://open.wecard.qq.com/connect/oauth/authorize?app_key=EE28EE2C93296F4E&response_type=code&scope=snsapi_base&ocode=1015730314&redirect_uri=".concat(this.homeUrl,"/wx/getCardNumber&state=STATE");n?t.showToast({title:o,icon:"error",mask:!0,duration:1e3}):e?(localStorage.setItem("token",e),this.getDetailMess()):window.location.href=r},getDetailMess:function(){this.$https.post("".concat(this.homeUrl,"/student/queryByStudentId")).then((function(e){console.log("---------"),console.log(e),t.setStorage({key:"student",data:e.data,success:function(){var e=localStorage.getItem("updataMsg");e?t.redirectTo({url:"../index/index"}):t.redirectTo({url:"../personal-information/personal-information"})}})}),(function(t){}))},findDetailMess:function(){this.$https.post("".concat(this.homeUrl,"/student/queryById")).then((function(e){200==e.status?t.redirectTo({url:"../index/index"}):t.redirectTo({url:"../personal-information/personal-information"})}),(function(t){}))}}};e.default=n}).call(this,n("543d")["default"])}},[["8906","common/runtime","common/vendor"]]]);