支付修复Bug
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user