|
@@ -490,7 +490,7 @@ public class CertificateTpServiceImpl extends ServiceImpl<CertificateTpMapper, C
|
|
g.drawString(entity.getDateM(), 2505, 1599);
|
|
g.drawString(entity.getDateM(), 2505, 1599);
|
|
g.drawString(entity.getDateD(), 2712, 1599);
|
|
g.drawString(entity.getDateD(), 2712, 1599);
|
|
//二维码
|
|
//二维码
|
|
- String qrTxt = CERTIFICATE_HOST+"certificate.html?code="+entity.getCode();
|
|
|
|
|
|
+ String qrTxt = CERTIFICATE_HOST+"pages/certificate/index?code="+entity.getCode();
|
|
QRCodeWriter qrCodeWriter = new QRCodeWriter();
|
|
QRCodeWriter qrCodeWriter = new QRCodeWriter();
|
|
BitMatrix bitMatrix = qrCodeWriter.encode(qrTxt, BarcodeFormat.QR_CODE, 320, 320);
|
|
BitMatrix bitMatrix = qrCodeWriter.encode(qrTxt, BarcodeFormat.QR_CODE, 320, 320);
|
|
BufferedImage qrImage = toBufferedImage(bitMatrix);
|
|
BufferedImage qrImage = toBufferedImage(bitMatrix);
|