code: public HashMap<EncodeHintType, Object> toHints() {
  		// 配置
  		final HashMap<EncodeHintType, Object> hints = new HashMap<>();
  		if (null != this.charset) {
  			hints.put(EncodeHintType.CHARACTER_SET, charset.toString());
  		}
  		if (null != this.errorCorrection) {
  			hints.put(EncodeHintType.ERROR_CORRECTION, this.errorCorrection);
  		}
  		if (null != this.margin) {
  			hints.put(EncodeHintType.MARGIN, this.margin);
  		}
  		return hints;
  	}
docs: 转换为Zxing的二维码配置
  
  @return 配置