From f7ff9840db36c106c57e09708e6f70439706d567 Mon Sep 17 00:00:00 2001 From: liqi Date: Tue, 25 Mar 2025 10:12:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E4=BF=AE=E5=A4=8DBug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- member/models/forms/ProductOrderSubmitForm.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 {