diff --git a/app/api/controller/ShopCallController.php b/app/api/controller/ShopCallController.php index 05104c8a..ab7184f6 100644 --- a/app/api/controller/ShopCallController.php +++ b/app/api/controller/ShopCallController.php @@ -212,11 +212,11 @@ class ShopCallController extends BaseApiController // 计算分润 if (!$userSelf->isEmpty()) { UserLogic::userProfit($userSelf, $orderMoney, $proportion, $orderNo); - $noticeUser[] = ['type' => 3, 'account' => $userSelf['account'], 'user_profit' => bcmul($orderMoney, 0.01, 2)]; + $noticeUser[] = ['type' => 3, 'account' => $userSelf['account'], 'user_profit' => bcmul($orderMoney, 0.01)]; } if (!$courier->isEmpty()) { UserLogic::userProfit($courier, $orderMoney, $proportion, $orderNo); - $noticeUser[] = ['type' => 4, 'account' => $courier['account'], 'user_profit' => bcmul($orderMoney, 0.01, 2)]; + $noticeUser[] = ['type' => 4, 'account' => $courier['account'], 'user_profit' => bcmul($orderMoney, 0.01)]; } $request['user'] = $noticeUser;