替换logo图片

This commit is contained in:
GYJ 2024-07-29 14:55:21 +08:00
parent b3fc438e78
commit 6a29563de0
2 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ public class UserService {
throw new MsgException("店铺不存在");
}
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
Resource resource = resourceLoader.getResource("classpath:/static/logo.png");
Resource resource = resourceLoader.getResource("classpath:/static/logo.jpg");
InputStream inputStream = resource.getInputStream();
QrCodeUtil.generate(wxAccountUtil.getRadarQrCode(Integer.valueOf(shopId)), new QrConfig(250, 250).setImg(ImageIO.read(inputStream)), "png", outputStream);

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB