|
|
|
@ -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']); |
|
|
|
|
// 发送消息通知 |
|
|
|
|