organization

pull/455/head
wangchuxiao 2 years ago committed by Xinwei Xiong(cubxxw-openim)
parent 7aba8d1250
commit 8b616df1d5

@ -502,6 +502,8 @@ func (s *organizationServer) GetUserInOrganization(_ context.Context, req *rpc.G
for _, v := range organizationUserList { for _, v := range organizationUserList {
organizationUser := &open_im_sdk.OrganizationUser{} organizationUser := &open_im_sdk.OrganizationUser{}
utils.CopyStructFields(organizationUser, v) utils.CopyStructFields(organizationUser, v)
organizationUser.CreateTime = uint32(v.CreateTime.Unix())
organizationUser.Birth = uint32(v.CreateTime.Unix())
resp.OrganizationUsers = append(resp.OrganizationUsers, organizationUser) resp.OrganizationUsers = append(resp.OrganizationUsers, organizationUser)
} }
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp.String()) log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp.String())

Loading…
Cancel
Save