♻️ 支付模块 敏感参数脱敏

(cherry picked from commit 5cb7743455edf386161e17e3d409d5f3e6cc936e)
This commit is contained in:
冷冷 committed 2024-06-20 16:51:42 +08:00
1 parent 1a10197b48
commit 63032e672f
1 file changed
+6 -2
@@ -19,6 +19,8 @@ package com.pig4cloud.pigx.pay.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.pig4cloud.pigx.common.core.sensitive.Sensitive;
import com.pig4cloud.pigx.common.core.sensitive.SensitiveTypeEnum;
import com.pig4cloud.pigx.common.core.util.TenantTable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@@ -67,9 +69,10 @@ public class PayChannel extends Model<PayChannel> {
private String channelName;
/**
* 渠道商户ID | 12****123
* 渠道商户ID | 123333***
*/
@Schema(description = "渠道商户ID | 12****123")
@Sensitive(type = SensitiveTypeEnum.KEY)
@Schema(description = "渠道商户ID")
private String channelMchId;
/**
@@ -132,6 +135,7 @@ public class PayChannel extends Model<PayChannel> {
/**
* 应用ID
*/
@Sensitive(type = SensitiveTypeEnum.KEY)
@Schema(description = "应用ID")
private String appId;