创建聊天组

This commit is contained in:
苏尹岚
2020-10-21 11:02:31 +08:00
parent 9c3be6bcc7
commit fe53668185
5 changed files with 81 additions and 65 deletions

View File

@@ -185,6 +185,20 @@ func (c *EventController) GetImMessageRecord() {
})
}
// @Title 创建聊天组
// @Description 创建聊天组
// @Param token header string true "认证token"
// @Param userID formData string true "创建者id"
// @Param userID2 formData string false "被拉的id 如果userID2为空就默认为是创建的群聊"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /CreateMessageGroup [post]
func (c *EventController) CreateMessageGroup() {
c.callCreateMessageGroup(func(params *tEventCreateMessageGroupParams) (retVal interface{}, errCode string, err error) {
return retVal, "", err
})
}
// @Title 加入用户组
// @Description 加入用户组
// @Param token header string true "认证token"