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([