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