Commit 9c7e7912 authored by root's avatar root

修改接口

parent 26e2b9d9
...@@ -18,9 +18,8 @@ public class AddOrUpdateRoleDTO { ...@@ -18,9 +18,8 @@ public class AddOrUpdateRoleDTO {
@NotBlank @NotBlank
private String roleName; private String roleName;
@ApiModelProperty(value = "角色编号", required = true, dataType = "varchar") @ApiModelProperty(value = "角色编号", required = false, dataType = "varchar")
@Length(min = 1,max = 64,message = "长度最小为1,最大为50") @Length(min = 1,max = 64,message = "长度最小为1,最大为50")
@NotBlank
private String code; private String code;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment