refactor(payment): appSecret 脱敏收窄为前后各6位

This commit is contained in:
daxpay
2026-07-29 13:09:44 +08:00
parent 6961e7d6de
commit 3a4c3cac61
4 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ public class DyMchAppResult extends MchBaseResult {
@Schema(description = "抖音应用AppId")
private String douyinAppId;
@SensitiveInfo(front = 12, end = 12)
@SensitiveInfo(front = 6, end = 6)
@Schema(description = "应用密钥(已脱敏)")
private String appSecret;
}

View File

@@ -24,7 +24,7 @@ public class DyPlatformAppResult extends BaseResult {
@Schema(description = "抖音应用AppId")
private String douyinAppId;
@SensitiveInfo(front = 12, end = 12)
@SensitiveInfo(front = 6, end = 6)
@Schema(description = "应用密钥(已脱敏)")
private String appSecret;
}

View File

@@ -24,7 +24,7 @@ public class WxMchAppResult extends MchBaseResult {
@Schema(description = "微信应用AppId")
private String wxAppId;
@SensitiveInfo(front = 12, end = 12)
@SensitiveInfo(front = 6, end = 6)
@Schema(description = "应用密钥(已脱敏)")
private String appSecret;
}

View File

@@ -24,7 +24,7 @@ public class WxPlatformAppResult extends BaseResult {
@Schema(description = "微信应用AppId")
private String wxAppId;
@SensitiveInfo(front = 12, end = 12)
@SensitiveInfo(front = 6, end = 6)
@Schema(description = "应用密钥(已脱敏)")
private String appSecret;
}