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