mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-01-08 12:56:58 +08:00
744
Signed-off-by: hanzhixiao <709674996@qq.com>
This commit is contained in:
parent
88b91ab15f
commit
7c12a4a330
@ -361,7 +361,3 @@ func (m *MessageApi) GetActiveGroup(c *gin.Context) {
|
|||||||
func (m *MessageApi) SearchMsg(c *gin.Context) {
|
func (m *MessageApi) SearchMsg(c *gin.Context) {
|
||||||
a2r.Call(msg.MsgClient.SearchMessage, m.Client, c)
|
a2r.Call(msg.MsgClient.SearchMessage, m.Client, c)
|
||||||
}
|
}
|
||||||
|
|
||||||
//func (m *MessageApi) OnlineUserCount(c *gin.Context) {
|
|
||||||
// a2r.Call(msg.MsgClient, m.Client, c)
|
|
||||||
//}
|
|
||||||
|
|||||||
@ -201,7 +201,6 @@ func NewGinRouter(discov discoveryregistry.SvcDiscoveryRegistry, rdb redis.Unive
|
|||||||
statisticsGroup.POST("/user/active", m.GetActiveUser)
|
statisticsGroup.POST("/user/active", m.GetActiveUser)
|
||||||
statisticsGroup.POST("/group/create", g.GroupCreateCount)
|
statisticsGroup.POST("/group/create", g.GroupCreateCount)
|
||||||
statisticsGroup.POST("/group/active", m.GetActiveGroup)
|
statisticsGroup.POST("/group/active", m.GetActiveGroup)
|
||||||
//statisticsGroup.POST("/user/online", m.OnlineUserCount)
|
|
||||||
}
|
}
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|||||||
@ -44,7 +44,3 @@ func (s *userServer) UserRegisterCount(
|
|||||||
}
|
}
|
||||||
return &pbuser.UserRegisterCountResp{Total: total, Before: before, Count: count}, nil
|
return &pbuser.UserRegisterCountResp{Total: total, Before: before, Count: count}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
//func (s *userServer) OnlineUserCount(ctx context.Context) error {
|
|
||||||
// s.
|
|
||||||
//}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user