userinfo show userid

This commit is contained in:
aichy126 2022-12-07 12:30:42 +08:00
parent a3aec66dd1
commit 676a19500c
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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