From 2a3265ed713accae54592890e462a2a589553862 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 5 May 2022 14:14:30 +0800 Subject: [PATCH] office --- internal/rpc/office/office.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/rpc/office/office.go b/internal/rpc/office/office.go index 0f9f989c0..bb412c170 100644 --- a/internal/rpc/office/office.go +++ b/internal/rpc/office/office.go @@ -485,7 +485,6 @@ func (s *officeServer) GetWorkMomentByID(_ context.Context, req *pbOffice.GetWor workMoment, err := db.DB.GetWorkMomentByID(req.WorkMomentID) if err != nil { log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetWorkMomentByID failed", err.Error()) - resp.CommonResp = &pbOffice.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg} return resp, nil } canSee := isUserCanSeeWorkMoment(req.OpUserID, *workMoment)