bruce 10 months ago
commit 98b15a8fec
  1. 2
      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([

Loading…
Cancel
Save