Browse Source

pref: 处理公告部分

wangcz 6 years ago
parent
commit
708bedad10
1 changed files with 16 additions and 14 deletions
  1. 16 14
      src/main/webapp/resources/js/index/app.js

+ 16 - 14
src/main/webapp/resources/js/index/app.js

@@ -2032,20 +2032,22 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
             //     $scope.notices = data;
             // });
 
-            AccountEnterprise.getB2cUrl({}, function(data) {
-                $scope.toB2cLink = data.url;
-                if($scope.toB2cLink) {
-                    $.ajax({
-                        url:$scope.toB2cLink + '/api/help-service/issues?navId=' + $scope.noticesId,
-                        type:"get",
-                        success:function(data){
-                            $scope.notices = data || [];
-                        },
-                        error:function(data){
-                            console.log(data);
-                            $scope.notices = [];
-                        }
-                    });
+            // AccountEnterprise.getB2cUrl({}, function(data) {
+            //     $scope.toB2cLink = data.url;
+            //     if($scope.toB2cLink) {
+            //
+            //     }
+            // });
+            $scope.toB2cLink = 'https://mall.usoftchina.com';
+            $.ajax({
+                url:$scope.toB2cLink + '/api/help-service/issues?navId=' + $scope.noticesId,
+                type:"get",
+                success:function(data){
+                    $scope.notices = data || [];
+                },
+                error:function(data){
+                    console.log(data);
+                    $scope.notices = [];
                 }
             });