mirror of
https://gitee.com/dromara/dax-pay
synced 2026-08-12 15:35:38 +08:00
fix(douyin): 直连密钥配置返回结果补敏感字段脱敏
商户私钥/接口加密密钥此前 Schema 注释写'已脱敏'但未加 @SensitiveInfo, 经 DataEncryptTypeHandler 解密后明文返回前端。补 @SensitiveInfo(front=12,end=12), 与支付宝/微信 Result 对齐。
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user