张延森 3 years ago
parent
commit
a5a0759cbf

+ 1
- 0
src/main/java/com/njyunzhi/pet_identity/service/impl/TaCardNoServiceImpl.java View File

@@ -65,6 +65,7 @@ public class TaCardNoServiceImpl extends ServiceImpl<TaCardNoMapper, TaCardNo> i
65 65
             String scene = "page=cardinfo&cardno=" + cardNo;
66 66
 
67 67
             // 生成小程序码
68
+            qrpath = StringUtils.trim(qrpath, "/"); // 去掉开头的 /
68 69
             TaMiniappQrcode qrCode = iTaMiniappQrcodeService.createQRCode(qrpath, scene);
69 70
             // 生成模板图片
70 71
             // TODO