|
|
@@ -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',
|