Browse Source

Merge branch 'master' of http://git.qiniu1314.com/Kirin/shenying

Kirin 1 year ago
parent
commit
b0115c2842
1 changed files with 1 additions and 3 deletions
  1. 1 3
      app/services/order/StoreOrderServices.php

+ 1 - 3
app/services/order/StoreOrderServices.php

@@ -1516,9 +1516,7 @@ HTML;
             'date' => '今日'
         ];
         $integralService = app()->make(UserAwardIntegralServices::class);
-        $integral['active'] = $integralService->getIntegralSum(['status' => 0, 'type' => 1]);
-        $integral['static'] = $integralService->getIntegralSum(['status' => 0, 'type' => 0]);
-        $info = array_values(compact('sales', 'visits', 'order', 'user', 'integral'));
+        $info = array_values(compact('sales', 'visits', 'order', 'user'));
         $info[0]['title'] = '销售额';
         $info[1]['title'] = '用户访问量';
         $info[2]['title'] = '订单量';