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

修改测试环境请求接口地址

wangcz 7 лет назад
Родитель
Сommit
ffccf2355e

+ 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://188.131.128.107:24004',
+                var ssoUrl = data.data == 'success' ? 'https://sso.ubtob.com' : 'https://test-sso-server.uuzcc.cn',
                 // 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' : 'https://tinquiry-api.usoftchina.com';
+                commonUrl = data.data == 'success' ? 'https://api-inquiry.usoftchina.com' : 'https://test-inquiry.uuzcc.cn';
                 defer.resolve([
                     getSeekInfo(commonUrl),
                     getAddEnUserCount(ssoUrl),

+ 2 - 2
src/main/webapp/resources/view/admin/stats_data.html

@@ -258,7 +258,7 @@
                     </div>
                     <div class="form-group row">
                         <span class="col-sm-6 text-right">在售商品类目总数:</span>
-                        <span class="col-sm-6" ng-bind="start12 | number"></span>
+                        <span class="col-sm-6" ng-bind="(start32 + start33) | number"></span>
                     </div>
                     <div class="form-group row">
                         <span class="col-sm-6 text-right">在售商品类目(标准):</span>
@@ -270,7 +270,7 @@
                     </div>
                     <div class="form-group row">
                         <span class="col-sm-6 text-right">在售商品品牌总数:</span>
-                        <span class="col-sm-6" ng-bind="start11 | number"></span>
+                        <span class="col-sm-6" ng-bind="(start34 + start35) | number"></span>
                     </div>
                     <div class="form-group row">
                         <span class="col-sm-6 text-right">在售商品品牌(标准):</span>