diff --git a/app/store/model/OrderRefund.php b/app/store/model/OrderRefund.php index 4853810e..a31a4586 100644 --- a/app/store/model/OrderRefund.php +++ b/app/store/model/OrderRefund.php @@ -319,7 +319,7 @@ class OrderRefund extends OrderRefundModel (new UserModel)->setDecUserExpend($order['user_id'], $data['refund_money']); } // 更新主订单状态为未发货 - (new OrderModel)->save(['order_status'=>OrderStatusEnum::NORMAL,'delivery_status'=>DeliveryStatusEnum::NOT_DELIVERED,'order_id'=>$order['order_id']]); + (new OrderModel)->update(['order_status'=>OrderStatusEnum::NORMAL,'delivery_status'=>DeliveryStatusEnum::NOT_DELIVERED],['order_id'=>$order['order_id']]); // 发送消息通知 MessageService::send('order.refund', [ 'refund' => $this, // 售后单信息