Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sh-ds
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李良停
sh-ds
Commits
5b362bc5
Commit
5b362bc5
authored
Feb 03, 2021
by
喻春霖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
f3133e2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ds.html
eden-authcenter-agent/src/main/resources/templates/ds.html
+4
-4
No files found.
eden-authcenter-agent/src/main/resources/templates/ds.html
View file @
5b362bc5
...
...
@@ -39,9 +39,9 @@
<div
class=
"ds-content-city"
>
<div
class=
"ds-content-city-float"
>
<p>
市认证源
</p>
<button
onclick=
"toLogin('
szjc
')"
class=
"logo-btn city-btn"
<button
onclick=
"toLogin('
edenoperation
')"
class=
"logo-btn city-btn"
style=
"background: white url('../static/img/logo-shszjc.png')"
type=
"button"
></button>
<button
onclick=
"toLogin('d
jg
')"
class=
"logo-btn city-btn"
<button
onclick=
"toLogin('d
ianjiaoguan
')"
class=
"logo-btn city-btn"
style=
"background: white url('../static/img/logo-tyrz.png')"
type=
"button"
></button>
</div>
</div>
...
...
@@ -93,9 +93,9 @@
function
toLogin
(
idp
)
{
var
info
=
new
Browser
();
var
baseUrl
=
ctxPath
+
"auth/tologin?logId="
+
logId
+
"&oauthType="
;
if
(
idp
==
"d
jg
"
)
{
if
(
idp
==
"d
ianjiaoguan
"
)
{
window
.
location
.
href
=
baseUrl
+
"dianjiaoguan&loginUrl="
+
encodeURIComponent
(
loginUrl1
)
+
"&browser="
+
info
.
browser
+
"&device="
+
info
.
device
+
"&os="
+
info
.
os
+
"&version="
+
info
.
version
;
}
else
if
(
idp
==
"
szjc
"
)
{
}
else
if
(
idp
==
"
edenoperation
"
)
{
window
.
location
.
href
=
baseUrl
+
"edenoperation&loginUrl="
+
encodeURIComponent
(
loginUrl2
)
+
"&browser="
+
info
.
browser
+
"&device="
+
info
.
device
+
"&os="
+
info
.
os
+
"&version="
+
info
.
version
;
}
else
{
window
.
location
.
href
=
baseUrl
+
idp
+
"&loginUrl="
+
encodeURIComponent
(
loginUrl3
+
"&auth_source="
+
idp
)
+
"&browser="
+
info
.
browser
+
"&device="
+
info
.
device
+
"&os="
+
info
.
os
+
"&version="
+
info
.
version
;
...
...
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