Преглед изворни кода

pref: 修改新的帐户中心地址

wangcz пре 6 година
родитељ
комит
1f675bebcd

+ 1 - 1
jpress-web-template-mallcms/src/main/webapp/templates/mallcms/_layout.html

@@ -53,7 +53,7 @@
                         <li class="unLogin"><a class="a_login">登录</a></li>
                         <li class="unLogin"><a class="a_register">注册</a></li>
                         <!--已登录状态-->
-                        <li class="login"><div>欢迎您,<span id="username">SUPER_WING</span><a class="a_logout">【退出】</a> <a href="https://sso.ubtob.com/cloudcenter" target="_blank">账户中心</a></div></li>
+                        <li class="login"><div>欢迎您,<span id="username">SUPER_WING</span><a class="a_logout">【退出】</a> <a href="https://sso2.usoftchina.com/index.html" target="_blank">账户中心</a></div></li>
                     </ul>
                 </div>
             </div>

+ 4 - 4
jpress-web-template-mallcms/src/main/webapp/templates/mallcms/assets/js/index.js

@@ -301,15 +301,15 @@ $(function () {
     })
 
     $('.a_login').click(function () {
-        window.location.href = 'https://sso.ubtob.com?appId=home&returnURL=' + window.location.href;
+        window.location.href = 'https://sso2.usoftchina.com/login.html?returnURL=' + encodeURIComponent(window.location.href);
     })
 
     $('.a_logout').click(function () {
-        window.location.href = 'https://sso.ubtob.com/logquit?appId=home&returnURL=' + window.location.href;
-    })
+        window.location.href = 'https://sso2.usoftchina.com/loginOut.html?returnURL=' + encodeURIComponent(window.location.href) + '&baseUrl=' + encodeURIComponent('https://acctrest.usoftchina.com');
+    });
 
     $('.a_register').click(function () {
-        window.location.href = 'https://sso.ubtob.com/register/enterpriseRegistration?appId=home&returnURL=' + window.location.href;
+        window.location.href = 'https://sso2.usoftchina.com/companyRegister.html?returnURL=' + encodeURIComponent(window.location.href);
     })
 
     // 更新上传品牌数据计数