瀏覽代碼

修改账户中心审核地址

yangc 7 年之前
父節點
當前提交
2c2bc5a0ef
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/webapp/resources/js/vendor/controllers/forstore/vendor_index_ctrl.js

+ 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){
                 success:function(data){
                     console.log(data);
                     console.log(data);
                     // window.open(urlPrex + '/cloudcenter/enterprise');
                     // window.open(urlPrex + '/cloudcenter/enterprise');
-                    newTab.location.href = urlPrex + '/cloudcenter/enterprise';
+                    newTab.location.href = $scope.urlPrex + '/cloudcenter/enterprise';
                 },
                 },
                 error:function(data) {
                 error:function(data) {
                     console.log(data);
                     console.log(data);
@@ -53,7 +53,7 @@ define(['app/app', 'calendar'], function(app) {
         if ($scope.isAdmin) {
         if ($scope.isAdmin) {
             User.isDevOrProd(null, function (data) {
             User.isDevOrProd(null, function (data) {
                 // $scope.isProd = data.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({
                 $http({
                     method: 'get',
                     method: 'get',
                     dataType: 'json',
                     dataType: 'json',