lqmac 6 months ago
parent 37c328a722
commit 94ac5a7674
  1. 2
      app/store/model/OrderRefund.php

@ -322,7 +322,7 @@ class OrderRefund extends OrderRefundModel
}
// 更新主订单状态为未发货
(new OrderModel)->update(['order_status'=>OrderStatusEnum::NORMAL,'delivery_status'=>DeliveryStatusEnum::NOT_DELIVERED],['order_id'=>$order['order_id']]);
(new OrderGoodsModel)->update(['delivery_status'=>DeliveryStatusEnum::NOT_DELIVERED],['order_id'=>$order['order_id']]);
(new OrderGoodsModel)->update(['delivery_status'=>DeliveryStatusEnum::NOT_DELIVERED, 'delivery_num' => 0],['order_id'=>$order['order_id']]);
// 发送消息通知
MessageService::send('order.refund', [
'refund' => $this, // 售后单信息

Loading…
Cancel
Save