A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
userinfo show userid
aichy126676a19500c2b
diff --git a/internal/schema/activity.go b/internal/schema/activity.goindex 57c45ea1..6e775c88 100644--- a/internal/schema/activity.go+++ b/internal/schema/activity.go@@ -39,17 +39,17 @@ type ActObjectTimeline struct {ObjectType string `json:"object_type"`Cancelled bool `json:"cancelled"`CancelledAt int64 `json:"cancelled_at"`- UserID string `json:"-"`+ UserID string `json:"id"`}// ActObjectInfo act object infotype ActObjectInfo struct {- Title string `json:"title"`- ObjectType string `json:"object_type"`- QuestionID string `json:"question_id"`- AnswerID string `json:"answer_id"`- Username string `json:"username"`- DisplayName string `json:"display_name"`+ Title string `json:"title"`+ ObjectType string `json:"object_type"`+ QuestionID string `json:"question_id"`+ AnswerID string `json:"answer_id"`+ Username string `json:"username"`+ DisplayName string `json:"display_name"`MainTagSlugName string `json:"main_tag_slug_name"`}diff --git a/internal/schema/user_schema.go b/internal/schema/user_schema.goindex 2212dfe6..e625dedf 100644--- a/internal/schema/user_schema.go+++ b/internal/schema/user_schema.go@@ -368,7 +368,7 @@ type ActionRecordResp struct {}type UserBasicInfo struct {- ID string `json:"-"` // user_id+ ID string `json:"id"` // user_idUsername string `json:"username" ` // nameRank int `json:"rank" ` // rankDisplayName string `json:"display_name"` // display_name