@@ -965,7 +965,13 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
});
}
$scope.ssoLink = function (url) {
- window.location.href = 'https://sso2.usoftchina.com' + url;
+ AccountEnterprise.getB2cUrl({}, function(data) {
+ if (data.url.indexOf('uuzcc') > 0) {
+ window.location.href = 'https://account.uuzcc.cn' + url;
+ } else {
+ window.location.href = 'https://sso2.usoftchina.com' + url;
+ }
+ });
}]);