提交swagger 对象接口补充
This commit is contained in:
@@ -15,10 +15,10 @@ public class LoginResponse {
|
||||
@Schema(description = "Bearer Token", example = "550e8400-e29b-41d4-a716-446655440000")
|
||||
private String token;
|
||||
/** 用户主键 */
|
||||
@Schema(description = "用户主键")
|
||||
@Schema(description = "用户主键", example = "1")
|
||||
private Long userId;
|
||||
/** 登录用户名 */
|
||||
@Schema(description = "登录用户名")
|
||||
@Schema(description = "登录用户名", example = "admin")
|
||||
private String username;
|
||||
/** 角色:UPLOADER / ANNOTATOR / REVIEWER / ADMIN */
|
||||
@Schema(description = "角色", example = "ADMIN")
|
||||
|
||||
Reference in New Issue
Block a user