退出用户组
This commit is contained in:
@@ -251,3 +251,18 @@ func (c *EventController) UpdateMessageGroup() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 退出用户组(踢人)
|
||||
// @Description 退出用户组(踢人)
|
||||
// @Param token header string true "认证token"
|
||||
// @Param groupID formData int true "组号"
|
||||
// @Param userID formData string true "userID"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /DeleteMessageGroup [delete]
|
||||
func (c *EventController) DeleteMessageGroup() {
|
||||
c.callDeleteMessageGroup(func(params *tEventDeleteMessageGroupParams) (retVal interface{}, errCode string, err error) {
|
||||
errCode, err = event.DeleteMessageGroup(params.Ctx, params.GroupID, params.UserID)
|
||||
return retVal, errCode, err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user