@ -319,7 +319,7 @@ class OrderRefund extends OrderRefundModel
(new UserModel)->setDecUserExpend($order['user_id'], $data['refund_money']);
(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']]);