From 44f3e97a84f45022b8e3b5b5f4c2887d86a6ab6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Tue, 17 Mar 2026 01:09:36 +0800 Subject: [PATCH] Chore: remove duplicate refund_status guard in PlatformOrderToolsGuard --- app/Support/PlatformOrderToolsGuard.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Support/PlatformOrderToolsGuard.php b/app/Support/PlatformOrderToolsGuard.php index 4676548..a4f0ae4 100644 --- a/app/Support/PlatformOrderToolsGuard.php +++ b/app/Support/PlatformOrderToolsGuard.php @@ -142,9 +142,6 @@ class PlatformOrderToolsGuard if ((string) ($filters['refund_status'] ?? '') === 'has') { return '当前集合为「有退款」:为避免带退款订单直接批量生效,请先完成退款治理(核对退款回执/修正状态)后再执行。'; } - if ((string) ($filters['refund_status'] ?? '') === 'has') { - return '当前集合为「有退款」:为避免带退款订单被批量推进,请先完成退款治理(核对退款回执/修正状态)后再批量生效。'; - } if (((string) ($filters['reconcile_mismatch'] ?? '') === '1') || ((string) ($filters['refund_inconsistent'] ?? '') === '1')) { return '当前集合包含「对账不一致/退款不一致」治理集合:建议先完成金额/状态治理(补回执/核对退款/修正状态)后再批量生效。'; }