diff --git a/cv/invite_cv/invite_apply.go b/cv/invite_cv/invite_apply.go index e598d49c2431a216286ac284865d89adf047d39c..94afd60e412a80feb3f946e8ddefeeeb7302c815 100644 --- a/cv/invite_cv/invite_apply.go +++ b/cv/invite_cv/invite_apply.go @@ -23,6 +23,8 @@ type InviteApply struct { CreateUnix int64 `json:"createUnix"` Level string `json:"level"` Status uint8 `json:"status"` // 状态0.未审核1.已通过2.已拒绝 + Avatar string `json:"avatar"` + ExternalId string `json:"externalId"` } type InviteApplyNumRes struct { diff --git a/route/invite_r/party_invite.go b/route/invite_r/party_invite.go index 5449be64e372527bbe047e5fc02cfbf4a502818e..5201452bfe278797e712f7cab339aca844f784bd 100644 --- a/route/invite_r/party_invite.go +++ b/route/invite_r/party_invite.go @@ -206,6 +206,8 @@ func InviteApplyList(c *gin.Context) (*mycontext.MyContext, error) { CreateUnix: v.CreatedTime.Unix(), Level: v.Level, Status: v.Status, + Avatar: users[v.NewUserId].Avatar, + ExternalId: users[v.NewUserId].ExternalId, }) }