From 5e78697a6991b7d13e921bfa23a1f70a8e198238 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Mon, 28 Mar 2022 17:22:18 +0800 Subject: [PATCH] tag --- internal/rpc/office/office.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/internal/rpc/office/office.go b/internal/rpc/office/office.go index 54d2154ef..b8ac7c558 100644 --- a/internal/rpc/office/office.go +++ b/internal/rpc/office/office.go @@ -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