|
|
|
@ -1414,7 +1414,7 @@ func (s *groupServer) GetGroups(_ context.Context, req *pbGroup.GetGroupsReq) (*
|
|
|
|
|
log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetGroups error", err.Error())
|
|
|
|
|
return resp, http.WrapError(constant.ErrDB)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
resp.GroupNum, err = imdb.GetGroupsCountNum(db.Group{})
|
|
|
|
|
resp.Pagination.PageNumber = req.Pagination.PageNumber
|
|
|
|
|
resp.Pagination.ShowNumber = req.Pagination.ShowNumber
|
|
|
|
|
for _, v := range groups {
|
|
|
|
|