Pu Zhibing
2025-07-14 99eddbebf80c5549a7487caed95b041abdc9bb5f
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;
    }
    /**