瀏覽代碼

Merge branch 'master' of ssh://git.usgamewin.com:22022/laoma/admin_api

Tree 2 周之前
父節點
當前提交
c35fe2c361
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
     }