/**
* 通过ID获取人脸小图照片
* @param id
* @param response
* @throws Exception
*/
@GetMapping("picture/face/{id}")
public void getFacePicById(@PathVariable("id") String id, HttpServletResponse response)throws Exception {
response.reset();
//设置response的Header
response.addHeader("Accept-Ranges","bytes");
response.setContentType("image/jpeg");
response.getOutputStream().write(super.service.getFacePictureById(id));
}