We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bc5666 commit fac8922Copy full SHA for fac8922
continew-system/src/main/java/top/continew/admin/auth/model/resp/UserInfoResp.java
@@ -27,6 +27,7 @@
27
import java.io.Serializable;
28
import java.time.LocalDate;
29
import java.time.LocalDateTime;
30
+import java.util.List;
31
import java.util.Set;
32
33
/**
@@ -140,6 +141,12 @@ public class UserInfoResp implements Serializable {
140
141
@Schema(description = "角色编码集合", example = "[\"test\"]")
142
private Set<String> roles;
143
144
+ /**
145
+ * 角色名称列表
146
+ */
147
+ @Schema(description = "角色名称列表", example = "测试人员")
148
+ private List<String> roleNames;
149
+
150
public LocalDate getRegistrationDate() {
151
return createTime.toLocalDate();
152
}
0 commit comments