lyhzzz 1 年間 前
コミット
3328d2864f

+ 0 - 22
src/main/java/com/fdkankan/manage/config/NacosScopeConfig.java

@@ -1,22 +0,0 @@
-package com.fdkankan.manage.config;
-
-
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.cloud.context.config.annotation.RefreshScope;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-@Configuration
-public class NacosScopeConfig {
-
-    public static String threshold = null;
-
-    @Bean
-    @RefreshScope
-    public void setThreshold(@Value("${dingtalk.threshold:0.2}")
-                           String threshold) {
-
-        NacosScopeConfig.threshold = threshold;
-    }
-
-}