无关风月
8 天以前 8b48244257eaa19bfd8a761b3d2309cea25a8aaa
ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/util/QRCodeUtils.java
@@ -125,9 +125,8 @@
        BufferedImage image = QRCodeUtils.createImage(content, imgPath,
                needCompress);
        mkdirs(destPath);
        String file = new Random().nextInt(99999999)+".jpg";
        ImageIO.write(image, FORMAT_NAME, new File(destPath+"/"+file));
        return file;
        ImageIO.write(image, FORMAT_NAME, new File(destPath));
        return destPath;
    }
    /**