Commit 5b362bc5 authored by 喻春霖's avatar 喻春霖

fixed

parent f3133e2f
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
<div class="ds-content-city"> <div class="ds-content-city">
<div class="ds-content-city-float"> <div class="ds-content-city-float">
<p>市认证源</p> <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> style="background: white url('../static/img/logo-shszjc.png')" type="button"></button>
<button onclick="toLogin('djg')" class="logo-btn city-btn" <button onclick="toLogin('dianjiaoguan')" class="logo-btn city-btn"
style="background: white url('../static/img/logo-tyrz.png')" type="button"></button> style="background: white url('../static/img/logo-tyrz.png')" type="button"></button>
</div> </div>
</div> </div>
...@@ -93,9 +93,9 @@ ...@@ -93,9 +93,9 @@
function toLogin(idp) { function toLogin(idp) {
var info = new Browser(); var info = new Browser();
var baseUrl = ctxPath + "auth/tologin?logId="+logId+"&oauthType="; var baseUrl = ctxPath + "auth/tologin?logId="+logId+"&oauthType=";
if (idp=="djg") { if (idp=="dianjiaoguan") {
window.location.href = baseUrl+ "dianjiaoguan&loginUrl=" + encodeURIComponent(loginUrl1)+"&browser="+info.browser+"&device="+info.device+"&os="+info.os+"&version="+info.version; 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; window.location.href = baseUrl+ "edenoperation&loginUrl=" + encodeURIComponent(loginUrl2)+"&browser="+info.browser+"&device="+info.device+"&os="+info.os+"&version="+info.version;
} else { } else {
window.location.href = baseUrl+idp+"&loginUrl=" + encodeURIComponent(loginUrl3+"&auth_source="+idp)+"&browser="+info.browser+"&device="+info.device+"&os="+info.os+"&version="+info.version; window.location.href = baseUrl+idp+"&loginUrl=" + encodeURIComponent(loginUrl3+"&auth_source="+idp)+"&browser="+info.browser+"&device="+info.device+"&os="+info.os+"&version="+info.version;
......
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 to comment