Commit 53096675 by 袁津

[chg]优化调用AQI接口时的日志打印

1 parent 619e4fd3
......@@ -110,7 +110,6 @@ public class JsonService {
HttpResponse response = HttpUtils.doPost(host, path, method, headers, querys, bodys);
json = EntityUtils.toString(response.getEntity());
System.out.println(sdf.format(new Date()) + "调用AQI接口返回json:" + json);
ObjectMapper mapper = new ObjectMapper();
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!