File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -440,6 +440,7 @@ type QuestionPageRespOperator struct {
440440 Rank int `json:"rank"`
441441 DisplayName string `json:"display_name"`
442442 Status string `json:"status"`
443+ Avatar string `json:"avatar"`
443444}
444445
445446type AdminQuestionPageReq struct {
Original file line number Diff line number Diff line change @@ -23,11 +23,12 @@ import (
2323 "context"
2424 "encoding/json"
2525 "fmt"
26- "github.com/apache/answer/internal/service/siteinfo_common"
2726 "math"
2827 "strings"
2928 "time"
3029
30+ "github.com/apache/answer/internal/service/siteinfo_common"
31+
3132 "github.com/apache/answer/internal/base/constant"
3233 "github.com/apache/answer/internal/base/data"
3334 "github.com/apache/answer/internal/base/handler"
@@ -456,6 +457,7 @@ func (qs *QuestionCommon) FormatQuestionsPage(
456457 item .Operator .Username = userInfo .Username
457458 item .Operator .Rank = userInfo .Rank
458459 item .Operator .Status = userInfo .Status
460+ item .Operator .Avatar = userInfo .Avatar
459461 }
460462 }
461463 }
You can’t perform that action at this time.
0 commit comments