pull/5/head
wanghousheng 7 months ago
parent b158f9f99c
commit a698691125
  1. 4
      app/common/model/dealer/Order.php

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

Loading…
Cancel
Save