limu 9 months ago
parent 4c6cb24a24
commit d5dd822b3f
  1. 2
      crmeb/jobs/OrderPartnerJob.php

@ -102,7 +102,7 @@ class OrderPartnerJob implements JobInterface
} }
//将总毛利的70% 计入总奖池 //将总毛利的70% 计入总奖池
$all_value = bcmul($total_price, '0.7', 2); $all_value = bcmul($total_price, '0.75', 2);
$system = SystemConfigValue::getDB()->where('config_key', 'all_award')->find(); $system = SystemConfigValue::getDB()->where('config_key', 'all_award')->find();
$system->value = $system->value + $all_value; $system->value = $system->value + $all_value;
$system->save(); $system->save();

Loading…
Cancel
Save