@Test public void testCreateQrCode() throws Exception { final File qrCode = this.wxService.getQrcodeService().createQrcode("111", 122); System.out.println(qrCode); }
@Override public File createQrcode(String path, int width) throws WxErrorException { return this.wxMaService.execute(new QrCodeRequestExecutor(this.wxMaService.getRequestHttp()), CREATE_QRCODE_URL, new WxMaQrcode(path, width)); }
WxMaQrcodeServiceImpl implements WxMaQrcodeService { @Override public File createQrcode(String path, int width) throws WxErrorException { return this.wxMaService.execute(new QrCodeRequestExecutor(this.wxMaService.getRequestHttp()), CREATE_QRCODE_URL, new WxMaQrcode(path, width)); } }
WxMaQrcodeServiceImpl implements WxMaQrcodeService { @Override public File createQrcode(String path, int width) throws WxErrorException { return this.wxMaService.execute(new QrCodeRequestExecutor(this.wxMaService.getRequestHttp()), CREATE_QRCODE_URL, new WxMaQrcode(path, width)); } WxMaQrcodeServiceImpl(WxMaService wxMaService); }
WxMaQrcodeServiceImpl implements WxMaQrcodeService { @Override public File createQrcode(String path, int width) throws WxErrorException { return this.wxMaService.execute(new QrCodeRequestExecutor(this.wxMaService.getRequestHttp()), CREATE_QRCODE_URL, new WxMaQrcode(path, width)); } WxMaQrcodeServiceImpl(WxMaService wxMaService); @Override File createQrcode(String path, int width); @Override File createQrcode(String path); @Override File createWxaCode(String path, int width, boolean autoColor, WxMaCodeLineColor lineColor, boolean isHyaline); @Override File createWxaCode(String path, int width); @Override File createWxaCode(String path); @Override File createWxaCodeUnlimit(String scene, String page, int width, boolean autoColor, WxMaCodeLineColor lineColor, boolean isHyaline); @Override File createWxaCodeUnlimit(String scene, String page); }
WxMaQrcodeServiceImpl implements WxMaQrcodeService { @Override public File createQrcode(String path, int width) throws WxErrorException { return this.wxMaService.execute(new QrCodeRequestExecutor(this.wxMaService.getRequestHttp()), CREATE_QRCODE_URL, new WxMaQrcode(path, width)); } WxMaQrcodeServiceImpl(WxMaService wxMaService); @Override File createQrcode(String path, int width); @Override File createQrcode(String path); @Override File createWxaCode(String path, int width, boolean autoColor, WxMaCodeLineColor lineColor, boolean isHyaline); @Override File createWxaCode(String path, int width); @Override File createWxaCode(String path); @Override File createWxaCodeUnlimit(String scene, String page, int width, boolean autoColor, WxMaCodeLineColor lineColor, boolean isHyaline); @Override File createWxaCodeUnlimit(String scene, String page);  }