diff --git a/app/common/model/dealer/Order.php b/app/common/model/dealer/Order.php index 7f866f22..76e88001 100644 --- a/app/common/model/dealer/Order.php +++ b/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)) ]; } // 商品单独分销