es
yangsai@163.com 7 months ago
parent 51d1bb96ba
commit 89d155c217
  1. 2
      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, // 售后单信息

Loading…
Cancel
Save