mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
tag
This commit is contained in:
parent
af99a93536
commit
a0e6a78496
@ -181,6 +181,16 @@ func (s *officeServer) GetTagSendLogs(_ context.Context, req *pbOffice.GetTagSen
|
||||
if err := utils.CopyStructFields(&resp.TagSendLogs, tagSendLogs); err != nil {
|
||||
log.NewDebug(req.OperationID, utils.GetSelfFuncName(), "CopyStructFields failed", err.Error())
|
||||
}
|
||||
for _, sendLog := range tagSendLogs {
|
||||
resp.TagSendLogs = append(resp.TagSendLogs, &pbOffice.TagSendLog{
|
||||
TagID: sendLog.SendID,
|
||||
TagName: sendLog.TagName,
|
||||
ContentType: sendLog.ContentType,
|
||||
Content: sendLog.Content,
|
||||
SendTime: sendLog.SendTime,
|
||||
UserList: sendLog.UserList,
|
||||
})
|
||||
}
|
||||
|
||||
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp.String())
|
||||
return resp, nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user