From 076368e402462e1672f2cd5f93d0c6ca0a9f56cb Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Sun, 30 Mar 2025 21:19:01 +0800 Subject: [PATCH] no message --- src/Services/Cron.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Services/Cron.php b/src/Services/Cron.php index f3c01681..8c92f8c5 100755 --- a/src/Services/Cron.php +++ b/src/Services/Cron.php @@ -125,9 +125,9 @@ final class Cron $iMoneyCount += $row["price"]; $oUser = $oUserModel->where("id", $row["id"])->first(); - - if (isset($oUser['from'])) { - $sFrom = $oUser['from']; + + if (isset($oUser->from)) { + $sFrom = $oUser->from; } else { $sFrom = "无"; } @@ -138,7 +138,6 @@ final class Cron } else { $iPayCountOld ++; $iMoneyCountOld += $row["price"]; -// var_dump($row); } $aUserMix[$sFrom]['pay_count'] = $iPayCount;