From 3f287eb148a67bbb1a281ec7b6f4ea50f14fbc5e Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Tue, 19 Apr 2022 16:28:03 +0800 Subject: [PATCH] workMoments --- internal/rpc/office/office.go | 3 +- pkg/common/db/mongoModel.go | 1 + pkg/proto/office/office.pb.go | 295 ++++++++++++++++++---------------- pkg/proto/office/office.proto | 3 +- 4 files changed, 157 insertions(+), 145 deletions(-) diff --git a/internal/rpc/office/office.go b/internal/rpc/office/office.go index 4cf783194..91d12666f 100644 --- a/internal/rpc/office/office.go +++ b/internal/rpc/office/office.go @@ -376,6 +376,7 @@ func (s *officeServer) CommentOneWorkMoment(_ context.Context, req *pbOffice.Com } commentMsg := db.CommentMsg{ Comment: comment, + UserID: workMoment.UserID, WorkMomentID: workMoment.WorkMomentID, WorkMomentContent: workMoment.Content, } @@ -473,7 +474,7 @@ func (s *officeServer) GetUserWorkMomentsCommentsMsg(_ context.Context, req *pbO resp.CommentsMsgs = append(resp.CommentsMsgs, &pbOffice.CommentsMsg{ Comment: &comment, WorkMomentID: commentMsg.WorkMomentID, - Content: commentMsg.Content, + Content: commentMsg.WorkMomentContent, }) } resp.Pagination = &pbCommon.ResponsePagination{CurrentPage: req.Pagination.PageNumber, ShowNumber: req.Pagination.ShowNumber} diff --git a/pkg/common/db/mongoModel.go b/pkg/common/db/mongoModel.go index 2a9de60d3..1dbec46a7 100644 --- a/pkg/common/db/mongoModel.go +++ b/pkg/common/db/mongoModel.go @@ -660,6 +660,7 @@ func (d *DataBases) ClearUserWorkMomentsCommentsMsg(userID string) error { type CommentMsg struct { WorkMomentID string `bson:"work_moment" json:"work_moment"` WorkMomentContent string `bson:"work_moment_content" json:"work_moment_content"` + UserID string `bson:"user_id" json:"user_id"` Comment } diff --git a/pkg/proto/office/office.pb.go b/pkg/proto/office/office.pb.go index a9c0a2fc7..b9e3ad6c1 100644 --- a/pkg/proto/office/office.pb.go +++ b/pkg/proto/office/office.pb.go @@ -36,7 +36,7 @@ func (m *CommonResp) Reset() { *m = CommonResp{} } func (m *CommonResp) String() string { return proto.CompactTextString(m) } func (*CommonResp) ProtoMessage() {} func (*CommonResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{0} + return fileDescriptor_office_282f0d3c571a3eb6, []int{0} } func (m *CommonResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommonResp.Unmarshal(m, b) @@ -82,7 +82,7 @@ func (m *TagUser) Reset() { *m = TagUser{} } func (m *TagUser) String() string { return proto.CompactTextString(m) } func (*TagUser) ProtoMessage() {} func (*TagUser) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{1} + return fileDescriptor_office_282f0d3c571a3eb6, []int{1} } func (m *TagUser) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TagUser.Unmarshal(m, b) @@ -129,7 +129,7 @@ func (m *Tag) Reset() { *m = Tag{} } func (m *Tag) String() string { return proto.CompactTextString(m) } func (*Tag) ProtoMessage() {} func (*Tag) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{2} + return fileDescriptor_office_282f0d3c571a3eb6, []int{2} } func (m *Tag) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Tag.Unmarshal(m, b) @@ -182,7 +182,7 @@ func (m *GetUserTagsReq) Reset() { *m = GetUserTagsReq{} } func (m *GetUserTagsReq) String() string { return proto.CompactTextString(m) } func (*GetUserTagsReq) ProtoMessage() {} func (*GetUserTagsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{3} + return fileDescriptor_office_282f0d3c571a3eb6, []int{3} } func (m *GetUserTagsReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserTagsReq.Unmarshal(m, b) @@ -228,7 +228,7 @@ func (m *GetUserTagsResp) Reset() { *m = GetUserTagsResp{} } func (m *GetUserTagsResp) String() string { return proto.CompactTextString(m) } func (*GetUserTagsResp) ProtoMessage() {} func (*GetUserTagsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{4} + return fileDescriptor_office_282f0d3c571a3eb6, []int{4} } func (m *GetUserTagsResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserTagsResp.Unmarshal(m, b) @@ -276,7 +276,7 @@ func (m *CreateTagReq) Reset() { *m = CreateTagReq{} } func (m *CreateTagReq) String() string { return proto.CompactTextString(m) } func (*CreateTagReq) ProtoMessage() {} func (*CreateTagReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{5} + return fileDescriptor_office_282f0d3c571a3eb6, []int{5} } func (m *CreateTagReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTagReq.Unmarshal(m, b) @@ -335,7 +335,7 @@ func (m *CreateTagResp) Reset() { *m = CreateTagResp{} } func (m *CreateTagResp) String() string { return proto.CompactTextString(m) } func (*CreateTagResp) ProtoMessage() {} func (*CreateTagResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{6} + return fileDescriptor_office_282f0d3c571a3eb6, []int{6} } func (m *CreateTagResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTagResp.Unmarshal(m, b) @@ -375,7 +375,7 @@ func (m *DeleteTagReq) Reset() { *m = DeleteTagReq{} } func (m *DeleteTagReq) String() string { return proto.CompactTextString(m) } func (*DeleteTagReq) ProtoMessage() {} func (*DeleteTagReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{7} + return fileDescriptor_office_282f0d3c571a3eb6, []int{7} } func (m *DeleteTagReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTagReq.Unmarshal(m, b) @@ -427,7 +427,7 @@ func (m *DeleteTagResp) Reset() { *m = DeleteTagResp{} } func (m *DeleteTagResp) String() string { return proto.CompactTextString(m) } func (*DeleteTagResp) ProtoMessage() {} func (*DeleteTagResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{8} + return fileDescriptor_office_282f0d3c571a3eb6, []int{8} } func (m *DeleteTagResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTagResp.Unmarshal(m, b) @@ -470,7 +470,7 @@ func (m *SetTagReq) Reset() { *m = SetTagReq{} } func (m *SetTagReq) String() string { return proto.CompactTextString(m) } func (*SetTagReq) ProtoMessage() {} func (*SetTagReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{9} + return fileDescriptor_office_282f0d3c571a3eb6, []int{9} } func (m *SetTagReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetTagReq.Unmarshal(m, b) @@ -543,7 +543,7 @@ func (m *SetTagResp) Reset() { *m = SetTagResp{} } func (m *SetTagResp) String() string { return proto.CompactTextString(m) } func (*SetTagResp) ProtoMessage() {} func (*SetTagResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{10} + return fileDescriptor_office_282f0d3c571a3eb6, []int{10} } func (m *SetTagResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetTagResp.Unmarshal(m, b) @@ -587,7 +587,7 @@ func (m *SendMsg2TagReq) Reset() { *m = SendMsg2TagReq{} } func (m *SendMsg2TagReq) String() string { return proto.CompactTextString(m) } func (*SendMsg2TagReq) ProtoMessage() {} func (*SendMsg2TagReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{11} + return fileDescriptor_office_282f0d3c571a3eb6, []int{11} } func (m *SendMsg2TagReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SendMsg2TagReq.Unmarshal(m, b) @@ -667,7 +667,7 @@ func (m *SendMsg2TagResp) Reset() { *m = SendMsg2TagResp{} } func (m *SendMsg2TagResp) String() string { return proto.CompactTextString(m) } func (*SendMsg2TagResp) ProtoMessage() {} func (*SendMsg2TagResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{12} + return fileDescriptor_office_282f0d3c571a3eb6, []int{12} } func (m *SendMsg2TagResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SendMsg2TagResp.Unmarshal(m, b) @@ -707,7 +707,7 @@ func (m *GetTagSendLogsReq) Reset() { *m = GetTagSendLogsReq{} } func (m *GetTagSendLogsReq) String() string { return proto.CompactTextString(m) } func (*GetTagSendLogsReq) ProtoMessage() {} func (*GetTagSendLogsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{13} + return fileDescriptor_office_282f0d3c571a3eb6, []int{13} } func (m *GetTagSendLogsReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTagSendLogsReq.Unmarshal(m, b) @@ -761,7 +761,7 @@ func (m *TagSendLog) Reset() { *m = TagSendLog{} } func (m *TagSendLog) String() string { return proto.CompactTextString(m) } func (*TagSendLog) ProtoMessage() {} func (*TagSendLog) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{14} + return fileDescriptor_office_282f0d3c571a3eb6, []int{14} } func (m *TagSendLog) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TagSendLog.Unmarshal(m, b) @@ -815,7 +815,7 @@ func (m *GetTagSendLogsResp) Reset() { *m = GetTagSendLogsResp{} } func (m *GetTagSendLogsResp) String() string { return proto.CompactTextString(m) } func (*GetTagSendLogsResp) ProtoMessage() {} func (*GetTagSendLogsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{15} + return fileDescriptor_office_282f0d3c571a3eb6, []int{15} } func (m *GetTagSendLogsResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTagSendLogsResp.Unmarshal(m, b) @@ -869,7 +869,7 @@ func (m *GetUserTagByIDReq) Reset() { *m = GetUserTagByIDReq{} } func (m *GetUserTagByIDReq) String() string { return proto.CompactTextString(m) } func (*GetUserTagByIDReq) ProtoMessage() {} func (*GetUserTagByIDReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{16} + return fileDescriptor_office_282f0d3c571a3eb6, []int{16} } func (m *GetUserTagByIDReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserTagByIDReq.Unmarshal(m, b) @@ -922,7 +922,7 @@ func (m *GetUserTagByIDResp) Reset() { *m = GetUserTagByIDResp{} } func (m *GetUserTagByIDResp) String() string { return proto.CompactTextString(m) } func (*GetUserTagByIDResp) ProtoMessage() {} func (*GetUserTagByIDResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{17} + return fileDescriptor_office_282f0d3c571a3eb6, []int{17} } func (m *GetUserTagByIDResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserTagByIDResp.Unmarshal(m, b) @@ -968,7 +968,7 @@ func (m *LikeUser) Reset() { *m = LikeUser{} } func (m *LikeUser) String() string { return proto.CompactTextString(m) } func (*LikeUser) ProtoMessage() {} func (*LikeUser) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{18} + return fileDescriptor_office_282f0d3c571a3eb6, []int{18} } func (m *LikeUser) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LikeUser.Unmarshal(m, b) @@ -1019,7 +1019,7 @@ func (m *Comment) Reset() { *m = Comment{} } func (m *Comment) String() string { return proto.CompactTextString(m) } func (*Comment) ProtoMessage() {} func (*Comment) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{19} + return fileDescriptor_office_282f0d3c571a3eb6, []int{19} } func (m *Comment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Comment.Unmarshal(m, b) @@ -1107,7 +1107,7 @@ func (m *WorkMoment) Reset() { *m = WorkMoment{} } func (m *WorkMoment) String() string { return proto.CompactTextString(m) } func (*WorkMoment) ProtoMessage() {} func (*WorkMoment) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{20} + return fileDescriptor_office_282f0d3c571a3eb6, []int{20} } func (m *WorkMoment) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WorkMoment.Unmarshal(m, b) @@ -1202,7 +1202,7 @@ func (m *CreateOneWorkMomentReq) Reset() { *m = CreateOneWorkMomentReq{} func (m *CreateOneWorkMomentReq) String() string { return proto.CompactTextString(m) } func (*CreateOneWorkMomentReq) ProtoMessage() {} func (*CreateOneWorkMomentReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{21} + return fileDescriptor_office_282f0d3c571a3eb6, []int{21} } func (m *CreateOneWorkMomentReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateOneWorkMomentReq.Unmarshal(m, b) @@ -1247,7 +1247,7 @@ func (m *CreateOneWorkMomentResp) Reset() { *m = CreateOneWorkMomentResp func (m *CreateOneWorkMomentResp) String() string { return proto.CompactTextString(m) } func (*CreateOneWorkMomentResp) ProtoMessage() {} func (*CreateOneWorkMomentResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{22} + return fileDescriptor_office_282f0d3c571a3eb6, []int{22} } func (m *CreateOneWorkMomentResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateOneWorkMomentResp.Unmarshal(m, b) @@ -1287,7 +1287,7 @@ func (m *DeleteOneWorkMomentReq) Reset() { *m = DeleteOneWorkMomentReq{} func (m *DeleteOneWorkMomentReq) String() string { return proto.CompactTextString(m) } func (*DeleteOneWorkMomentReq) ProtoMessage() {} func (*DeleteOneWorkMomentReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{23} + return fileDescriptor_office_282f0d3c571a3eb6, []int{23} } func (m *DeleteOneWorkMomentReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteOneWorkMomentReq.Unmarshal(m, b) @@ -1339,7 +1339,7 @@ func (m *DeleteOneWorkMomentResp) Reset() { *m = DeleteOneWorkMomentResp func (m *DeleteOneWorkMomentResp) String() string { return proto.CompactTextString(m) } func (*DeleteOneWorkMomentResp) ProtoMessage() {} func (*DeleteOneWorkMomentResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{24} + return fileDescriptor_office_282f0d3c571a3eb6, []int{24} } func (m *DeleteOneWorkMomentResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteOneWorkMomentResp.Unmarshal(m, b) @@ -1379,7 +1379,7 @@ func (m *LikeOneWorkMomentReq) Reset() { *m = LikeOneWorkMomentReq{} } func (m *LikeOneWorkMomentReq) String() string { return proto.CompactTextString(m) } func (*LikeOneWorkMomentReq) ProtoMessage() {} func (*LikeOneWorkMomentReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{25} + return fileDescriptor_office_282f0d3c571a3eb6, []int{25} } func (m *LikeOneWorkMomentReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LikeOneWorkMomentReq.Unmarshal(m, b) @@ -1431,7 +1431,7 @@ func (m *LikeOneWorkMomentResp) Reset() { *m = LikeOneWorkMomentResp{} } func (m *LikeOneWorkMomentResp) String() string { return proto.CompactTextString(m) } func (*LikeOneWorkMomentResp) ProtoMessage() {} func (*LikeOneWorkMomentResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{26} + return fileDescriptor_office_282f0d3c571a3eb6, []int{26} } func (m *LikeOneWorkMomentResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LikeOneWorkMomentResp.Unmarshal(m, b) @@ -1473,7 +1473,7 @@ func (m *CommentOneWorkMomentReq) Reset() { *m = CommentOneWorkMomentReq func (m *CommentOneWorkMomentReq) String() string { return proto.CompactTextString(m) } func (*CommentOneWorkMomentReq) ProtoMessage() {} func (*CommentOneWorkMomentReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{27} + return fileDescriptor_office_282f0d3c571a3eb6, []int{27} } func (m *CommentOneWorkMomentReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommentOneWorkMomentReq.Unmarshal(m, b) @@ -1539,7 +1539,7 @@ func (m *CommentOneWorkMomentResp) Reset() { *m = CommentOneWorkMomentRe func (m *CommentOneWorkMomentResp) String() string { return proto.CompactTextString(m) } func (*CommentOneWorkMomentResp) ProtoMessage() {} func (*CommentOneWorkMomentResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{28} + return fileDescriptor_office_282f0d3c571a3eb6, []int{28} } func (m *CommentOneWorkMomentResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommentOneWorkMomentResp.Unmarshal(m, b) @@ -1579,7 +1579,7 @@ func (m *GetWorkMomentByIDReq) Reset() { *m = GetWorkMomentByIDReq{} } func (m *GetWorkMomentByIDReq) String() string { return proto.CompactTextString(m) } func (*GetWorkMomentByIDReq) ProtoMessage() {} func (*GetWorkMomentByIDReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{29} + return fileDescriptor_office_282f0d3c571a3eb6, []int{29} } func (m *GetWorkMomentByIDReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetWorkMomentByIDReq.Unmarshal(m, b) @@ -1632,7 +1632,7 @@ func (m *GetWorkMomentByIDResp) Reset() { *m = GetWorkMomentByIDResp{} } func (m *GetWorkMomentByIDResp) String() string { return proto.CompactTextString(m) } func (*GetWorkMomentByIDResp) ProtoMessage() {} func (*GetWorkMomentByIDResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{30} + return fileDescriptor_office_282f0d3c571a3eb6, []int{30} } func (m *GetWorkMomentByIDResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetWorkMomentByIDResp.Unmarshal(m, b) @@ -1679,7 +1679,7 @@ func (m *GetUserWorkMomentsReq) Reset() { *m = GetUserWorkMomentsReq{} } func (m *GetUserWorkMomentsReq) String() string { return proto.CompactTextString(m) } func (*GetUserWorkMomentsReq) ProtoMessage() {} func (*GetUserWorkMomentsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{31} + return fileDescriptor_office_282f0d3c571a3eb6, []int{31} } func (m *GetUserWorkMomentsReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserWorkMomentsReq.Unmarshal(m, b) @@ -1733,7 +1733,7 @@ func (m *GetUserWorkMomentsResp) Reset() { *m = GetUserWorkMomentsResp{} func (m *GetUserWorkMomentsResp) String() string { return proto.CompactTextString(m) } func (*GetUserWorkMomentsResp) ProtoMessage() {} func (*GetUserWorkMomentsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{32} + return fileDescriptor_office_282f0d3c571a3eb6, []int{32} } func (m *GetUserWorkMomentsResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserWorkMomentsResp.Unmarshal(m, b) @@ -1787,7 +1787,7 @@ func (m *GetUserFriendWorkMomentsReq) Reset() { *m = GetUserFriendWorkMo func (m *GetUserFriendWorkMomentsReq) String() string { return proto.CompactTextString(m) } func (*GetUserFriendWorkMomentsReq) ProtoMessage() {} func (*GetUserFriendWorkMomentsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{33} + return fileDescriptor_office_282f0d3c571a3eb6, []int{33} } func (m *GetUserFriendWorkMomentsReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserFriendWorkMomentsReq.Unmarshal(m, b) @@ -1841,7 +1841,7 @@ func (m *GetUserFriendWorkMomentsResp) Reset() { *m = GetUserFriendWorkM func (m *GetUserFriendWorkMomentsResp) String() string { return proto.CompactTextString(m) } func (*GetUserFriendWorkMomentsResp) ProtoMessage() {} func (*GetUserFriendWorkMomentsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{34} + return fileDescriptor_office_282f0d3c571a3eb6, []int{34} } func (m *GetUserFriendWorkMomentsResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserFriendWorkMomentsResp.Unmarshal(m, b) @@ -1885,7 +1885,8 @@ func (m *GetUserFriendWorkMomentsResp) GetPagination() *sdk_ws.ResponsePaginatio type CommentsMsg struct { Comment *Comment `protobuf:"bytes,1,opt,name=comment" json:"comment,omitempty"` WorkMomentID string `protobuf:"bytes,2,opt,name=workMomentID" json:"workMomentID,omitempty"` - Content string `protobuf:"bytes,3,opt,name=content" json:"content,omitempty"` + UserID string `protobuf:"bytes,3,opt,name=userID" json:"userID,omitempty"` + Content string `protobuf:"bytes,4,opt,name=content" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1895,7 +1896,7 @@ func (m *CommentsMsg) Reset() { *m = CommentsMsg{} } func (m *CommentsMsg) String() string { return proto.CompactTextString(m) } func (*CommentsMsg) ProtoMessage() {} func (*CommentsMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{35} + return fileDescriptor_office_282f0d3c571a3eb6, []int{35} } func (m *CommentsMsg) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CommentsMsg.Unmarshal(m, b) @@ -1929,6 +1930,13 @@ func (m *CommentsMsg) GetWorkMomentID() string { return "" } +func (m *CommentsMsg) GetUserID() string { + if m != nil { + return m.UserID + } + return "" +} + func (m *CommentsMsg) GetContent() string { if m != nil { return m.Content @@ -1949,7 +1957,7 @@ func (m *GetUserWorkMomentsCommentsMsgReq) Reset() { *m = GetUserWorkMom func (m *GetUserWorkMomentsCommentsMsgReq) String() string { return proto.CompactTextString(m) } func (*GetUserWorkMomentsCommentsMsgReq) ProtoMessage() {} func (*GetUserWorkMomentsCommentsMsgReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{36} + return fileDescriptor_office_282f0d3c571a3eb6, []int{36} } func (m *GetUserWorkMomentsCommentsMsgReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserWorkMomentsCommentsMsgReq.Unmarshal(m, b) @@ -2003,7 +2011,7 @@ func (m *GetUserWorkMomentsCommentsMsgResp) Reset() { *m = GetUserWorkMo func (m *GetUserWorkMomentsCommentsMsgResp) String() string { return proto.CompactTextString(m) } func (*GetUserWorkMomentsCommentsMsgResp) ProtoMessage() {} func (*GetUserWorkMomentsCommentsMsgResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{37} + return fileDescriptor_office_282f0d3c571a3eb6, []int{37} } func (m *GetUserWorkMomentsCommentsMsgResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserWorkMomentsCommentsMsgResp.Unmarshal(m, b) @@ -2056,7 +2064,7 @@ func (m *ClearUserWorkMomentsCommentsMsgReq) Reset() { *m = ClearUserWor func (m *ClearUserWorkMomentsCommentsMsgReq) String() string { return proto.CompactTextString(m) } func (*ClearUserWorkMomentsCommentsMsgReq) ProtoMessage() {} func (*ClearUserWorkMomentsCommentsMsgReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{38} + return fileDescriptor_office_282f0d3c571a3eb6, []int{38} } func (m *ClearUserWorkMomentsCommentsMsgReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClearUserWorkMomentsCommentsMsgReq.Unmarshal(m, b) @@ -2101,7 +2109,7 @@ func (m *ClearUserWorkMomentsCommentsMsgResp) Reset() { *m = ClearUserWo func (m *ClearUserWorkMomentsCommentsMsgResp) String() string { return proto.CompactTextString(m) } func (*ClearUserWorkMomentsCommentsMsgResp) ProtoMessage() {} func (*ClearUserWorkMomentsCommentsMsgResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{39} + return fileDescriptor_office_282f0d3c571a3eb6, []int{39} } func (m *ClearUserWorkMomentsCommentsMsgResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClearUserWorkMomentsCommentsMsgResp.Unmarshal(m, b) @@ -2141,7 +2149,7 @@ func (m *SetUserWorkMomentsLevelReq) Reset() { *m = SetUserWorkMomentsLe func (m *SetUserWorkMomentsLevelReq) String() string { return proto.CompactTextString(m) } func (*SetUserWorkMomentsLevelReq) ProtoMessage() {} func (*SetUserWorkMomentsLevelReq) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{40} + return fileDescriptor_office_282f0d3c571a3eb6, []int{40} } func (m *SetUserWorkMomentsLevelReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetUserWorkMomentsLevelReq.Unmarshal(m, b) @@ -2193,7 +2201,7 @@ func (m *SetUserWorkMomentsLevelResp) Reset() { *m = SetUserWorkMomentsL func (m *SetUserWorkMomentsLevelResp) String() string { return proto.CompactTextString(m) } func (*SetUserWorkMomentsLevelResp) ProtoMessage() {} func (*SetUserWorkMomentsLevelResp) Descriptor() ([]byte, []int) { - return fileDescriptor_office_373be750de153751, []int{41} + return fileDescriptor_office_282f0d3c571a3eb6, []int{41} } func (m *SetUserWorkMomentsLevelResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetUserWorkMomentsLevelResp.Unmarshal(m, b) @@ -2869,104 +2877,105 @@ var _OfficeService_serviceDesc = grpc.ServiceDesc{ Metadata: "office/office.proto", } -func init() { proto.RegisterFile("office/office.proto", fileDescriptor_office_373be750de153751) } - -var fileDescriptor_office_373be750de153751 = []byte{ - // 1530 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xd7, 0xda, 0x49, 0x1c, 0x3f, 0xa7, 0x4d, 0x33, 0x49, 0x13, 0xb3, 0x6d, 0x12, 0x77, 0x5b, - 0xa4, 0xb4, 0x95, 0x1c, 0x64, 0x2a, 0x81, 0x84, 0xa8, 0x50, 0xed, 0x12, 0x05, 0xe2, 0x36, 0x6c, - 0x12, 0xaa, 0x72, 0x68, 0xb4, 0x75, 0x26, 0xcb, 0x2a, 0xce, 0xee, 0x76, 0x67, 0x63, 0x53, 0x2e, - 0x48, 0x5c, 0xf8, 0x00, 0x1c, 0x38, 0x71, 0xe1, 0x2b, 0xf0, 0x19, 0x38, 0x70, 0x42, 0x9c, 0x38, - 0x71, 0x82, 0x0f, 0x82, 0x66, 0xf6, 0xcf, 0xcc, 0xec, 0x1f, 0xaf, 0xbb, 0xa5, 0x12,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, 0x44, 0xc7, 0x2f, 0x72, 0x91, 0xb6, 0xa0, 0xe1, 0xb8, 0xd8, 0x33, 0x7c, 0xcb, - 0xb1, 0x77, 0x7b, 0xe1, 0xa2, 0xa2, 0x4a, 0x3b, 0x85, 0x45, 0xc9, 0x17, 0x71, 0x51, 0x07, 0x60, - 0x10, 0x33, 0xc8, 0x1c, 0x36, 0x3a, 0x28, 0x42, 0xc3, 0xb9, 0xd5, 0x05, 0x2b, 0xb4, 0x09, 0x33, - 0xbe, 0x61, 0x92, 0x66, 0x85, 0x61, 0x6f, 0x08, 0xd8, 0x75, 0x36, 0xa0, 0x7d, 0xab, 0xc0, 0x42, - 0xd7, 0xc3, 0x86, 0x8f, 0xa9, 0x0e, 0xbf, 0x10, 0xb9, 0x50, 0x64, 0x2e, 0x78, 0x30, 0x15, 0x29, - 0x98, 0x0d, 0x80, 0xe0, 0x57, 0xcc, 0x52, 0x5d, 0x17, 0x34, 0xc9, 0x60, 0x67, 0xd2, 0xc1, 0x76, - 0xe1, 0x92, 0x80, 0xa1, 0x5c, 0xa8, 0xda, 0x33, 0x58, 0xe8, 0xe1, 0x21, 0x8e, 0x03, 0xc9, 0xe3, - 0x3e, 0xde, 0x02, 0x15, 0x71, 0x0b, 0x24, 0x40, 0x56, 0x33, 0x41, 0x0a, 0xfe, 0x4b, 0x82, 0xfc, - 0x5d, 0x81, 0xfa, 0x01, 0xf6, 0x4b, 0x41, 0x6c, 0x42, 0xcd, 0xc6, 0x63, 0x96, 0x99, 0x00, 0x5e, - 0x24, 0xa2, 0x36, 0x20, 0xcb, 0x1e, 0x78, 0xd8, 0x20, 0xf8, 0x88, 0x67, 0x62, 0x86, 0x65, 0x22, - 0x63, 0x04, 0xdd, 0x81, 0x2b, 0x1e, 0x3e, 0xb9, 0x18, 0x88, 0xd6, 0xb3, 0xcc, 0x3a, 0xa5, 0x4f, - 0x12, 0x33, 0x97, 0x26, 0xe6, 0x23, 0x80, 0x28, 0xa4, 0x92, 0xac, 0xfc, 0xad, 0xc0, 0xe5, 0x03, - 0x6c, 0x9f, 0xf4, 0x89, 0xd9, 0x91, 0xb6, 0x21, 0x43, 0xa6, 0x30, 0x64, 0x91, 0x48, 0x4f, 0xf9, - 0x51, 0x74, 0x24, 0x2b, 0x6c, 0x28, 0x96, 0xd1, 0x75, 0xa8, 0xef, 0x78, 0xce, 0x85, 0x2b, 0xec, - 0x44, 0xae, 0xa0, 0x74, 0x13, 0x6c, 0x9f, 0xc4, 0x7b, 0x30, 0x94, 0x28, 0x1d, 0xf4, 0x17, 0xf6, - 0xf6, 0x87, 0x86, 0x7f, 0xea, 0x78, 0xe7, 0xbb, 0xbd, 0xe6, 0x2c, 0xab, 0x4a, 0x29, 0x3d, 0xc5, - 0x35, 0x70, 0x6c, 0x1f, 0xdb, 0x7e, 0x48, 0x45, 0x24, 0x26, 0x89, 0xaa, 0xa5, 0x89, 0x7a, 0x08, - 0x8b, 0x52, 0x94, 0x25, 0xd9, 0xfa, 0x5e, 0x81, 0xa5, 0x1d, 0x46, 0x38, 0xf5, 0xb6, 0xe7, 0x04, - 0xa5, 0xa6, 0x07, 0xb0, 0x6f, 0x98, 0x96, 0xcd, 0x16, 0x0b, 0x3d, 0xdd, 0x6a, 0x13, 0xec, 0x8d, - 0xb0, 0x77, 0x6c, 0xb8, 0xd6, 0xb1, 0x6b, 0x78, 0xc6, 0x39, 0x69, 0xeb, 0xf8, 0xc5, 0x05, 0x26, - 0x3e, 0xb7, 0xd5, 0x85, 0x79, 0xb9, 0x67, 0xbc, 0xf8, 0x78, 0x38, 0x00, 0x1c, 0x91, 0x54, 0x37, - 0x95, 0x82, 0xba, 0x29, 0x72, 0x5a, 0x91, 0x39, 0x55, 0x61, 0x9e, 0x66, 0xe0, 0xd0, 0x0a, 0xf7, - 0x7c, 0x55, 0x8f, 0x65, 0xed, 0x17, 0x05, 0x50, 0x92, 0x86, 0x92, 0x55, 0xf2, 0xa1, 0xc4, 0x5d, - 0x85, 0xcd, 0x79, 0x3b, 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0x7f, 0xe9, 0x74, 0x0d, - 0xfb, 0x00, 0x8b, 0xf7, 0xc7, 0x1c, 0xab, 0xb6, 0x59, 0x43, 0xa8, 0x03, 0x2b, 0x81, 0xda, 0x97, - 0xa7, 0xd4, 0xd8, 0x94, 0xcc, 0x31, 0xca, 0xbf, 0x45, 0xf6, 0x3d, 0x6b, 0x64, 0xf8, 0xb8, 0x39, - 0xdf, 0x52, 0xb6, 0xe6, 0x75, 0xae, 0xa0, 0x2c, 0x77, 0x39, 0xcb, 0x10, 0xb0, 0xcc, 0x35, 0x9a, - 0x0d, 0xab, 0x81, 0xf4, 0xd8, 0xc6, 0x9c, 0x6d, 0x7a, 0xb0, 0x3a, 0x00, 0x9c, 0xdc, 0xe4, 0x96, - 0x17, 0x4c, 0x05, 0xab, 0x29, 0xba, 0xb5, 0x3e, 0xac, 0x65, 0xae, 0x57, 0xb2, 0xc2, 0x8f, 0x60, - 0x35, 0x68, 0x35, 0x52, 0xf0, 0x5f, 0x67, 0xbf, 0x14, 0x57, 0x89, 0x3e, 0xac, 0x65, 0xae, 0x5b, - 0x32, 0x0c, 0x1f, 0x56, 0xe8, 0x6e, 0x4b, 0x05, 0x91, 0x77, 0xae, 0x35, 0x58, 0x78, 0x22, 0x06, - 0x17, 0xc0, 0x97, 0x74, 0x53, 0x04, 0xf1, 0x29, 0x5c, 0xcd, 0x58, 0xb5, 0x64, 0x08, 0x3f, 0x2b, - 0xb0, 0x16, 0x1e, 0x81, 0x57, 0x09, 0x63, 0x9c, 0x11, 0xc6, 0x38, 0x11, 0x46, 0x41, 0x99, 0x12, - 0x4e, 0xf7, 0xcc, 0xc4, 0x46, 0x63, 0x36, 0x4d, 0xc1, 0x23, 0x68, 0x66, 0x83, 0x2e, 0xc9, 0xc2, - 0x57, 0xb0, 0xb2, 0x83, 0x7d, 0xee, 0x28, 0xba, 0xa5, 0xa6, 0xd9, 0x8d, 0x2a, 0xcc, 0x3b, 0xee, - 0x91, 0xb8, 0x1f, 0x63, 0x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 0x3e, 0xd7, 0x27, 0x8c, 0x12, 0x17, 0x3d, 0x85, 0x95, 0xac, 0x06, 0x13, 0x6d, 0x26, 0x0a, 0x59, - 0xca, 0x6f, 0x6b, 0xb2, 0x41, 0x00, 0x36, 0xd5, 0xf1, 0x71, 0xb0, 0x59, 0x6d, 0x28, 0x07, 0x9b, - 0xdd, 0x2a, 0x1e, 0xc4, 0x6f, 0x1f, 0xc2, 0x51, 0x46, 0xeb, 0x89, 0x04, 0xcb, 0x1d, 0x87, 0xba, - 0x31, 0x69, 0x98, 0xb8, 0x08, 0x43, 0x33, 0xaf, 0x21, 0x40, 0x37, 0x13, 0x73, 0xb3, 0x5a, 0x1a, - 0xf5, 0x56, 0xb1, 0x11, 0x71, 0x91, 0x0f, 0xeb, 0x13, 0x2f, 0x22, 0xb4, 0x95, 0x8f, 0x53, 0x2e, - 0xea, 0xea, 0xed, 0x29, 0x2d, 0x89, 0x8b, 0xbe, 0x86, 0xcd, 0x82, 0x2a, 0x8e, 0xee, 0xc4, 0x89, - 0x2c, 0xbc, 0x4e, 0xd4, 0xbb, 0x53, 0xdb, 0x12, 0x17, 0x3d, 0x87, 0xb5, 0x9c, 0xc2, 0x8b, 0x34, - 0xa1, 0xba, 0xe4, 0xdc, 0x03, 0xea, 0xcd, 0x42, 0x1b, 0xe2, 0x3e, 0x58, 0xfa, 0x62, 0xb1, 0x1d, - 0xfe, 0x23, 0xeb, 0x83, 0xe0, 0xcf, 0xf3, 0x39, 0xf6, 0x5f, 0xaa, 0x77, 0xff, 0x09, 0x00, 0x00, - 0xff, 0xff, 0x47, 0x04, 0x0d, 0x95, 0xe7, 0x1a, 0x00, 0x00, +func init() { proto.RegisterFile("office/office.proto", fileDescriptor_office_282f0d3c571a3eb6) } + +var fileDescriptor_office_282f0d3c571a3eb6 = []byte{ + // 1539 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0x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+ 0xed, 0x7d, 0xa8, 0x1d, 0x1a, 0xe6, 0x11, 0xc1, 0x1e, 0x35, 0x39, 0x27, 0xd8, 0xdb, 0xed, 0xb1, + 0xb9, 0x75, 0x3d, 0x94, 0x90, 0x0a, 0xf3, 0xf4, 0xd7, 0x23, 0x63, 0x84, 0xc3, 0xc9, 0xb1, 0xac, + 0x3d, 0x87, 0xea, 0xa1, 0x61, 0xa2, 0x15, 0x98, 0xf5, 0x0d, 0x33, 0x9e, 0x19, 0x08, 0x14, 0x8d, + 0x6f, 0x98, 0xc2, 0xbc, 0x48, 0x44, 0x77, 0x03, 0x97, 0x7b, 0x16, 0xf1, 0x9b, 0xd5, 0x56, 0x75, + 0xab, 0xd1, 0x59, 0x6c, 0x87, 0x0c, 0x84, 0x68, 0xf4, 0xd8, 0x40, 0xfb, 0x08, 0x2e, 0xef, 0x60, + 0x9f, 0x2a, 0x0f, 0x0d, 0x93, 0xe8, 0xf8, 0x45, 0x2e, 0xd2, 0x16, 0x34, 0x1c, 0x17, 0x7b, 0x86, + 0x6f, 0x39, 0xf6, 0x6e, 0x2f, 0x5c, 0x54, 0x54, 0x69, 0xa7, 0xb0, 0x28, 0xf9, 0x22, 0x2e, 0xea, + 0x00, 0x0c, 0x62, 0x06, 0x99, 0xc3, 0x46, 0x07, 0x45, 0x68, 0x38, 0xb7, 0xba, 0x60, 0x85, 0x36, + 0x61, 0xc6, 0x37, 0x4c, 0xd2, 0xac, 0x30, 0xec, 0x0d, 0x01, 0xbb, 0xce, 0x06, 0xb4, 0xaf, 0x15, + 0x58, 0xe8, 0x7a, 0xd8, 0xf0, 0x31, 0xd5, 0xe1, 0x17, 0x22, 0x17, 0x8a, 0xcc, 0x05, 0x0f, 0xa6, + 0x22, 0x05, 0xb3, 0x01, 0x10, 0xfc, 0x8a, 0x59, 0xaa, 0xeb, 0x82, 0x26, 0x19, 0xec, 0x4c, 0x3a, + 0xd8, 0x2e, 0x5c, 0x12, 0x30, 0x94, 0x0b, 0x55, 0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xdb, 0x9e, + 0x13, 0x94, 0x9a, 0x1e, 0xc0, 0xbe, 0x61, 0x5a, 0x36, 0x5b, 0x2c, 0xf4, 0x74, 0xab, 0x4d, 0xb0, + 0x77, 0x81, 0xbd, 0x63, 0xc3, 0xb5, 0x8e, 0x5d, 0xc3, 0x33, 0x46, 0xa4, 0xad, 0xe3, 0x17, 0xe7, + 0x98, 0xf8, 0xdc, 0x56, 0x17, 0xe6, 0xe5, 0x9e, 0xf1, 0xe2, 0xe3, 0xe1, 0x00, 0x70, 0x44, 0x52, + 0xdd, 0x54, 0x0a, 0xea, 0xa6, 0xc8, 0x69, 0x45, 0xe6, 0x54, 0x85, 0x79, 0xba, 0x03, 0x87, 0x56, + 0x98, 0xf3, 0x55, 0x3d, 0x96, 0xb5, 0x9f, 0x15, 0x40, 0x49, 0x1a, 0x4a, 0x56, 0xc9, 0x87, 0x12, + 0x77, 0x15, 0x36, 0xe7, 0xff, 0x99, 0xdc, 0x11, 0xd7, 0xb1, 0x09, 0xce, 0x21, 0xef, 0x1e, 0x34, + 0x7c, 0x8e, 0x26, 0xbc, 0x2f, 0x90, 0x10, 0x77, 0x38, 0xa4, 0x8b, 0x66, 0xda, 0x80, 0xed, 0x66, + 0x58, 0xe9, 0x1f, 0xbc, 0xdc, 0xed, 0xbd, 0x89, 0xe2, 0x65, 0x32, 0xae, 0xa4, 0x45, 0x4a, 0x72, + 0xb5, 0x0e, 0x55, 0xdf, 0x30, 0x43, 0x92, 0xa4, 0x0b, 0x85, 0xea, 0xb5, 0xfb, 0x30, 0xbf, 0x67, + 0x9d, 0xe1, 0xd2, 0xf7, 0xf4, 0x1f, 0x0a, 0xd4, 0xe8, 0xca, 0x74, 0xf7, 0x4b, 0xcc, 0xa7, 0x54, + 0x78, 0xd8, 0x1d, 0xbe, 0x0c, 0x2a, 0x58, 0x44, 0x85, 0xa0, 0x42, 0xb7, 0xe0, 0x52, 0x2c, 0x32, + 0x17, 0x41, 0x31, 0x90, 0x95, 0xb4, 0x92, 0x84, 0x49, 0x18, 0x16, 0x83, 0xba, 0xce, 0x15, 0x13, + 0xaa, 0xc0, 0x06, 0xc0, 0x20, 0xb8, 0xca, 0x68, 0xce, 0xd6, 0x58, 0x15, 0x11, 0x34, 0xda, 0x9f, + 0x15, 0x80, 0x27, 0x8e, 0x77, 0xd6, 0x77, 0x58, 0x88, 0x1a, 0x2c, 0x8c, 0x63, 0x29, 0x0e, 0x54, + 0xd2, 0xe5, 0x9e, 0x49, 0x01, 0x44, 0x55, 0x06, 0xd1, 0x86, 0xfa, 0x30, 0xdc, 0x04, 0xc2, 0xae, + 0x81, 0x46, 0xe7, 0x4a, 0xb4, 0x53, 0xd1, 0xee, 0xe8, 0xdc, 0x84, 0x9e, 0xd6, 0x41, 0xc0, 0x39, + 0x61, 0xf7, 0x80, 0x70, 0x5a, 0xc3, 0xbd, 0xd0, 0x63, 0x03, 0xf4, 0x16, 0x2c, 0x8f, 0x3f, 0x77, + 0xba, 0x86, 0x7d, 0x80, 0xc5, 0xfb, 0x63, 0x8e, 0x55, 0xdb, 0xac, 0x21, 0xd4, 0x81, 0x95, 0x40, + 0xed, 0xcb, 0x53, 0x6a, 0x6c, 0x4a, 0xe6, 0x18, 0xe5, 0xdf, 0x22, 0xfb, 0x9e, 0x75, 0x61, 0xf8, + 0xb8, 0x39, 0xdf, 0x52, 0xb6, 0xe6, 0x75, 0xae, 0xa0, 0x2c, 0x77, 0x39, 0xcb, 0x10, 0xb0, 0xcc, + 0x35, 0x9a, 0x0d, 0xab, 0x81, 0xf4, 0xd8, 0xc6, 0x9c, 0x6d, 0x7a, 0xb0, 0x3a, 0x00, 0x9c, 0xdc, + 0x64, 0xca, 0x0b, 0xa6, 0x82, 0xd5, 0x14, 0xdd, 0x5a, 0x1f, 0xd6, 0x32, 0xd7, 0x2b, 0x59, 0xe1, + 0x2f, 0x60, 0x35, 0x68, 0x35, 0x52, 0xf0, 0x5f, 0x27, 0x5f, 0x8a, 0xab, 0x44, 0x1f, 0xd6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, 0x55, 0x1c, 0xdd, 0x89, 0x37, 0xb2, 0xf0, 0x3a, 0x51, 0xef, 0x4e, 0x6d, + 0x4b, 0x5c, 0xf4, 0x1c, 0xd6, 0x72, 0x0a, 0x2f, 0xd2, 0x84, 0xea, 0x92, 0x73, 0x0f, 0xa8, 0x37, + 0x0b, 0x6d, 0x88, 0xfb, 0x60, 0xe9, 0xb3, 0xc5, 0x76, 0xf8, 0x1f, 0xae, 0xf7, 0x82, 0x3f, 0xcf, + 0xe7, 0xd8, 0xbf, 0xaf, 0xde, 0xfe, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xd9, 0x76, 0xae, 0x00, + 0x1b, 0x00, 0x00, } diff --git a/pkg/proto/office/office.proto b/pkg/proto/office/office.proto index d5be34416..0aca5fe82 100644 --- a/pkg/proto/office/office.proto +++ b/pkg/proto/office/office.proto @@ -214,7 +214,8 @@ message GetUserFriendWorkMomentsResp { message CommentsMsg { Comment comment = 1; string workMomentID = 2; - string content = 3; + string userID = 3; + string content = 4; } message GetUserWorkMomentsCommentsMsgReq {