mirror of
https://gitee.com/dromara/dax-pay
synced 2026-08-12 23:45:39 +08:00
refactor(payment): appSecret 脱敏收窄为前后各6位
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user