laowu 2 tuần trước cách đây
mục cha
commit
9c155083e8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Console/Commands/RecordPaidRewardDailyStatistics.php

+ 1 - 1
app/Console/Commands/RecordPaidRewardDailyStatistics.php

@@ -61,7 +61,7 @@ class RecordPaidRewardDailyStatistics extends Command
             ->get()->map(function ($item) {
                 return json_decode(json_encode($item), true);
             })->toArray();
-        $stats[] = $this->sumAll($dbStats, 'chips_all');
+        $stats[] = $this->sumAll(array_merge($stats, $dbStats), 'chips_all');
 
         return $stats;
     }