lyhzzz 1 년 전
부모
커밋
3328d2864f
1개의 변경된 파일0개의 추가작업 그리고 22개의 파일을 삭제
  1. 0 22
      src/main/java/com/fdkankan/manage/config/NacosScopeConfig.java

+ 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;
-    }
-
-}