fhx
2023-04-06 c1a9eee9c9aa0d3c7592fa75e70243e0297b3a0d
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 {