瀏覽代碼

会员升级

Kirin 1 年之前
父節點
當前提交
976e5e6c2e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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') - $integralService->getIntegralSum([], 'sent_num'),
+            'total' => bcsub((string)$integralService->getIntegralSum([], 'num'), (string)$integralService->getIntegralSum([], 'sent_num'), 2),
             'date' => '今日'
         ];