支付修复Bug

This commit is contained in:
2025-03-25 10:12:34 +08:00
parent 38bf7444ed
commit f7ff9840db

View File

@@ -155,9 +155,10 @@ class ProductOrderSubmitForm extends BaseModel
}
// 暂时改成0
return [
'is_paid' => 0,
'is_paid' => 1,
'order_id' => $productOrder['id'],
'timestamp' => time(),
'is_pay' => 1
];
}
$productOrderItems = ProductOrderItems::find()->where(['product_order_id' => $productOrder->id])->all();
@@ -211,9 +212,10 @@ class ProductOrderSubmitForm extends BaseModel
throw $exception;
}
return [
'is_paid' => 0,
'is_paid' => 1,
'order_id' => $productOrder['id'],
'timestamp' => time(),
'is_pay' => 1
];
}
} else {