提交 417ee66a 编写于 作者: 麦嘉得's avatar 麦嘉得

流水线2

上级 6d171ddc
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,minimum-scale=1,viewport-fit=cover"><link rel="icon" href="favicon.ico"><title>新闻发布</title><link href="static/css/chunk-3c528d8e.661e5133.css" rel="prefetch"><link href="static/css/chunk-c4a7bb26.8d789763.css" rel="prefetch"><link href="static/css/chunk-de9cb196.e7fc046d.css" rel="prefetch"><link href="static/js/chunk-3c528d8e.1eebd3a0.js" rel="prefetch"><link href="static/js/chunk-6d99fb42.f58c0293.js" rel="prefetch"><link href="static/js/chunk-c4a7bb26.97088b2c.js" rel="prefetch"><link href="static/js/chunk-de9cb196.a7b113e5.js" rel="prefetch"><link href="static/js/chunk-f8fc3c26.69eba4ae.js" rel="prefetch"><link href="static/css/app.1203707a.css" rel="preload" as="style"><link href="static/css/chunk-vendors.8382ca1c.css" rel="preload" as="style"><link href="static/js/app.3c6ecc66.js" rel="preload" as="script"><link href="static/js/chunk-vendors.6d86a3a1.js" rel="preload" as="script"><link href="static/css/chunk-vendors.8382ca1c.css" rel="stylesheet"><link href="static/css/app.1203707a.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but votemanage_webapp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="static/js/chunk-vendors.6d86a3a1.js"></script><script src="static/js/app.3c6ecc66.js"></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,minimum-scale=1,viewport-fit=cover"><link rel="icon" href="favicon.ico"><title>新闻发布</title><link href="static/css/chunk-3c528d8e.661e5133.css" rel="prefetch"><link href="static/css/chunk-c4a7bb26.8d789763.css" rel="prefetch"><link href="static/css/chunk-de9cb196.e7fc046d.css" rel="prefetch"><link href="static/js/chunk-3c528d8e.1eebd3a0.js" rel="prefetch"><link href="static/js/chunk-6d99fb42.f58c0293.js" rel="prefetch"><link href="static/js/chunk-c4a7bb26.999e5560.js" rel="prefetch"><link href="static/js/chunk-de9cb196.a7b113e5.js" rel="prefetch"><link href="static/js/chunk-f8fc3c26.67930d74.js" rel="prefetch"><link href="static/css/app.1203707a.css" rel="preload" as="style"><link href="static/css/chunk-vendors.8382ca1c.css" rel="preload" as="style"><link href="static/js/app.0a727069.js" rel="preload" as="script"><link href="static/js/chunk-vendors.6d86a3a1.js" rel="preload" as="script"><link href="static/css/chunk-vendors.8382ca1c.css" rel="stylesheet"><link href="static/css/app.1203707a.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but votemanage_webapp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="static/js/chunk-vendors.6d86a3a1.js"></script><script src="static/js/app.0a727069.js"></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f8fc3c26"],{ae29:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{display:"flex","justify-content":"center","margin-top":"50%"}},[n("van-loading",{attrs:{size:"50px",color:"#1989fa",vertical:""}},[e._v(" 登录中 ")])],1)},o=[],r=(n("e17f"),n("2241")),i=(n("b0c0"),n("be9e")),c=n("325c"),s={created:function(){if("asc"==c["a"].GetQueryValue("type"))this.SSO("asc");else{var e=c["a"].GetQueryValue("code"),t=c["a"].GetQueryValue("sign"),n=c["a"].GetQueryValue("timestamp");this.SSO(e,t,n)}},methods:{SSO:function(e,t,n){var a,o=this;"asc"==c["a"].GetQueryValue("type")&&(a=Object(i["b"])({token:c["a"].GetQueryValue("token")})),"aic"==c["a"].GetQueryValue("type")&&(a=Object(i["d"])({code:e,sign:t,timestamp:n})),sessionStorage.setItem("wx-news-type",c["a"].GetQueryValue("type")),a.then((function(e){o.UTIL.setCookie("XGTLTOKEN-COLLECTOR",e.access_token.token_content),o.UTIL.setCookie("REFRESHJWT-COLLECTOR",e.refresh_token.token_content),Object(i["a"])().then((function(e){console.log("token",e);var t={avatar:e.avatar,card:e.card,class_id:e.class_id,class_name:e.class_name,dept_id:e.dept_id,dept_name:e.dept_name,id:e.id,name:e.name,open_id:e.open_id,phone:e.phone,role:e.role,type:e.type};window.localStorage.setItem("userInfo",JSON.stringify(t)),o.$router.push({path:"/"})}))})).catch((function(e){console.log(e),r["a"].alert({message:e.msg_detail}).then((function(){}))}))}}},u=s,l=n("2877"),p=Object(l["a"])(u,a,o,!1,null,null,null);t["default"]=p.exports},be9e:function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return c}));var a=n("1f75");function o(e){return Object(a["a"])({url:"/wx_news/api/Login/SSO/WxSSO",method:"get",params:e})}function r(e){var t=new FormData;return t.append("token",e),Object(a["a"])({url:"/wx_news/api/Login/SSO",method:"post",data:t})}function i(e){return Object(a["a"])({url:"/wx_news/api/Login/SSO/GetTokenInfo",method:"get",params:e})}function c(e){var t=new FormData;return t.append("fileType",e.fileType),t.append("uploadFile",e.uploadFile),Object(a["a"])({url:"/News/WxUploadFile.ashx",method:"post",data:t})}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f8fc3c26"],{ae29:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{display:"flex","justify-content":"center","margin-top":"50%"}},[n("van-loading",{attrs:{size:"50px",color:"#1989fa",vertical:""}},[e._v(" 登录中 ")])],1)},o=[],r=(n("e17f"),n("2241")),i=(n("b0c0"),n("be9e")),c=n("325c"),s={created:function(){if("asc"==c["a"].GetQueryValue("type"))this.SSO("asc");else{var e=c["a"].GetQueryValue("code"),t=c["a"].GetQueryValue("sign"),n=c["a"].GetQueryValue("timestamp");this.SSO(e,t,n)}},methods:{SSO:function(e,t,n){var a,o=this;"asc"==c["a"].GetQueryValue("type")&&(a=Object(i["b"])({token:c["a"].GetQueryValue("token")})),"aic"==c["a"].GetQueryValue("type")&&(a=Object(i["d"])({code:e,sign:t,timestamp:n})),sessionStorage.setItem("wx-news-type",c["a"].GetQueryValue("type")),a.then((function(e){o.UTIL.setCookie("XGTLTOKEN-COLLECTOR",e.access_token.token_content),o.UTIL.setCookie("REFRESHJWT-COLLECTOR",e.refresh_token.token_content),Object(i["a"])().then((function(e){console.log("token",e);var t={avatar:e.avatar,card:e.card,class_id:e.class_id,class_name:e.class_name,dept_id:e.dept_id,dept_name:e.dept_name,id:e.id,name:e.name,open_id:e.open_id,phone:e.phone,role:e.role,type:e.type};window.localStorage.setItem("userInfo",JSON.stringify(t)),o.$router.push({path:"/"})}))})).catch((function(e){console.log(e),r["a"].alert({message:e.msg_detail}).then((function(){}))}))}}},u=s,l=n("2877"),p=Object(l["a"])(u,a,o,!1,null,null,null);t["default"]=p.exports},be9e:function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return c}));var a=n("1f75");function o(e){return Object(a["a"])({url:"/wx_news/api/Login/SSO/WxSSO",method:"get",params:e})}function r(e){var t=new FormData;return t.append("token",e.token),Object(a["a"])({url:"/wx_news/api/Login/SSO",method:"post",data:t})}function i(e){return Object(a["a"])({url:"/wx_news/api/Login/SSO/GetTokenInfo",method:"get",params:e})}function c(e){var t=new FormData;return t.append("fileType",e.fileType),t.append("uploadFile",e.uploadFile),Object(a["a"])({url:"/News/WxUploadFile.ashx",method:"post",data:t})}}}]);
\ No newline at end of file
......@@ -21,7 +21,7 @@ export function wxSSO (data) {
// asc单点
export function ascSSO (data) {
var formData = new FormData();
formData.append("token",data);
formData.append("token",data.token);
return request({
url: '/wx_news/api/Login/SSO',
method: 'post',
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或