Commit 774d8291b78a0e9a87946a5d3c952b1962081ae0
1 parent
8d2c33e9
解决配置管理新增时是否可见为空报错信息不正确问题
Showing
1 changed file
with
2 additions
and
2 deletions
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/vo/ConfigBaseVO.java
| @@ -29,8 +29,8 @@ public class ConfigBaseVO { | @@ -29,8 +29,8 @@ public class ConfigBaseVO { | ||
| 29 | @Size(max = 500, message = "参数键值长度不能超过500个字符") | 29 | @Size(max = 500, message = "参数键值长度不能超过500个字符") |
| 30 | private String value; | 30 | private String value; |
| 31 | 31 | ||
| 32 | - @Schema(description = "是否敏感", required = true, example = "true") | ||
| 33 | - @NotNull(message = "是否敏感不能为空") | 32 | + @Schema(description = "是否可见", required = true, example = "true") |
| 33 | + @NotNull(message = "是否可见不能为空") | ||
| 34 | private Boolean visible; | 34 | private Boolean visible; |
| 35 | 35 | ||
| 36 | @Schema(description = "备注", example = "备注一下很帅气!") | 36 | @Schema(description = "备注", example = "备注一下很帅气!") |