From 5cb4c06261464a0f59e6d767100c871a7b713768 Mon Sep 17 00:00:00 2001 From: limu Date: Fri, 26 Jan 2024 11:15:11 +0800 Subject: [PATCH] Changes --- app/command/brand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/command/brand.php b/app/command/brand.php index e95d9ee..b914e08 100644 --- a/app/command/brand.php +++ b/app/command/brand.php @@ -97,7 +97,7 @@ class brand extends Command //用户总贡献值 = 当前总贡献值+昨日的品宣贡献值 $all_value = $brandGongxian + $v['all_value']; - $growth_num = bcdiv($all_value, $v['growth_rate'], 2); + $growth_num = bcdiv((string)$all_value, (string)$v['growth_rate'], 2); userModel::getDB() ->where('uid', $v['uid']) ->update([