@RequestMapping(value = "/remove") @ResponseBody public String remove(@RequestParam Map<String, String> params) throws Exception { return new ObjectMapper().writeValueAsString(service.removeUser(params)); }
@RequestMapping(value = "/save", produces = "text/plain; charset=UTF-8") @ResponseBody public String save(@RequestParam Map<String, String> params) throws Exception { return new ObjectMapper().writeValueAsString(service.saveUser(params)); }