Browse Source

调整账户中心访问的地址。

yuj 7 years ago
parent
commit
09ed6517f9

+ 1 - 1
src/main/webapp/resources/js/admin/controllers/statsDataCtrl.js

@@ -192,7 +192,7 @@ define([ 'app/app' ], function(app) {
         var getAllData = function (addStartFormatDate, addEndFormatDate, startFormatDate, endFormatDate) {
             var defer = $q.defer();
             User.isDevOrProd(null, function (data) {
-                var ssoUrl = data.data == 'success' ? 'https://sso.usoftchina.com' : 'http://188.131.128.107:24004',
+                var ssoUrl = data.data == 'success' ? 'https://sso.ubtob.com' : 'http://188.131.128.107:24004',
                 // uasUrl = data.data == 'success' ? 'http://uas.ubtob.com' : 'http://192.168.253.12:9000/b2b-test',
                 commonUrl = data.data == 'success' ? 'https://api-inquiry.usoftchina.com' : 'https://tinquiry-api.usoftchina.com';
                 defer.resolve([

+ 1 - 1
src/main/webapp/resources/js/sso/controllers/forstore/ssoCenterCtrl.js

@@ -63,7 +63,7 @@ define(['app/app', 'calendar'], function(app) {
 
         if ($rootScope.isAdmin) {
             User.isDevOrProd(null, function (data) {
-                $scope.urlPrex = data.data == 'success' ? 'https://sso.usoftchina.com' : 'http://188.131.128.107:24004';
+                $scope.urlPrex = data.data == 'success' ? 'https://sso.ubtob.com' : 'http://188.131.128.107:24004';
                 $http({
                     method: 'get',
                     dataType: 'json',

+ 1 - 1
src/main/webapp/resources/js/sso/controllers/staffManagementCtrl.js

@@ -26,7 +26,7 @@ define(['app/app'], function (app) {
         if ($scope.isAdmin) {
             User.isDevOrProd(null, function (data) {
                 // $scope.isProd = data.data;
-                $scope.urlPrex = data.data == 'success' ? 'https://sso.usoftchina.com' : 'http://188.131.128.107:24004';
+                $scope.urlPrex = data.data == 'success' ? 'https://sso.ubtob.com' : 'http://188.131.128.107:24004';
                 applyToEnterpriseTableParams();
             }, function (response) {
                 toaster.pop('error', '获取运行环境失败');

+ 1 - 1
src/main/webapp/resources/js/vendor/controllers/forstore/vendor_account_management_ctrl.js

@@ -81,7 +81,7 @@ define(['app/app'], function (app) {
         if ($scope.isAdmin) {
                 User.isDevOrProd(null, function (data) {
                     // $scope.isProd = data.data;
-                    $scope.urlPrex = data.data == 'success' ? 'https://sso.usoftchina.com' : 'http://188.131.128.107:24004';
+                    $scope.urlPrex = data.data == 'success' ? 'https://sso.ubtob.com' : 'http://188.131.128.107:24004';
                     applyToEnterpriseTableParams();
                 }, function (response) {
                     toaster.pop('error', '获取运行环境失败');

+ 1 - 1
src/main/webapp/resources/js/vendor/controllers/forstore/vendor_index_ctrl.js

@@ -113,7 +113,7 @@ define(['app/app', 'calendar'], function(app) {
         if ($scope.isAdmin) {
             User.isDevOrProd(null, function (data) {
                 // $scope.isProd = data.data;
-                $scope.urlPrex = data.data == 'success' ? 'https://sso.usoftchina.com' : 'http://188.131.128.107:24004';
+                $scope.urlPrex = data.data == 'success' ? 'https://sso.ubtob.com' : 'http://188.131.128.107:24004';
                 $http({
                     method: 'get',
                     dataType: 'json',