pull/5/head
wanghousheng 4 months ago
parent baf59f720a
commit 1e1bf8f619
  1. 6
      app/common/model/dealer/Order.php

@ -164,9 +164,9 @@ class Order extends BaseModel
if (!$goods['is_ind_dealer']) {
// 全局分销比例
return [
'first_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['first_money'], 100)),
'second_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['second_money'], 100)),
'third_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['third_money'], 100))
'first_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['first_money'], 1000)),
'second_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['second_money'], 1000)),
'third_money' => helper::bcmul($goodsPrice, helper::bcdiv($setting['third_money'], 1000))
];
}
// 商品单独分销

Loading…
Cancel
Save