支付修复Bug

This commit is contained in:
2025-03-25 10:10:25 +08:00
parent 7f4dd6ce62
commit 38bf7444ed

View File

@@ -157,6 +157,7 @@ class ProductOrderSubmitForm extends BaseModel
return [
'is_paid' => 0,
'order_id' => $productOrder['id'],
'timestamp' => time(),
];
}
$productOrderItems = ProductOrderItems::find()->where(['product_order_id' => $productOrder->id])->all();
@@ -212,6 +213,7 @@ class ProductOrderSubmitForm extends BaseModel
return [
'is_paid' => 0,
'order_id' => $productOrder['id'],
'timestamp' => time(),
];
}
} else {