Commit 2bb361d8 by 徐高华

TEST

parent 063b17aa
......@@ -647,12 +647,13 @@ public class TestController extends WebBaseController {
@ResponseBody
public Object self(String ips){
if(StringUtils.isEmpty(ips)) {
ips = "121.36.247.198,60.204.155.186,123.60.35.52,124.70.140.207,121.37.130.214,122.9.64.47,116.63.51.145,122.9.68.94,122.9.190.110" ;
ips = "122.9.71.161,121.36.247.198,60.204.155.186,123.60.35.52,124.70.140.207,121.37.130.214,122.9.64.47,116.63.51.145,122.9.68.94,122.9.190.110" ;
}
String[] arr = ips.split(",") ;
Map<String,String> map = new HashMap<>() ;
for(String ip : arr) {
String s = httpRequest("http://"+ip+":8990/api-qywx-self/index.html","GET",null,3) ;
String s = httpRequest("http://"+ip+":8990/api-qywx-self/index.html","GET",null,3000) ;
logger.info("s={},{}",ip,s);
map.put(ip,s) ;
}
return map ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment