显示实名信息

This commit is contained in:
磷叶 2024-11-04 16:56:10 +08:00
parent 492a5ccd97
commit b49a8bda8f
2 changed files with 4 additions and 0 deletions

View File

@ -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("应用的设备列表")

View File

@ -33,6 +33,7 @@ public class TransactionBillVO extends TransactionBill implements IotDevice {
@ApiModelProperty("商户(到账用户)名称")
@JsonView(JsonViewProfile.App.class)
@Sensitive(desensitizedType = DesensitizedType.COMMON)
private String mchName;
@ApiModelProperty("支付渠道名称")