Auto Submit

pull/1/head
autosubmit 12 months ago
parent 0f18921255
commit 6c8bd01947

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +0,0 @@
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1660],{39555:function(C,f,t){t.r(f);var d=t(59301),c=t(44993),v=t(62957),m=t(458),D=t(52430),B=t(13952),E=t(59301),F=(h,l,u)=>new Promise((r,o)=>{var n=e=>{try{s(u.next(e))}catch(a){o(a)}},i=e=>{try{s(u.throw(e))}catch(a){o(a)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(n,i);s((u=u.apply(h,l)).next())});f.default=()=>{const h=(0,c.useLocation)(),[l]=(0,c.useSearchParams)(),[u,r]=(0,d.useState)(!0),o=l.get("code"),n=l.get("state");return(0,d.useEffect)(()=>{const[i,s]=n.split(",");function e(){return F(this,null,function*(){const{status:a,new_user:P}=yield(0,D.d4)("auth/qq/callback",{code:o,redirect_uri:`${B.Z.QQLoginCB}/otherloginqq`});r(!1);let _=localStorage.getItem("addinfo"),g=localStorage.getItem("classromeurl");a===0?P?c.history.replace("/otherlogin?type=qq"):_==="1"?(window.location.href=g,localStorage.removeItem("addinfo"),localStorage.removeItem("classromeurl")):window.location.href=i==="account"?"/account/binding":"/":a===-3&&v.default.info({title:"\u767B\u5F55\u5F02\u5E38",centered:!0,keyboard:!1,maskClosable:!1,closable:!1,content:"\u5F53\u524D\u6709\u5F00\u542F\u9650\u5236\u767B\u5F55\u7684\u8003\u8BD5\u6B63\u5728\u8FDB\u884C\uFF0C\u8BF7\u4F7F\u7528\u8D26\u53F7\u5BC6\u7801\u767B\u5F55\u5934\u6B4C\u5E73\u53F0",okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}})})}e()},[o,n]),E.createElement("div",{className:"other-login",style:{height:"100vh",background:"#fff"}},E.createElement(m.Z,{loading:u}))}}}]);

@ -0,0 +1 @@
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1660],{39555:function(O,d,t){t.r(d);var f=t(59301),c=t(44993),m=t(62957),D=t(458),B=t(52430),F=t(13952),E=t(59301),P=(h,l,u)=>new Promise((i,a)=>{var n=e=>{try{s(u.next(e))}catch(o){a(o)}},r=e=>{try{s(u.throw(e))}catch(o){a(o)}},s=e=>e.done?i(e.value):Promise.resolve(e.value).then(n,r);s((u=u.apply(h,l)).next())});d.default=()=>{const h=(0,c.useLocation)(),[l]=(0,c.useSearchParams)(),[u,i]=(0,f.useState)(!0),a=l.get("code"),n=l.get("state");return(0,f.useEffect)(()=>{const[r,s,e]=n.split(",");function o(){return P(this,null,function*(){const{status:v,new_user:g}=yield(0,B.d4)("auth/qq/callback",{code:a,signedState:e,redirect_uri:`${F.Z.QQLoginCB}/otherloginqq`});i(!1);let _=localStorage.getItem("addinfo"),C=localStorage.getItem("classromeurl");v===0?g?c.history.replace("/otherlogin?type=qq"):_==="1"?(window.location.href=C,localStorage.removeItem("addinfo"),localStorage.removeItem("classromeurl")):window.location.href=r==="account"?"/account/binding":"/":v===-3&&m.default.info({title:"\u767B\u5F55\u5F02\u5E38",centered:!0,keyboard:!1,maskClosable:!1,closable:!1,content:"\u5F53\u524D\u6709\u5F00\u542F\u9650\u5236\u767B\u5F55\u7684\u8003\u8BD5\u6B63\u5728\u8FDB\u884C\uFF0C\u8BF7\u4F7F\u7528\u8D26\u53F7\u5BC6\u7801\u767B\u5F55\u5934\u6B4C\u5E73\u53F0",okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}})})}o()},[a,n]),E.createElement("div",{className:"other-login",style:{height:"100vh",background:"#fff"}},E.createElement(D.Z,{loading:u}))}}}]);

