From c588492087c3e8f2e65e1f8e8615490aca08eb25 Mon Sep 17 00:00:00 2001 From: DaxPay Dev Date: Sun, 5 Jul 2026 19:42:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(douyin):=20=E7=9B=B4=E8=BF=9E=E5=AF=86?= =?UTF-8?q?=E9=92=A5=E9=85=8D=E7=BD=AE=E8=BF=94=E5=9B=9E=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E8=A1=A5=E6=95=8F=E6=84=9F=E5=AD=97=E6=AE=B5=E8=84=B1=E6=95=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 商户私钥/接口加密密钥此前 Schema 注释写'已脱敏'但未加 @SensitiveInfo, 经 DataEncryptTypeHandler 解密后明文返回前端。补 @SensitiveInfo(front=12,end=12), 与支付宝/微信 Result 对齐。 --- .../douyin/result/direct/DouyinDirectKeyConfigResult.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daxpay-channel/daxpay-channel-douyin/src/main/java/cn/daxpay/open/channel/douyin/result/direct/DouyinDirectKeyConfigResult.java b/daxpay-channel/daxpay-channel-douyin/src/main/java/cn/daxpay/open/channel/douyin/result/direct/DouyinDirectKeyConfigResult.java index 1ad2d6be5..9c9083454 100644 --- a/daxpay-channel/daxpay-channel-douyin/src/main/java/cn/daxpay/open/channel/douyin/result/direct/DouyinDirectKeyConfigResult.java +++ b/daxpay-channel/daxpay-channel-douyin/src/main/java/cn/daxpay/open/channel/douyin/result/direct/DouyinDirectKeyConfigResult.java @@ -1,6 +1,7 @@ package cn.daxpay.open.channel.douyin.result.direct; import cn.daxpay.open.payment.common.result.MchBaseResult; +import cn.daxpay.open.platform.common.json.sensitive.SensitiveInfo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.EqualsAndHashCode; @@ -17,12 +18,14 @@ public class DouyinDirectKeyConfigResult extends MchBaseResult { @Schema(description = "通道商户号") private String channelMchNo; + @SensitiveInfo(front = 12, end = 12) @Schema(description = "商户私钥(已脱敏)") private String merchantPrivateKey; @Schema(description = "商家公钥证书序列号") private String merchantSerialNumber; + @SensitiveInfo(front = 12, end = 12) @Schema(description = "接口加密密钥(已脱敏)") private String encryptKey;