From 228b881e5a893ec010a194ac42011a4169d0c590 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期二, 21 四月 2026 14:24:15 +0800
Subject: [PATCH] 料箱码查询优化
---
rsf-server/src/main/java/com/vincent/rsf/server/system/controller/HttpAuditRuleController.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/system/controller/HttpAuditRuleController.java b/rsf-server/src/main/java/com/vincent/rsf/server/system/controller/HttpAuditRuleController.java
index dd1fb67..1ea1081 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/system/controller/HttpAuditRuleController.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/system/controller/HttpAuditRuleController.java
@@ -8,6 +8,7 @@
import com.vincent.rsf.server.common.domain.BaseParam;
import com.vincent.rsf.server.common.domain.PageParam;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
@@ -20,6 +21,7 @@
import java.util.Set;
@RestController
+@ConditionalOnProperty(prefix = "http-audit", name = "enabled", havingValue = "true", matchIfMissing = true)
public class HttpAuditRuleController extends BaseController {
private static final Set<String> RULE_TYPES = new HashSet<>(Arrays.asList(
--
Gitblit v1.9.1