From 339e1009908a0549ae3f5869a7a109cfe9540807 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期四, 23 五月 2024 15:25:17 +0800 Subject: [PATCH] 跨域 --- src/main/java/com/whyc/constant/YamlProperties.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/whyc/constant/YamlProperties.java b/src/main/java/com/whyc/constant/YamlProperties.java index fd9b18a..4d17866 100644 --- a/src/main/java/com/whyc/constant/YamlProperties.java +++ b/src/main/java/com/whyc/constant/YamlProperties.java @@ -67,12 +67,12 @@ YamlProperties.systemType = systemType; } - @Value("${custom.face.threshold}") + /* @Value("${custom.face.threshold}") private void setFaceThreshold(Float faceThreshold) { YamlProperties.faceThreshold = faceThreshold; } - @Value("${custom.message.switch}") + @Value("${custom.message.switch}") private void setMessageSwitch(String messageSwitch) { YamlProperties.messageSwitch = messageSwitch; } @@ -141,7 +141,7 @@ public void setFaceType(Integer faceType) { YamlProperties.faceType = faceType; } - +*/ @Value("${custom.fontDynamicCode}") public void setFontDynamicCodeSwitch(String fontDynamicCodeSwitch) { YamlProperties.fontDynamicCodeSwitch = fontDynamicCodeSwitch; -- Gitblit v1.9.1