wangcz 7 роки тому
батько
коміт
63b42885e8

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

@@ -192,9 +192,9 @@ 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.ubtob.com' : 'http://192.168.253.6:32323',
+                var ssoUrl = data.data == 'success' ? 'https://sso.usoftchina.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' : 'http://218.17.158.219:24000';
+                commonUrl = data.data == 'success' ? 'https://api-inquiry.usoftchina.com' : 'http://188.131.128.107:24000';
                 defer.resolve([
                     getSeekInfo(commonUrl),
                     getAddEnUserCount(ssoUrl),

+ 11 - 11
src/main/webapp/resources/js/common/query/seekPurchase.js

@@ -11,11 +11,11 @@ define([ 'ngResource' ], function() {
                 method: 'GET'
             },
             getSeekPushGoodsPageInfo: {
-                url: 'http://218.17.158.219:24000/inquiry/public',
+                url: 'http://188.131.128.107:24000/inquiry/public',
                 method: 'GET',
             },
             saveOneSeekPurchase: {
-                url: 'http://218.17.158.219:24000/inquiry/buyer/save',
+                url: 'http://188.131.128.107:24000/inquiry/buyer/save',
                 method: 'POST'
             },
             saveOneSeekPurchaseProd: {
@@ -23,7 +23,7 @@ define([ 'ngResource' ], function() {
                 method: 'POST'
             },
             saveOffer: {
-                url: 'http://218.17.158.219:24000/inquiry/sale/item/saveQuote',
+                url: 'http://188.131.128.107:24000/inquiry/sale/item/saveQuote',
                 method: 'POST'
             },
             saveOfferProd: {
@@ -31,11 +31,11 @@ define([ 'ngResource' ], function() {
                 method: 'POST'
             },
             getUserSeekPageInfo: {
-                url: 'http://218.17.158.219:24000/inquiry/buyer/list',
+                url: 'http://188.131.128.107:24000/inquiry/buyer/list',
                 method: 'GET'
             },
             getUserSeekPageInfoByStatus: {
-                url: 'http://218.17.158.219:24000/inquiry/buyer/quotations',
+                url: 'http://188.131.128.107:24000/inquiry/buyer/quotations',
                 method: 'GET'
             },
             getMallGoodsList: {
@@ -44,23 +44,23 @@ define([ 'ngResource' ], function() {
                 isArray: true
             },
             getSeekPurchaseOfferPageInfo: {
-                url: 'http://218.17.158.219:24000/inquiry/buyer/product/detail',
+                url: 'http://188.131.128.107:24000/inquiry/buyer/product/detail',
                 method: 'GET'
             },
             getMyOfferPageInfo: {
-                url: 'http://218.17.158.219:24000/inquiry/public/quotation/list',
+                url: 'http://188.131.128.107:24000/inquiry/public/quotation/list',
                 method: 'GET'
             },
             updateSeekPurchaseStatus: {
-                url: 'http://218.17.158.219:24000/inquiry/buyer/decide',
+                url: 'http://188.131.128.107:24000/inquiry/buyer/decide',
                 method: 'POST'
             },
             getSeekPurchaseBomListPage: {
-                url: 'http://218.17.158.219:24000/inquiry/buyer/inquiryList',
+                url: 'http://188.131.128.107:24000/inquiry/buyer/inquiryList',
                 method: 'GET'
             },
             findOneBom: {
-                url: 'http://218.17.158.219:24000/inquiry/public/findInquiryById',
+                url: 'http://188.131.128.107:24000/inquiry/public/findInquiryById',
                 method: 'GET'
             },
             saveBomName: {
@@ -68,7 +68,7 @@ define([ 'ngResource' ], function() {
                 method: 'PUT'
             },
             getBomDetail: {
-                url: 'http://218.17.158.219:24000/inquiry/sale/publicInquiry/detail',
+                url: 'http://188.131.128.107:24000/inquiry/sale/publicInquiry/detail',
                 method: 'GET'
             },
             // 获取BOM清单

+ 2 - 2
src/main/webapp/resources/js/sso/app.js

@@ -494,8 +494,8 @@ define([ 'angularAMD', 'ui.router', 'ui-bootstrap', 'ngLocal', 'ngTable', 'commo
 		$scope.homeUrl = BaseService.getRootPath();
         InternalMessage.getUrl({}, function(data) {
             var url = data.url;
-            if (url == "http://218.17.158.219:24000/message") {
-                url = 'http://192.168.253.6:24000/message';
+            if (url == "http://188.131.128.107:24001/message") {
+                url = 'http://10.1.51.92:24001/message';
             }
             var param = {
                 'receiverUu': data.userUU,

+ 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.ubtob.com' : 'http://192.168.253.6:32323';
+                $scope.urlPrex = data.data == 'success' ? 'https://sso.usoftchina.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.ubtob.com' : 'http://192.168.253.6:32323';
+                $scope.urlPrex = data.data == 'success' ? 'https://sso.usoftchina.com' : 'http://188.131.128.107:24004';
                 applyToEnterpriseTableParams();
             }, function (response) {
                 toaster.pop('error', '获取运行环境失败');

+ 2 - 2
src/main/webapp/resources/js/usercenter/app.js

@@ -963,8 +963,8 @@ define([ 'angularAMD', 'ui.router', 'ui-bootstrap', 'ngLocal', 'ngTable', 'commo
 		$scope.homeUrl = BaseService.getRootPath();
         InternalMessage.getUrl({}, function(data) {
             var url = data.url;
-            if (url == "http://218.17.158.219:24000/message") {
-                url = 'http://192.168.253.6:24000/message';
+            if (url == "http://188.131.128.107:24001/message") {
+                url = 'http://10.1.51.92:24001/message';
             }
             var param = {
                 'receiverUu': data.userUU,

+ 4 - 4
src/main/webapp/resources/js/usercenter/controllers/forstore/messagePersonalCtrl.js

@@ -322,8 +322,8 @@ define(['app/app'], function(app) {
         var getData = function () {
             InternalMessage.getUrl({}, function(data) {
                 var url = data.url;
-                if (url == "http://218.17.158.219:24000/message") {
-                    url = 'http://192.168.253.6:24000/message';
+                if (url == "http://188.131.128.107:24001/message") {
+                    url = 'http://10.1.51.92:24001/message';
                 }
                 var param = {
                     'receiverUu': data.userUU,
@@ -346,8 +346,8 @@ define(['app/app'], function(app) {
             InternalMessage.getUrl({}, function(info) {
                 if (info) {
                     var url = info.url;
-                    if (url == "http://218.17.158.219:24000/message") {
-                        url = 'http://192.168.253.6:24000/message';
+                    if (url == "http://188.131.128.107:24001/message") {
+                        url = 'http://10.1.51.92:24001/message';
                     }
                     var param = {
                         'receiverUu': info.userUU,

+ 2 - 2
src/main/webapp/resources/js/vendor/app.js

@@ -1236,8 +1236,8 @@ define([ 'angularAMD', 'ngLocal', 'common/services', 'common/directives', 'commo
         /*console.info($rootScope.userInfo);*/
         InternalMessage.getUrl({}, function(data) {
             var url = data.url;
-            if (url == "http://218.17.158.219:24000/message") {
-                url = 'http://192.168.253.6:24000/message';
+            if (url == "http://188.131.128.107:24001/message") {
+                url = 'http://10.1.51.92:24001/message';
             }
             var param = {
                 'receiverUu': data.userUU,

+ 4 - 4
src/main/webapp/resources/js/vendor/controllers/forstore/messagePersonalCtrl.js

@@ -287,8 +287,8 @@ define(['app/app'], function(app) {
             //获取所有消息数量
             InternalMessage.getUrl({}, function(data) {
                 var url = data.url;
-                if (url == "http://218.17.158.219:24000/message") {
-                    url = 'http://192.168.253.6:24000/message';
+                if (url == "http://188.131.128.107:24001/message") {
+                    url = 'http://10.1.51.92:24001/message';
                 }
                 var param = {
                     'receiverUu': data.userUU,
@@ -311,8 +311,8 @@ define(['app/app'], function(app) {
             InternalMessage.getUrl({}, function(info) {
                 if (info) {
                     var url = info.url;
-                    if (url == "http://218.17.158.219:24000/message") {
-                        url = 'http://192.168.253.6:24000/message';
+                    if (url == "http://188.131.128.107:24001/message") {
+                        url = 'http://10.1.51.92:24001/message';
                     }
                     var param = {
                         'receiverUu': info.userUU,

+ 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.ubtob.com' : 'http://192.168.253.6:32323';
+                    $scope.urlPrex = data.data == 'success' ? 'https://sso.usoftchina.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.ubtob.com' : 'http://192.168.253.6:32323';
+                $scope.urlPrex = data.data == 'success' ? 'https://sso.usoftchina.com' : 'http://188.131.128.107:24004';
                 $http({
                     method: 'get',
                     dataType: 'json',