重试分账
This commit is contained in:
@@ -763,7 +763,9 @@ class LedgerForm extends BaseModel
|
||||
$logDelivery->saveOrFail();
|
||||
}
|
||||
|
||||
$platformTotal = round($platformDrugTotal+$processPriceTotal+$platformDeliveryTotal?? 0+$platformDecoctTotal, 2); //该订单平台分佣总金额
|
||||
$money1 = bcadd($platformDrugTotal, $processPriceTotal, 2);
|
||||
$money2 = bcadd($platformDeliveryTotal, $platformDecoctTotal, 2);
|
||||
$platformTotal = round(bcadd($money1, $money2, 2), 2); //该订单平台分佣总金额
|
||||
//可提现金额表更新
|
||||
CashAccount::updateAllCounters(['able_cash' => $platformTotal, 'total_cash' => $platformTotal],['user_type' => 2]); //平台
|
||||
|
||||
|
||||
Reference in New Issue
Block a user