From b21ca070526ec10fbea98e29135751776dc31059 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期四, 30 四月 2026 10:09:47 +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