StringBuilder buf = new StringBuilder();
buf.append(headerPath);
buf.append(File.separatorChar);
buf.append(infoBean.getMemberId());
buf.append( File.separatorChar );
buf.append(infoBean.getPicturePath());
//检查磁盘上是否存在相应的图片文件
File imageFile = new File(buf.toString());
boolean isFileExists = imageFile.exists();
if(isFileExists){
returnBean.setPicturePath(infoBean.getPicturePath());
} else {
returnBean.setPicturePath(null);
}