pull/218/head
wangchuxiao 3 years ago
parent a0e6a78496
commit 5e78697a69

@ -181,16 +181,6 @@ 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