@ -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]);