fix: fix the GetSortedConversationList (#1725)

* fix: improve the GetSortedConversation api

* fix: fix the go.mod

* fix: fix the valiable name
This commit is contained in:
Brabem
2024-01-10 10:55:55 +08:00
committed by GitHub
parent a2a082f681
commit 1c72e46cc9
6 changed files with 29 additions and 17 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ func NewGinRouter(discov discoveryregistry.SvcDiscoveryRegistry, rdb redis.Unive
conversationGroup := r.Group("/conversation", ParseToken)
{
c := NewConversationApi(*conversationRpc)
conversationGroup.POST("/get_conversations_list", c.GetConversationsList)
conversationGroup.POST("/get_sorted_conversation_list", c.GetSortedConversationList)
conversationGroup.POST("/get_all_conversations", c.GetAllConversations)
conversationGroup.POST("/get_conversation", c.GetConversation)
conversationGroup.POST("/get_conversations", c.GetConversations)