From d8aace86479b387c00a1b6f9331753ee528802f4 Mon Sep 17 00:00:00 2001 From: v2board Date: Mon, 17 Apr 2023 21:02:57 +0800 Subject: [PATCH] update: statistical service --- app/Console/Commands/V2boardStatistics.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/V2boardStatistics.php b/app/Console/Commands/V2boardStatistics.php index 05e5f681..dec22368 100644 --- a/app/Console/Commands/V2boardStatistics.php +++ b/app/Console/Commands/V2boardStatistics.php @@ -45,6 +45,7 @@ class V2boardStatistics extends Command { ini_set('memory_limit', -1); $this->statOrder(); + $this->statUser(); } private function statUser() @@ -56,7 +57,7 @@ class V2boardStatistics extends Command DB::beginTransaction(); foreach ($stats as $stat) { if (!StatUser::insert([ - 'user_id' => $stat['user_Id'], + 'user_id' => $stat['user_id'], 'u' => $stat['u'], 'd' => $stat['d'], 'server_rate' => $stat['server_rate'],