Map<Object, Object> map = new HashMap<>();
map.put("success",false);
map.put("message","验签失败");
String jsonMap = new ObjectMapper().writeValueAsString(map);
response.setContentType("application/json;charset=UTF-8");
response.getWriter().println(jsonMap);