mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 03:26:57 +08:00
friend
This commit is contained in:
parent
387a3cbe96
commit
bd07c964a4
@ -12,12 +12,11 @@ import (
|
|||||||
"github.com/OpenIMSDK/Open-IM-Server/internal/api"
|
"github.com/OpenIMSDK/Open-IM-Server/internal/api"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/constant"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/cache"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/cache"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/log"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/log"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry"
|
||||||
"github.com/OpenIMSDK/openKeeper"
|
"github.com/OpenIMSDK/openKeeper"
|
||||||
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/constant"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -50,7 +50,7 @@ func (o *Friend) GetSelfApplyList(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (o *Friend) GetFriendList(c *gin.Context) {
|
func (o *Friend) GetFriendList(c *gin.Context) {
|
||||||
a2r.Call(friend.FriendClient.GetDesignatedFriends, o.client, c)
|
a2r.Call(friend.FriendClient.GetPaginationFriends, o.client, c)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (o *Friend) SetFriendRemark(c *gin.Context) {
|
func (o *Friend) SetFriendRemark(c *gin.Context) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user