From b49a8bda8fa3f67faa127ac6d889a3342e01cfa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Mon, 4 Nov 2024 16:56:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=AE=9E=E5=90=8D=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/ss/suit/domain/SuitVO.java | 3 +++ .../ruoyi/ss/transactionBill/domain/vo/TransactionBillVO.java | 1 + 2 files changed, 4 insertions(+) diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/suit/domain/SuitVO.java b/smart-switch-service/src/main/java/com/ruoyi/ss/suit/domain/SuitVO.java index 4fd8140f..cb73c72e 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/suit/domain/SuitVO.java +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/suit/domain/SuitVO.java @@ -1,7 +1,9 @@ package com.ruoyi.ss.suit.domain; import com.fasterxml.jackson.annotation.JsonView; +import com.ruoyi.common.annotation.Sensitive; import com.ruoyi.common.core.domain.JsonViewProfile; +import com.ruoyi.common.enums.DesensitizedType; import com.ruoyi.ss.device.domain.vo.DeviceVO; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -18,6 +20,7 @@ public class SuitVO extends Suit { @ApiModelProperty("用户名称") @JsonView(JsonViewProfile.AppMch.class) + @Sensitive(desensitizedType = DesensitizedType.COMMON) private String userName; @ApiModelProperty("应用的设备列表") diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/domain/vo/TransactionBillVO.java b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/domain/vo/TransactionBillVO.java index 95a0f7a0..b0492813 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/domain/vo/TransactionBillVO.java +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/domain/vo/TransactionBillVO.java @@ -33,6 +33,7 @@ public class TransactionBillVO extends TransactionBill implements IotDevice { @ApiModelProperty("商户(到账用户)名称") @JsonView(JsonViewProfile.App.class) + @Sensitive(desensitizedType = DesensitizedType.COMMON) private String mchName; @ApiModelProperty("支付渠道名称")