From a10f5979cef6722997e92707d221dfe8ea520030 Mon Sep 17 00:00:00 2001 From: limu <610543851@qq.com> Date: Tue, 20 Feb 2024 14:46:57 +0800 Subject: [PATCH] 1 --- app/command/dayUserGrowth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/command/dayUserGrowth.php b/app/command/dayUserGrowth.php index a82ca87..de44e21 100644 --- a/app/command/dayUserGrowth.php +++ b/app/command/dayUserGrowth.php @@ -36,6 +36,7 @@ class dayUserGrowth extends Command foreach ($user as $k => $v) { if ($v['all_value'] > 0) { $growth_num = bcdiv($v['all_value'], $v['growth_rate'], 2); + $growth_num = $growth_num+$v['brokerage_price']; userModel::getDB() ->where('uid', $v['uid']) ->update(['all_value' => 0, 'brokerage_price' => $growth_num]);