From 333f2d8f6d05e1e892e5685406edb823ee2e4f78 Mon Sep 17 00:00:00 2001 From: "yangsai@163.com" <2624183217@qq.com> Date: Thu, 16 May 2024 17:51:35 +0800 Subject: [PATCH] YS --- app/api/model/OrderRefund.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/model/OrderRefund.php b/app/api/model/OrderRefund.php index a63da476..0bae7fa6 100644 --- a/app/api/model/OrderRefund.php +++ b/app/api/model/OrderRefund.php @@ -172,7 +172,7 @@ class OrderRefund extends OrderRefundModel public function delivery(array $data): bool { if ( - $this['type'] != RefundTypeEnum::RETURN + ($this['type'] != RefundTypeEnum::RETURN || $this['type'] != RefundTypeEnum::EXCHANGE) || $this['audit_status'] != AuditStatusEnum::REVIEWED || $this['is_user_send'] != 0 ) {