mirror of
https://gitee.com/dromara/dax-pay
synced 2026-08-11 15:15:33 +08:00
fix p12证书校验出错
This commit is contained in:
@@ -86,7 +86,7 @@ public class WeChatPayCancelService {
|
||||
.build()
|
||||
.createSign(weChatPayConfig.getApiKeyV2(), SignType.HMACSHA256);
|
||||
// 获取证书文件
|
||||
if (StrUtil.isNotBlank(weChatPayConfig.getP12())){
|
||||
if (StrUtil.isBlank(weChatPayConfig.getP12())){
|
||||
String errorMsg = "微信p.12证书未配置,无法进行退款";
|
||||
AsyncRefundLocal.setErrorMsg(errorMsg);
|
||||
AsyncRefundLocal.setErrorCode(REFUND_PROCESS_FAIL);
|
||||
|
||||
Reference in New Issue
Block a user