作者 crossoverJie

:recycle: Refactoring code.

@@ -17,11 +17,11 @@ public class EndPointConfig { @@ -17,11 +17,11 @@ public class EndPointConfig {
17 17
18 18
19 @Value("${monitor.channel.map.key}") 19 @Value("${monitor.channel.map.key}")
20 - private String sortList; 20 + private String channelMap;
21 21
22 @Bean 22 @Bean
23 public CustomEndpoint buildEndPoint(){ 23 public CustomEndpoint buildEndPoint(){
24 - CustomEndpoint customEndpoint = new CustomEndpoint(sortList) ; 24 + CustomEndpoint customEndpoint = new CustomEndpoint(channelMap) ;
25 return customEndpoint ; 25 return customEndpoint ;
26 } 26 }
27 } 27 }