es
yangsai@163.com 7 months ago
parent a58b0474bd
commit 7d9fe74489
  1. 6
      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']);
// 发送消息通知

Loading…
Cancel
Save