Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
hrs_app_h5
/
bill
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
599de2a5
authored
Jun 16, 2020
by
展昭
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
f1059024
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
.env.production
src/router/index.js
.env.production
View file @
599de2a5
...
...
@@ -2,4 +2,6 @@ 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
src/router/index.js
View file @
599de2a5
...
...
@@ -61,6 +61,7 @@ async function getToken(access_token, appid, next) {
};
let
commonPms
=
GetCommonPms
();
let
url
=
`
${
oidc_config
.
authority
}
/connect/token?
${
commonPms
}
`
;
console
.
log
(
'url='
,
url
);
await
axios
.
post
(
url
,
qs
.
stringify
(
pms
))
.
then
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment