Signed-off-by: hanzhixiao <709674996@qq.com>
pull/765/head
hanzhixiao 2 years ago
parent 88b91ab15f
commit 7c12a4a330

@ -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)
//}

@ -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
}

@ -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.
//}

Loading…
Cancel
Save