diff --git a/member/models/forms/ProductOrderSubmitForm.php b/member/models/forms/ProductOrderSubmitForm.php index a690c2a..a9fca55 100644 --- a/member/models/forms/ProductOrderSubmitForm.php +++ b/member/models/forms/ProductOrderSubmitForm.php @@ -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 {