From 8194b74c882ccab29d2915c196237488be7de526 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Mon, 3 Jul 2023 10:48:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BE=E5=AF=B9=E9=82=80=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cv/invite_cv/invite_apply.go | 2 ++ route/invite_r/party_invite.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cv/invite_cv/invite_apply.go b/cv/invite_cv/invite_apply.go index e598d49..94afd60 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 5449be6..5201452 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, }) } -- 2.22.0