/// <summary> /// 创建二维码 /// </summary> /// <param name="param">二维码参数</param> /// <returns></returns> protected abstract byte[] Create(QRCodeParam param);
/// <summary> /// 设置二维码参数 /// </summary> /// <param name="param">二维码参数</param> /// <returns></returns> public IQRCodeService Param(QRCodeParam param) { _param = param; Init(_param); return(this); }
/// <summary> /// 初始化 /// </summary> protected virtual void Init(QRCodeParam param) { HandlerCorrectionLevel(param.Level); }