@ -0,0 +1 @@
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7333],{23192:function(C,r,t){t.r(r);var m=t(59301),i=t(44993),E=t(62957),v=t(458),D=t(52430),f=t(59301),F=(d,n,a)=>new Promise((l,s)=>{var h=e=>{try{o(a.next(e))}catch(u){s(u)}},c=e=>{try{o(a.throw(e))}catch(u){s(u)}},o=e=>e.done?l(e.value):Promise.resolve(e.value).then(h,c);o((a=a.apply(d,n)).next())});r.default=()=>{const d=(0,i.useLocation)(),[n]=(0,i.useSearchParams)(),a=n.get("code"),l=n.get("state");return(0,m.useEffect)(()=>{const[s,h,c]=l.split(",");function o(){return F(this,null,function*(){const e=navigator.userAgent.toLowerCase(),{status:u,new_user:g}=yield(0,D.U2)(`auth/wechat/${e.match(/MicroMessenger/i)=="micromessenger"?"web_callback":"callback"}.json`,{code:a,signedState:c});if(u===0){let B=localStorage.getItem("addinfo"),P=localStorage.getItem("classromeurl");g?window.location.href="/otherlogin?type=wechat":B==="1"?(window.location.href=P,localStorage.removeItem("addinfo"),localStorage.removeItem("classromeurl")):window.location.href=s==="account"?"/account/binding":"/"}else u===-3&&E.default.info({title:"\u767B\u5F55\u5F02\u5E38",centered:!0,keyboard:!1,maskClosable:!1,closable:!1,content:"\u5F53\u524D\u6709\u5F00\u542F\u9650\u5236\u767B\u5F55\u7684\u8003\u8BD5\u6B63\u5728\u8FDB\u884C\uFF0C\u8BF7\u4F7F\u7528\u8D26\u53F7\u5BC6\u7801\u767B\u5F55\u5934\u6B4C\u5E73\u53F0",okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}})})}o()},[a,l]),f.createElement("div",{className:"other-login",style:{height:"100vh",background:"#fff"}},f.createElement(v.Z,null))}}}]);

@ -1 +0,0 @@
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7333],{23192:function(P,r,t){t.r(r);var m=t(59301),i=t(44993),E=t(62957),v=t(458),D=t(52430),f=t(59301),F=(d,n,a)=>new Promise((l,s)=>{var h=e=>{try{u(a.next(e))}catch(o){s(o)}},c=e=>{try{u(a.throw(e))}catch(o){s(o)}},u=e=>e.done?l(e.value):Promise.resolve(e.value).then(h,c);u((a=a.apply(d,n)).next())});r.default=()=>{const d=(0,i.useLocation)(),[n]=(0,i.useSearchParams)(),a=n.get("code"),l=n.get("state");return(0,m.useEffect)(()=>{const[s,h]=l.split(",");function c(){return F(this,null,function*(){const u=navigator.userAgent.toLowerCase(),{status:e,new_user:o}=yield(0,D.U2)(`auth/wechat/${u.match(/MicroMessenger/i)=="micromessenger"?"web_callback":"callback"}.json`,{code:a});if(e===0){let g=localStorage.getItem("addinfo"),B=localStorage.getItem("classromeurl");o?window.location.href="/otherlogin?type=wechat":g==="1"?(window.location.href=B,localStorage.removeItem("addinfo"),localStorage.removeItem("classromeurl")):window.location.href=s==="account"?"/account/binding":"/"}else e===-3&&E.default.info({title:"\u767B\u5F55\u5F02\u5E38",centered:!0,keyboard:!1,maskClosable:!1,closable:!1,content:"\u5F53\u524D\u6709\u5F00\u542F\u9650\u5236\u767B\u5F55\u7684\u8003\u8BD5\u6B63\u5728\u8FDB\u884C\uFF0C\u8BF7\u4F7F\u7528\u8D26\u53F7\u5BC6\u7801\u767B\u5F55\u5934\u6B4C\u5E73\u53F0",okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}})})}c()},[a,l]),f.createElement("div",{className:"other-login",style:{height:"100vh",background:"#fff"}},f.createElement(v.Z,null))}}}]);

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save