(1)ip管控提交
(2)delRow.tag修改,删除的时候将编译ID也传过去 (3)配置取消修改,请求应当是put请求
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user