(1)ip管控提交

(2)delRow.tag修改,删除的时候将编译ID也传过去
(3)配置取消修改,请求应当是put请求
This commit is contained in:
wangxin
2018-06-02 17:40:14 +08:00
parent e80f2e2967
commit 5913fc6e4f
14 changed files with 731 additions and 42 deletions

View File

@@ -255,7 +255,7 @@ public class ConfigServiceUtil {
WebTarget wt = ClientUtil.getWebTarger(url);
//获取响应结果
Builder header = wt.request(MediaType.APPLICATION_JSON).header("Content-Type", MediaType.APPLICATION_JSON);
Response response= header.post(Entity.entity(params, MediaType.APPLICATION_JSON));
Response response= header.put(Entity.entity(params, MediaType.APPLICATION_JSON));
if( response.getStatus() == 200){
result= response.readEntity(String.class);
JSONObject resObject = JSONObject.fromObject(result);