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

@ -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 {
// 分销佣金类型:固定金额

Loading…
Cancel
Save