pull/218/head
wangchuxiao 3 years ago
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…
Cancel
Save