From 5ad72fa24c912b9662905d32ea295570fac28fbf Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Mon, 10 Feb 2025 17:53:21 +0800 Subject: [PATCH] update config --- internal/api/msg.go | 8 -------- internal/api/router.go | 2 -- 2 files changed, 10 deletions(-) diff --git a/internal/api/msg.go b/internal/api/msg.go index b21e792db..0b73af0cb 100644 --- a/internal/api/msg.go +++ b/internal/api/msg.go @@ -391,11 +391,3 @@ func (m *MessageApi) SearchMsg(c *gin.Context) { func (m *MessageApi) GetServerTime(c *gin.Context) { a2r.Call(c, msg.MsgClient.GetServerTime, m.Client) } - -func (m *MessageApi) GetStreamMsg(c *gin.Context) { - a2r.Call(c, msg.MsgClient.GetServerTime, m.Client) -} - -func (m *MessageApi) AppendStreamMsg(c *gin.Context) { - a2r.Call(c, msg.MsgClient.GetServerTime, m.Client) -} diff --git a/internal/api/router.go b/internal/api/router.go index da9d22463..216a43363 100644 --- a/internal/api/router.go +++ b/internal/api/router.go @@ -246,8 +246,6 @@ func newGinRouter(ctx context.Context, client discovery.SvcDiscoveryRegistry, cf msgGroup.POST("/batch_send_msg", m.BatchSendMsg) msgGroup.POST("/check_msg_is_send_success", m.CheckMsgIsSendSuccess) msgGroup.POST("/get_server_time", m.GetServerTime) - msgGroup.POST("/get_stream_msg", m.GetStreamMsg) - msgGroup.POST("/append_stream_msg", m.AppendStreamMsg) } // Conversation {