Просмотр исходного кода

修改账户中心审核地址

yangc 7 лет назад
Родитель
Сommit
2c2bc5a0ef

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

@@ -24,7 +24,7 @@ define(['app/app', 'calendar'], function(app) {
                 success:function(data){
                     console.log(data);
                     // window.open(urlPrex + '/cloudcenter/enterprise');
-                    newTab.location.href = urlPrex + '/cloudcenter/enterprise';
+                    newTab.location.href = $scope.urlPrex + '/cloudcenter/enterprise';
                 },
                 error:function(data) {
                     console.log(data);
@@ -53,7 +53,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.12:32323';
+                $scope.urlPrex = data.data == 'success' ? 'https://sso.ubtob.com' : 'http://192.168.253.6:32323';
                 $http({
                     method: 'get',
                     dataType: 'json',