Преглед на файлове

fix 证书二维码路径

he2802 преди 3 години
родител
ревизия
70963012e0

+ 1 - 1
zhongzheng-admin/src/main/resources/application-prod.yml

@@ -111,7 +111,7 @@ wx:
         notifyUrl: https://api.xyyxt.net/wx/pay/callback
 
 certificate:
-    host: http://192.168.1.38:8000/
+    host: https://m.xyyxt.net/
 
 officialPush:
     infoPath: http://jypt-dev.gdcic.net/organjxjy/ShangBaoMingdan

+ 1 - 1
zhongzheng-api/src/main/resources/application-prod.yml

@@ -123,7 +123,7 @@ wx:
         notifyUrl: https://api.xyyxt.net/wx/pay/callback
 
 certificate:
-    host: http://192.168.1.38:8000/
+    host: https://m.xyyxt.net/
 
 officialPush:
     infoPath: http://jypt-dev.gdcic.net/organjxjy/ShangBaoMingdan

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

@@ -490,7 +490,7 @@ public class CertificateTpServiceImpl extends ServiceImpl<CertificateTpMapper, C
             g.drawString(entity.getDateM(), 2505, 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();
             BitMatrix bitMatrix = qrCodeWriter.encode(qrTxt, BarcodeFormat.QR_CODE, 320, 320);
             BufferedImage qrImage = toBufferedImage(bitMatrix);