From a6986911253315666ba94b4a254206e71908a375 Mon Sep 17 00:00:00 2001 From: wanghousheng Date: Fri, 19 Jul 2024 10:16:04 +0800 Subject: [PATCH] 1 --- app/common/model/dealer/Order.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/model/dealer/Order.php b/app/common/model/dealer/Order.php index 93b4f1aa..61c7a8dc 100644 --- a/app/common/model/dealer/Order.php +++ b/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 { // 分销佣金类型:固定金额