Przeglądaj źródła

fix 证书地址

he2802 3 lat temu
rodzic
commit
9e68e447bc

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/base/service/impl/CertificateTpServiceImpl.java

@@ -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);