Browse Source

退出优软云bug修改

hy 7 years ago
parent
commit
c31a0aafcb

+ 6 - 3
frontend/saas-web/app.json

@@ -286,7 +286,8 @@
                     "https": "https://saas-api-dev.usoftchina.com:5443",
                     "http": "http://10.1.81.61:8560"
                 },
-                "urlPattern": "^\/api\/"
+                "urlPattern": "^\/api\/",
+                "sso": "https://test-sso.uuzcc.cn"
             }
         },
         "test": {
@@ -297,7 +298,8 @@
                     "https": "https://saas-api-test.usoftchina.com:5443",
                     "http": "http://trade-test.usoftchina.com:5443"
                 },
-                "urlPattern": "^\/api\/"
+                "urlPattern": "^\/api\/",
+                "sso": "https://test-sso.uuzcc.cn"
             }
         },
         "prod": {
@@ -305,7 +307,8 @@
                 "accountCenter":"https://saas.usoftchina.com",
                 "accountEnterprise":"https://saas.usoftchina.com/#/enterprise",
                 "basePath": "https://saas-api.usoftchina.com",
-                "urlPattern": "^\/api\/"
+                "urlPattern": "^\/api\/",
+                "sso": "https://sso.ubtob.com"
             }
         }
     },

+ 1 - 1
frontend/saas-web/app/view/viewport/ViewportController.js

@@ -265,7 +265,7 @@ Ext.define('saas.view.viewport.ViewportController', {
         if (this.ipc) {
             // window.close();
         } else {
-            window.location.href = Ext.manifest.server.accountCenter;
+            window.location.href = Ext.manifest.server.sso+'/logquit?appId=sp&returnURL='+Ext.manifest.server.accountCenter
         }
     }
 });