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