Commit 7578d81d authored by chenweijian's avatar chenweijian

派对申请优化

parent 4198311c
......@@ -27,6 +27,8 @@ type InviteApply struct {
Avatar string `json:"avatar"`
ExternalId string `json:"externalId"`
Reason int `json:"reason"` // 1.已申请2.待审核3.已通过4.已拒绝"
Country string `json:"country"`
PlatformId string `json:"platformId"`
}
type InviteApplyNumRes struct {
......
......@@ -215,6 +215,8 @@ func InviteApplyList(c *gin.Context) (*mycontext.MyContext, error) {
Avatar: users[v.NewUserId].Avatar,
ExternalId: users[v.NewUserId].ExternalId,
Reason: v.Reason,
Country: users[v.NewUserId].Country,
PlatformId: v.PlatformId,
})
}
......
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