昵称和用户名如果用手机号,也进行脱敏
This commit is contained in:
parent
a5f924841a
commit
c5da640432
@ -28,10 +28,11 @@ public class MemberVO implements Serializable {
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty(value = "会员用户名")
|
||||
@Sensitive(strategy = SensitiveStrategy.USERNAME)
|
||||
@Sensitive(strategy = SensitiveStrategy.PHONE)
|
||||
private String username;
|
||||
|
||||
@ApiModelProperty(value = "昵称")
|
||||
@Sensitive(strategy = SensitiveStrategy.PHONE)
|
||||
private String nickName;
|
||||
|
||||
@ApiModelProperty(value = "会员性别,1为男,0为女")
|
||||
|
Loading…
x
Reference in New Issue
Block a user