Signed-off-by: hanzhixiao <709674996@qq.com>
This commit is contained in:
hanzhixiao 2023-08-03 17:22:56 +08:00
parent 88b91ab15f
commit 7c12a4a330
3 changed files with 0 additions and 9 deletions

View File

@ -361,7 +361,3 @@ func (m *MessageApi) GetActiveGroup(c *gin.Context) {
func (m *MessageApi) SearchMsg(c *gin.Context) {
a2r.Call(msg.MsgClient.SearchMessage, m.Client, c)
}
//func (m *MessageApi) OnlineUserCount(c *gin.Context) {
// a2r.Call(msg.MsgClient, m.Client, c)
//}

View File

@ -201,7 +201,6 @@ func NewGinRouter(discov discoveryregistry.SvcDiscoveryRegistry, rdb redis.Unive
statisticsGroup.POST("/user/active", m.GetActiveUser)
statisticsGroup.POST("/group/create", g.GroupCreateCount)
statisticsGroup.POST("/group/active", m.GetActiveGroup)
//statisticsGroup.POST("/user/online", m.OnlineUserCount)
}
return r
}

View File

@ -44,7 +44,3 @@ func (s *userServer) UserRegisterCount(
}
return &pbuser.UserRegisterCountResp{Total: total, Before: before, Count: count}, nil
}
//func (s *userServer) OnlineUserCount(ctx context.Context) error {
// s.
//}