张延森 преди 3 години
родител
ревизия
a5a0759cbf
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1
    0
      src/main/java/com/njyunzhi/pet_identity/service/impl/TaCardNoServiceImpl.java

+ 1
- 0
src/main/java/com/njyunzhi/pet_identity/service/impl/TaCardNoServiceImpl.java Целия файл

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