diff --git a/cmd/open_im_api/main.go b/cmd/open_im_api/main.go index 14c8e1e38..6d6bf85c4 100644 --- a/cmd/open_im_api/main.go +++ b/cmd/open_im_api/main.go @@ -94,7 +94,15 @@ func main() { managementGroup.POST("/delete_user", manage.DeleteUser) managementGroup.POST("/send_msg", manage.ManagementSendMsg) managementGroup.POST("/get_all_users_uid", manage.GetAllUsersUid) + managementGroup.POST("/get_users_online_status", manage.GetUsersOnlineStatus) } + //Conversation + conversationGroup := r.Group("/conversation") + { + conversationGroup.POST("/delete_user", manage.DeleteUser) + + } + log.NewPrivateLog("api") ginPort := flag.Int("port", 10000, "get ginServerPort from cmd,default 10000 as port") flag.Parse()