diff --git a/app/store/model/OrderRefund.php b/app/store/model/OrderRefund.php index 4e1ed2da..2fe78103 100644 --- a/app/store/model/OrderRefund.php +++ b/app/store/model/OrderRefund.php @@ -203,9 +203,9 @@ class OrderRefund extends OrderRefundModel // 更新售后单状态 $this->save($data); // 同意售后申请, 记录退货地址 - if ($data['audit_status'] == AuditStatusEnum::REVIEWED) { - (new OrderRefundAddress)->add((int)$this['order_refund_id'], (int)($data['address_id'] ?? 0)); - } +// if ($data['audit_status'] == AuditStatusEnum::REVIEWED) { +// (new OrderRefundAddress)->add((int)$this['order_refund_id'], (int)($data['address_id'] ?? 0)); +// } // 订单详情 $order = Order::detail($this['order_id']); // 发送消息通知