fwq
2023-10-23 9020811b517b3a417231e0558d740804ca6fb5b2
src/main/java/com/hx/util/QRCodeUtil.java
@@ -55,7 +55,7 @@
         bos = new ByteArrayOutputStream();
         ImageIO.write(image, "JPEG", bos);
         byte[] buf = bos.toByteArray();
         return Base64.getEncoder().encodeToString(buf);
         return "data:image/png;base64,"+Base64.getEncoder().encodeToString(buf);
      }catch (Exception e){
         e.printStackTrace();
      }finally {