mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-27 20:30:40 +08:00
revokeMsg route
This commit is contained in:
parent
416bf4921c
commit
5974012fba
@ -131,6 +131,10 @@ func (m *Message) ClearMsg(c *gin.Context) {
|
|||||||
a2r.Call(msg.MsgClient.ClearMsg, m.client, c)
|
a2r.Call(msg.MsgClient.ClearMsg, m.client, c)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (m *Message) RevokeMsg(c *gin.Context) {
|
||||||
|
a2r.Call(msg.MsgClient.RevokeMsg, m.client, c)
|
||||||
|
}
|
||||||
|
|
||||||
func (m *Message) SetMessageReactionExtensions(c *gin.Context) {
|
func (m *Message) SetMessageReactionExtensions(c *gin.Context) {
|
||||||
a2r.Call(msg.MsgClient.SetMessageReactionExtensions, m.client, c)
|
a2r.Call(msg.MsgClient.SetMessageReactionExtensions, m.client, c)
|
||||||
}
|
}
|
||||||
|
@ -142,6 +142,7 @@ func NewGinRouter(zk discoveryregistry.SvcDiscoveryRegistry, rdb redis.Universal
|
|||||||
msgGroup.POST("/del_msg", m.DelMsg)
|
msgGroup.POST("/del_msg", m.DelMsg)
|
||||||
msgGroup.POST("/del_super_group_msg", m.DelSuperGroupMsg)
|
msgGroup.POST("/del_super_group_msg", m.DelSuperGroupMsg)
|
||||||
msgGroup.POST("/clear_msg", m.ClearMsg)
|
msgGroup.POST("/clear_msg", m.ClearMsg)
|
||||||
|
msgGroup.POST("/revoke_msg", m.RevokeMsg)
|
||||||
|
|
||||||
msgGroup.POST("/batch_send_msg", m.ManagementBatchSendMsg)
|
msgGroup.POST("/batch_send_msg", m.ManagementBatchSendMsg)
|
||||||
msgGroup.POST("/check_msg_is_send_success", m.CheckMsgIsSendSuccess)
|
msgGroup.POST("/check_msg_is_send_success", m.CheckMsgIsSendSuccess)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user