1
0
mirror of synced 2025-12-22 09:58:07 +08:00

⬆️ 升级guava版本修复 CVE-2023-2976,同时升级其他依赖包版本

This commit is contained in:
Bincent
2023-09-03 03:36:52 +00:00
committed by Binary Wang
parent 189bcdc1d3
commit e61cf93a12
4 changed files with 31 additions and 26 deletions

View File

@@ -1025,7 +1025,7 @@ public interface WxPayService {
* @param sideLength 要生成的二维码的边长如果为空则取默认值400
* @return 生成的二维码的字节数组 byte [ ]
*/
byte[] createScanPayQrcodeMode1(String productId, File logoFile, Integer sideLength);
byte[] createScanPayQrcodeMode1(String productId, File logoFile, Integer sideLength) throws Exception;
/**
* <pre>
@@ -1054,7 +1054,7 @@ public interface WxPayService {
* @param sideLength 要生成的二维码的边长如果为空则取默认值400
* @return 生成的二维码的字节数组 byte [ ]
*/
byte[] createScanPayQrcodeMode2(String codeUrl, File logoFile, Integer sideLength);
byte[] createScanPayQrcodeMode2(String codeUrl, File logoFile, Integer sideLength) throws Exception;
/**
* <pre>

View File

@@ -837,7 +837,7 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
}
@Override
public byte[] createScanPayQrcodeMode1(String productId, File logoFile, Integer sideLength) {
public byte[] createScanPayQrcodeMode1(String productId, File logoFile, Integer sideLength) throws Exception {
String content = this.createScanPayQrcodeMode1(productId);
return this.createQrcode(content, logoFile, sideLength);
}
@@ -867,11 +867,11 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
}
@Override
public byte[] createScanPayQrcodeMode2(String codeUrl, File logoFile, Integer sideLength) {
public byte[] createScanPayQrcodeMode2(String codeUrl, File logoFile, Integer sideLength) throws Exception {
return this.createQrcode(codeUrl, logoFile, sideLength);
}
private byte[] createQrcode(String content, File logoFile, Integer sideLength) {
private byte[] createQrcode(String content, File logoFile, Integer sideLength) throws Exception {
if (sideLength == null || sideLength < 1) {
return QrcodeUtils.createQrcode(content, logoFile);
}