diff --git a/internal/rpc/office/office.go b/internal/rpc/office/office.go index b8ac7c558..54d2154ef 100644 --- a/internal/rpc/office/office.go +++ b/internal/rpc/office/office.go @@ -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