支付方式修改

This commit is contained in:
2025-03-21 12:36:02 +08:00
parent e92607d14d
commit 5928110639

View File

@@ -129,7 +129,7 @@ class ProductOrderSubmitForm extends BaseModel
$paymentProductOrder->order_no = $productOrder['order_no'];
$paymentProductOrder->pay_order_no = $pay_order_no;
$paymentProductOrder->amount = $productOrder['total_pay_price'];
if ($productOrder->prescription->category?? 1 === 2) {
if ($productOrder->prescription->category === 2) {
if ($productOrder->delivery_method === 0) {
$total_fee = $productOrder['trans_expenses'];
}