@RequestMapping( value = "/admin/share/{code}", method = RequestMethod.DELETE, produces = "application/json;charset=UTF-8") @ResponseStatus(value = HttpStatus.NO_CONTENT) public @ResponseBody void deleteShare(@PathVariable String code) { shareService.deleteShare(code); }