Browse Source

控制台退款金额

gorden 1 month ago
parent
commit
77b263b441
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/admin/service/statistics/OrderService.php

+ 1 - 2
app/admin/service/statistics/OrderService.php

@@ -39,8 +39,7 @@ class OrderService
             ->where('order_status_payment','SUCCESS')
             ->sum('order_amount_pay');
         // 今日退单
-        $data['todayRefund'] = OrderReturn::where('order_return_addtimes', '>', $todayTimeUnix)
-            ->count();
+        $data['todayRefund'] = $refundAmount;
 
 
         // 柱状图