⬆️ 升级guava版本修复 CVE-2023-2976,同时升级其他依赖包版本
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user