From 327aff9ff7472b09ff5be3fba4b4b43633aa70c8 Mon Sep 17 00:00:00 2001 From: lq Date: Mon, 9 Dec 2024 15:18:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E8=B4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/forms/LedgerForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/forms/LedgerForm.php b/common/forms/LedgerForm.php index 267917a..6ca4575 100644 --- a/common/forms/LedgerForm.php +++ b/common/forms/LedgerForm.php @@ -488,7 +488,7 @@ class LedgerForm extends BaseModel $logDelivery->saveOrFail(); } - $platformTotal = round($platformDrugTotal+$platformDeliveryTotal+$platformDecoctTotal, 2); //该订单平台分佣总金额 + $platformTotal = round($platformDrugTotal+$platformDeliveryTotal?? 0+$platformDecoctTotal, 2); //该订单平台分佣总金额 //可提现金额表更新 CashAccount::updateAllCounters(['able_cash' => $platformTotal, 'total_cash' => $platformTotal],['user_type' => 2]); //平台