mirror of https://gitee.com/answerdev/answer.git
userinfo show userid
This commit is contained in:
parent
a3aec66dd1
commit
676a19500c
|
@ -39,7 +39,7 @@ type ActObjectTimeline struct {
|
||||||
ObjectType string `json:"object_type"`
|
ObjectType string `json:"object_type"`
|
||||||
Cancelled bool `json:"cancelled"`
|
Cancelled bool `json:"cancelled"`
|
||||||
CancelledAt int64 `json:"cancelled_at"`
|
CancelledAt int64 `json:"cancelled_at"`
|
||||||
UserID string `json:"-"`
|
UserID string `json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ActObjectInfo act object info
|
// ActObjectInfo act object info
|
||||||
|
|
|
@ -368,7 +368,7 @@ type ActionRecordResp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type UserBasicInfo struct {
|
type UserBasicInfo struct {
|
||||||
ID string `json:"-"` // user_id
|
ID string `json:"id"` // user_id
|
||||||
Username string `json:"username" ` // name
|
Username string `json:"username" ` // name
|
||||||
Rank int `json:"rank" ` // rank
|
Rank int `json:"rank" ` // rank
|
||||||
DisplayName string `json:"display_name"` // display_name
|
DisplayName string `json:"display_name"` // display_name
|
||||||
|
|
Loading…
Reference in New Issue