return result;
}
@RequestMapping(value = "/user/destroy", method = RequestMethod.POST)
public @ResponseBody WebResult delete(HttpEntity<User> entity) throws UnsupportedEncodingException {
User user=entity.getBody();
WebResult result=new WebResult();
userManager.removeUser(user.getUsername());
return result;
}