Ver Fonte

会员升级

Kirin há 7 meses atrás
pai
commit
aa212f10ac
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/services/order/StoreOrderServices.php

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

@@ -1530,7 +1530,7 @@ HTML;
             'today' => $today,
             'yesterday' => $yesterday,
             'today_ratio' => $today_ratio,
-            'total' => $integralService->getIntegralSum([], '(num-sent_num)'),
+            'total' => $integralService->getIntegralSum([], 'num') - $integralService->getIntegralSum([], 'sent_num'),
             'date' => '今日'
         ];