From 3aeee0be2dc1fc39300692b3b9223fde7d58e0f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Thu, 18 Mar 2021 18:52:01 +0800 Subject: [PATCH] Update UserAmount.php --- app/data/command/UserAmount.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/data/command/UserAmount.php b/app/data/command/UserAmount.php index 55a9e24c7..a8930b85c 100644 --- a/app/data/command/UserAmount.php +++ b/app/data/command/UserAmount.php @@ -33,10 +33,10 @@ class UserAmount extends Command try { [$total, $count] = [$this->app->db->name('DataUser')->count(), 0]; foreach ($this->app->db->name('DataUser')->field('id')->cursor() as $user) { - $this->queue->message($total, ++$count, "正在计算用户 [{$user['id']}] 的余额和返利"); + $this->queue->message($total, ++$count, "正在计算用户 [{$user['id']}] 的余额及返利"); UserRebateService::instance()->amount($user['id']); UserBalanceService::instance()->amount($user['id']); - $this->queue->message($total, $count, "完成计算用户 [{$user['id']}] 的余额和返利", 1); + $this->queue->message($total, $count, "完成计算用户 [{$user['id']}] 的余额及返利", 1); } } catch (\Exception $exception) { $this->queue->error($exception->getMessage());