|
|
|
@ -166,8 +166,8 @@ class Order extends BaseModel |
|
|
|
|
// 分销佣金类型:百分比 |
|
|
|
|
return [ |
|
|
|
|
'first_money' => $goodsPrice * helper::bcdiv($goods['first_money'], 1000, 3), |
|
|
|
|
'second_money' => $goodsPrice * helper::bcdiv($goods['second_money'], 100, 3), |
|
|
|
|
'third_money' => $goodsPrice * helper::bcdiv($goods['third_money'], 100, 3) |
|
|
|
|
'second_money' => $goodsPrice * helper::bcdiv($goods['second_money'], 1000, 3), |
|
|
|
|
'third_money' => $goodsPrice * helper::bcdiv($goods['third_money'], 1000, 3) |
|
|
|
|
]; |
|
|
|
|
} else { |
|
|
|
|
// 分销佣金类型:固定金额 |
|
|
|
|