This commit is contained in:
wangchuxiao
2022-03-28 19:05:58 +08:00
parent c67a937d40
commit a11c4fcb58
2 changed files with 24 additions and 22 deletions
+3 -1
View File
@@ -178,7 +178,9 @@ func (s *officeServer) GetTagSendLogs(_ context.Context, req *pbOffice.GetTagSen
resp.CommonResp.ErrCode = constant.ErrDB.ErrCode
return resp, nil
}
utils.CopyStructFields(&resp.TagSendLogs, tagSendLogs)
if err := utils.CopyStructFields(&resp.TagSendLogs, tagSendLogs); err != nil {
log.NewDebug(req.OperationID, utils.GetSelfFuncName(), err.Error())
}
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "resp: ", resp.String())
return resp, nil
}