🔐 用户列表查询屏蔽敏感字段输出

This commit is contained in:
冷冷 2024-07-11 13:06:55 +08:00
parent 79425cd984
commit 7245c4654b
2 changed files with 11 additions and 7 deletions

View File

@ -1,25 +1,28 @@
name: 问题咨询
description: "请尽可能详细的描述问题,提供足够的上下文"
description: "请尽可能详细的描述问题,提供足够的上下文,一分钟的描述不需要期望别人花半小时帮你排查"
body:
- type: dropdown
id: version
attributes:
label: PIG版本
options:
- "不处理PIGX或其他魔改版本"
- "3.8"
- "3.7"
validations:
required: true
- type: checkboxes
validations:
required: true
attributes:
label: 是否修改了包名
label: 架构
options:
- label:
required: false
- label: 微服务架构
- label: 单体架构
- type: textarea
id: desired-solution
attributes:
label: 问题描述
description: 详细问题,提供相应截图和日志
description: 详细问题,提供相应截图和日志,一分钟的描述不需要期望别人花半小时帮你排查
validations:
required: true

View File

@ -19,6 +19,7 @@
package com.pig4cloud.pig.admin.api.vo;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.pig4cloud.pig.admin.api.entity.SysPost;
import com.pig4cloud.pig.admin.api.entity.SysRole;
import io.swagger.v3.oas.annotations.media.Schema;
@ -53,13 +54,13 @@ public class UserVO implements Serializable {
/**
* 密码
*/
@Schema(description = "密码")
@JsonIgnore
private String password;
/**
* 随机盐
*/
@Schema(description = "随机盐")
@JsonIgnore
private String salt;
/**