Commit b37757d0 by 展昭

update

parent cfb9a5b1
......@@ -2,6 +2,4 @@ VUE_APP_OIDC_CONFIG = '{ "authority": "http://106.120.107.150:5000", "client_id"
VUE_APP_API_BASEURL = 'http://organization.test.hrs100.cn:18080/'
VUE_APP_API_TEAMMIXURL='http://106.120.107.150:5000/'
VUE_APP_PUBLIC_DIR='/'
......@@ -2,6 +2,4 @@ VUE_APP_OIDC_CONFIG = '{ "authority": "https://passport.teammix.com", "client_id
VUE_APP_API_BASEURL = 'https://org-team.hrs100.com/'
VUE_APP_API_TEAMMIXURL=''
VUE_APP_PUBLIC_DIR='/'
\ No newline at end of file
......@@ -2,6 +2,4 @@ VUE_APP_OIDC_CONFIG = '{ "authority": "http://106.120.107.150:5000", "client_id"
VUE_APP_API_BASEURL = 'http://organization.test.hrs100.cn:18080/'
VUE_APP_API_TEAMMIXURL='http://106.120.107.150:5000/'
VUE_APP_PUBLIC_DIR='/'
......@@ -33,10 +33,9 @@ const router = new VueRouter({
})
function getAccessToken(authcode) {
console.log('authcode=', authcode);
return new Promise((resolve, reject) => {
var TEAMMIXURL = process.env.VUE_APP_API_TEAMMIXURL;
let url = `${TEAMMIXURL}connect/token`;
let commonPms = GetCommonPms();
let url = `${oidc_config.authority}/connect/token?${commonPms}`;
let pms = {
"client_id": oidc_config.client_id,
"client_secret": oidc_config.client_secret,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment