修改订单支付回调的错误

This commit is contained in:
mkm 2024-01-27 17:30:29 +08:00
parent 98697a31eb
commit f4c83b013a

View File

@ -512,7 +512,9 @@ class StoreOrderRepository extends BaseRepository
$finance = (new CommissionDao())->firstOrderCommission($order, $finance, $financeSn . ($i++));
$addressCode = explode(',', $order['user_address_code']);
// "惠农供销,谱写数字新篇章"活动首单分润,镇合伙人
(new CommissionDao())->sendCommission($order, $addressCode[3], 3);
if (!empty($addressCode[3])) {
(new CommissionDao())->sendCommission($order, $addressCode[3], 3);
}
}
}
//分销判断