updatemessage
This commit is contained in:
@@ -244,6 +244,10 @@ func (c *EventController) AddMessageGroup() {
|
||||
// @router /UpdateMessageGroup [put]
|
||||
func (c *EventController) UpdateMessageGroup() {
|
||||
c.callUpdateMessageGroup(func(params *tEventUpdateMessageGroupParams) (retVal interface{}, errCode string, err error) {
|
||||
payload := make(map[string]interface{})
|
||||
if err = utils.UnmarshalUseNumber([]byte(params.Payload), &payload); err == nil {
|
||||
retVal, err = event.UpdateMessageGroup(params.Ctx, params.GroupID, payload)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user