소스 검색

更新在线qrcode bug3

xiewj 1 년 전
부모
커밋
75bbcf6f1f
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      720yun_fd_manage/gis_oss/src/main/java/com/gis/oss/util/QrCodeUtils.java

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

@@ -165,8 +165,10 @@ 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();
+                log.info("diy_logoPath{}",logoPath);
+
         }else {
              if (!FileUtil.isFile(logoPath)) {
                 InputStream resource = FileUtils.getResource("img/kankan_icon.png");