Browse Source

更新在线qrcode bug2

xiewj 1 year ago
parent
commit
e41125d12a

+ 1 - 1
720yun_fd_manage/gis_oss/src/main/java/com/gis/oss/util/QrCodeUtils.java

@@ -165,7 +165,7 @@ public class QrCodeUtils {
         }
         String logoPath = serverBasePath + "img/kankan_icon.png";
         if (StrUtil.isNotEmpty(logo)){
-            File file = HttpUtil.downloadFileFromUrl(logo, logoPath);
+            File file = HttpUtil.downloadFileFromUrl(logo, savePath);
                  logoPath=file.getPath();
         }else {
              if (!FileUtil.isFile(logoPath)) {