修改现金付款的直接修改状态
This commit is contained in:
parent
4c511d39b3
commit
5de3cf3a97
@ -627,6 +627,9 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
$order->paid = 1;
|
$order->paid = 1;
|
||||||
$order->pay_time = time();
|
$order->pay_time = time();
|
||||||
$order->status = 2;
|
$order->status = 2;
|
||||||
|
if ($order['reservation'] ==1) {
|
||||||
|
$order->status = 1;
|
||||||
|
}
|
||||||
if (!$order->save()) {
|
if (!$order->save()) {
|
||||||
throw new \Exception('订单保存出错');
|
throw new \Exception('订单保存出错');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user