Skip to content

Commit

Permalink
feat:蓝盾APP Oauth2授权登录实现 #9353
Browse files Browse the repository at this point in the history
  • Loading branch information
fcfang123 committed Aug 30, 2023
1 parent ff2442e commit aa74605
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import io.swagger.annotations.ApiModelProperty
@ApiModel("用户部门详细信息")
data class BkUserDeptInfo(
@ApiModelProperty("id")
val id: String,
val id: String?,
@ApiModelProperty("部门名称")
val name: String,
val name: String?,
@ApiModelProperty("部门详细名称")
@JsonProperty("full_name")
val fullName: String
val fullName: String?
)
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import io.swagger.annotations.ApiModelProperty
@ApiModel("用户额外信息")
data class BkUserExtras(
@ApiModelProperty("性别")
val gender: String,
val gender: String?,
@ApiModelProperty("postName")
@JsonProperty("postname")
val postName: String
val postName: String?
)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data class BkUserInfo(
@ApiModelProperty("是否启用")
val enabled: Boolean,
@ApiModelProperty("用户额外信息")
val extras: BkUserExtras,
val extras: BkUserExtras?,
@ApiModelProperty("用户部门")
val departments: List<BkUserDeptInfo>
val departments: List<BkUserDeptInfo>?
)

0 comments on commit aa74605

Please sign in to comment.