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

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

View File

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