chenjiahe
2022-12-16 5bfcd30741d716cb46bb4540051c3bed65737189
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 {