Commit 6d0b1f9f authored by chenweijian's avatar chenweijian

Merge branch 'fix/party_apply' into 'master'

派对申请优化

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