|
|
@ -423,7 +423,7 @@ public class AgencyController { |
|
|
|
.concat("type=").concat(type).concat(StrConstant.AND_MARK) |
|
|
|
.concat("userId=").concat(tokenDto.getUserId()) |
|
|
|
.concat(StrConstant.AND_MARK).concat(String.valueOf(LocalDateTime.now().toInstant(ZoneOffset.of("+8")).toEpochMilli())); |
|
|
|
BufferedImage image = BarcodeUtils.drawQRImage(name, url); |
|
|
|
BufferedImage image = BarcodeUtils.drawQRImage(name, URLEncoder.encode(url,StrConstant.UTF_8)); |
|
|
|
//BufferedImage 转 InputStream
|
|
|
|
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); |
|
|
|
ImageOutputStream imageOutput = ImageIO.createImageOutputStream(byteArrayOutputStream); |
|
|
|