Pu Zhibing
2025-06-02 b4bfd886af0460ae84b2d70233c2a77866930a46
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;
    }
    /**