(1)MaatConverException调整,将接口返回json异常信息解析。

(2)白名单,IP配置审核异常结果修改
This commit is contained in:
wangxin
2018-06-08 15:57:59 +08:00
parent 623a1fdd09
commit 46b08620b6
5 changed files with 177 additions and 4 deletions

View File

@@ -150,7 +150,7 @@ public class ConfigServiceUtil {
JSONObject resObject = JSONObject.fromObject(result,config);
bean = (ToMaatResult) JSONObject.toBean(resObject,ToMaatResult.class);
}else{
throw new MaatConvertException("<spring:message code=\"request_service_failed\"/>:"+response.readEntity(String.class));
throw new MaatConvertException("<spring:message code=\"request_service_failed\"/>"+response.readEntity(String.class));
}
return bean;
}