post
This commit is contained in:
@@ -269,7 +269,7 @@ func (c *EventController) UpdateMessageGroup() {
|
||||
// @Param userID formData string true "userID"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /DeleteMessageGroup [delete]
|
||||
// @router /DeleteMessageGroup [post]
|
||||
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)
|
||||
|
||||
@@ -227,7 +227,7 @@ func init() {
|
||||
beego.ControllerComments{
|
||||
Method: "DeleteMessageGroup",
|
||||
Router: `/DeleteMessageGroup`,
|
||||
AllowHTTPMethods: []string{"delete"},
|
||||
AllowHTTPMethods: []string{"post"},
|
||||
MethodParams: param.Make(),
|
||||
Filters: nil,
|
||||
Params: nil})
|
||||
|
||||
Reference in New Issue
Block a user