...
|
...
|
@@ -156,7 +156,9 @@ public class MaliciousIpController { |
|
|
return rtnBaseResponse;
|
|
|
}
|
|
|
|
|
|
private List<String> getNginxHost(){
|
|
|
@RequestMapping("/getNginxHost")
|
|
|
@ResponseBody
|
|
|
public List<String> getNginxHost(){
|
|
|
List<HostInfo> hostInfoList= hostInfoService.getHostInfosByTag("upstream-switch");
|
|
|
List<String> ips=new ArrayList<>();
|
|
|
if(hostInfoList!=null&&hostInfoList.size()>0){
|
...
|
...
|
|