From 64ab98ffaa5e5017d7e8cdf9aa0be47c67a9e4cf Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Wed, 26 Jul 2023 10:17:56 +0800 Subject: [PATCH] new feat: sync designated model --- internal/api/route.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/api/route.go b/internal/api/route.go index 20898d261..33ba728a7 100644 --- a/internal/api/route.go +++ b/internal/api/route.go @@ -81,6 +81,7 @@ func NewGinRouter(discov discoveryregistry.SvcDiscoveryRegistry, rdb redis.Unive friendRouterGroup.POST("/get_designated_friend_apply", f.GetDesignatedFriendsApply) friendRouterGroup.POST("/get_self_friend_apply_list", f.GetSelfApplyList) friendRouterGroup.POST("/get_friend_list", f.GetFriendList) + friendRouterGroup.POST("/get_designated_friends", f.GetDesignatedFriends) friendRouterGroup.POST("/add_friend", f.ApplyToAddFriend) friendRouterGroup.POST("/add_friend_response", f.RespondFriendApply) friendRouterGroup.POST("/set_friend_remark", f.SetFriendRemark)