配置取消审核通过逻辑完善

This commit is contained in:
zhangwei
2018-05-29 15:37:48 +08:00
parent 11e70875c8
commit aa341445f2
5 changed files with 89 additions and 53 deletions

View File

@@ -252,7 +252,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.put(Entity.entity(params, MediaType.APPLICATION_JSON));
Response response= header.post(Entity.entity(params, MediaType.APPLICATION_JSON));
if( response.getStatus() == 200){
result= response.readEntity(String.class);
JSONObject resObject = JSONObject.fromObject(result);