Commit 8194b74c authored by chenweijian's avatar chenweijian

派对邀请

parent 4a994e33
......@@ -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 {
......
......@@ -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,
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment