diff --git a/app/api/model/OrderRefund.php b/app/api/model/OrderRefund.php index 60ea8b93..a63da476 100644 --- a/app/api/model/OrderRefund.php +++ b/app/api/model/OrderRefund.php @@ -80,6 +80,9 @@ class OrderRefund extends OrderRefundModel if ($data['type'] == RefundTypeEnum::RETURN) { return $data['is_user_send'] ? '已发货,待平台确认' : '已同意退货,请及时发货'; } + if ($data['type'] == RefundTypeEnum::EXCHANGE) { + return $data['is_user_send'] ? '已发货,待平台确认' : '已同意换货,请及时发货'; + } } return $value; }