This commit is contained in:
苏尹岚
2020-11-24 14:29:42 +08:00
parent 126af8f857
commit 842b5e59bb
3 changed files with 78 additions and 22 deletions

View File

@@ -358,6 +358,20 @@ func (c *User2Controller) UpdateUser() {
})
}
// @Title 被邀请用户达到4人时同意或拒绝入群
// @Description 被邀请用户达到4人时同意或拒绝入群
// @Param token header string true "认证token"
// @Param flag formData int true "1为同意0为拒绝"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /AcceptAddGroup [post]
func (c *User2Controller) AcceptAddGroup() {
c.callAcceptAddGroup(func(params *tUser2AcceptAddGroupParams) (retVal interface{}, errCode string, err error) {
err = cms.AcceptAddGroup(params.Ctx, params.Flag)
return retVal, "", err
})
}
// @Title 获取用户管理城市
// @Description 获取用户管理城市
// @Param token header string true "认证token"