fix(alipay): 服务商应用密钥配置返回结果补敏感字段脱敏

This commit is contained in:
DaxPay Dev
2026-07-04 23:21:00 +08:00
parent acaf80dcde
commit 6d7809ddfa

View File

@@ -1,5 +1,6 @@
package cn.daxpay.open.channel.alipay.result.isv;
import cn.daxpay.open.platform.common.json.sensitive.SensitiveInfo;
import cn.daxpay.open.platform.core.result.BaseResult;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@@ -25,26 +26,32 @@ public class AlipayIsvAppKeyConfigResult extends BaseResult {
private String authType;
/// 支付宝公钥
@SensitiveInfo(front = 12, end = 12)
@Schema(description = "支付宝公钥")
private String alipayPublicKey;
/// 应用私钥
@SensitiveInfo(front = 12, end = 12)
@Schema(description = "应用私钥")
private String privateKey;
/// 应用公钥证书
@SensitiveInfo(front = 12, end = 12)
@Schema(description = "应用公钥证书")
private String appCert;
/// 支付宝公钥证书
@SensitiveInfo(front = 12, end = 12)
@Schema(description = "支付宝公钥证书")
private String alipayCert;
/// 支付宝CA根证书
@SensitiveInfo(front = 12, end = 12)
@Schema(description = "支付宝CA根证书")
private String alipayRootCert;
/// AES通信密钥
@SensitiveInfo
@Schema(description = "AES通信密钥")
private String secretKey;
}