|
|
package com.ui.ctrl;
|
|
|
|
|
|
import com.ui.contants.HttpUriContants;
|
|
|
import com.ui.http.HttpRestClient;
|
|
|
import com.ui.model.BaseResponse;
|
|
|
import com.ui.model.MonitAlarmInfo;
|
|
|
import com.ui.model.req.ZkDetailReq;
|
|
|
import com.ui.model.req.ZkTreeReq;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
...
|
...
|
@@ -14,7 +11,6 @@ import org.springframework.stereotype.Controller; |
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
import java.util.Map;
|
...
|
...
|
@@ -104,4 +100,18 @@ public class OuterIntfCtrl { |
|
|
return httpClient.defaultGet("/internalDns/justForShell",String.class,map);
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 捕获的恶意ip写入运维系统的mysql
|
|
|
* 大数据算法
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping("/testsearch")
|
|
|
@ResponseBody
|
|
|
public BaseResponse testsearch() {
|
|
|
Map<String,String> map=new HashMap<>();
|
|
|
BaseResponse response=httpClient.get("http://search.yohoops.org/yohosearch/fuzzy/productList.json?query=卫衣&viewNum=30&uid=13420925",BaseResponse.class,map);
|
|
|
return response;
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|