2022-01-21 18:39:57 +08:00
|
|
|
package statistics
|
|
|
|
|
|
|
|
|
|
import (
|
2022-01-27 18:31:31 +08:00
|
|
|
"Open_IM/pkg/cms_api_struct"
|
2022-01-21 18:39:57 +08:00
|
|
|
"github.com/gin-gonic/gin"
|
2022-01-27 18:31:31 +08:00
|
|
|
statisticsPb "Open_IM/pkg/proto/statistics"
|
2022-01-21 18:39:57 +08:00
|
|
|
)
|
|
|
|
|
|
2022-01-27 18:31:31 +08:00
|
|
|
func GetMessagesStatistics(c *gin.Context) {
|
|
|
|
|
var (
|
|
|
|
|
req cms_api_struct.GetGroupMembersRequest
|
|
|
|
|
resp cms_api_struct.GetGroupMembersResponse
|
|
|
|
|
reqPb statisticsPb.GetMessageStatisticsReq
|
|
|
|
|
)
|
2022-01-21 18:39:57 +08:00
|
|
|
}
|
|
|
|
|
|
2022-01-27 18:31:31 +08:00
|
|
|
func GetUsersStatistics(c *gin.Context) {
|
2022-01-24 01:40:49 +08:00
|
|
|
|
2022-01-21 18:39:57 +08:00
|
|
|
}
|
|
|
|
|
|
2022-01-27 18:31:31 +08:00
|
|
|
func GetGroupsStatistics(c *gin.Context) {
|
2022-01-24 01:40:49 +08:00
|
|
|
|
2022-01-21 18:39:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func GetActiveUser(c *gin.Context) {
|
2022-01-24 01:40:49 +08:00
|
|
|
|
2022-01-21 18:39:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func GetActiveGroup(c *gin.Context) {
|
2022-01-24 01:40:49 +08:00
|
|
|
|
2022-01-21 18:39:57 +08:00
|
|
|
}
|