From dfd45b0998e4b9279e8ed8a33fbf82fc4e8b6015 Mon Sep 17 00:00:00 2001
From: whycxzp <glperry@163.com>
Date: 星期四, 06 三月 2025 14:39:26 +0800
Subject: [PATCH] 区分默认通用,太供,晋源,代码逻辑微调

---
 src/main/java/com/whyc/constant/YamlProperties.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/whyc/constant/YamlProperties.java b/src/main/java/com/whyc/constant/YamlProperties.java
index fd9b18a..46135da 100644
--- a/src/main/java/com/whyc/constant/YamlProperties.java
+++ b/src/main/java/com/whyc/constant/YamlProperties.java
@@ -21,6 +21,9 @@
      */
     public static Integer systemType;
 
+    /** 绯荤粺瀛愮被鍒� */
+    public static Integer systemSubType;
+
     /**浜鸿劯璇嗗埆瀵规瘮闃堝��*/
     public static Float faceThreshold;
 
@@ -67,6 +70,11 @@
         YamlProperties.systemType = systemType;
     }
 
+    @Value("${system.subType}")
+    public void setSystemSubType(Integer systemSubType) {
+        YamlProperties.systemSubType = systemSubType;
+    }
+
     @Value("${custom.face.threshold}")
     private void setFaceThreshold(Float faceThreshold) {
         YamlProperties.faceThreshold = faceThreshold;

--
Gitblit v1.9.1