diff --git a/internal/api/msg/extend_msg.go b/internal/api/msg/extend_msg.go index 62c11773d..c397e5110 100644 --- a/internal/api/msg/extend_msg.go +++ b/internal/api/msg/extend_msg.go @@ -52,7 +52,7 @@ func SetMessageReactionExtensions(c *gin.Context) { respPb, err := msgClient.SetMessageReactionExtensions(context.Background(), &reqPb) if err != nil { log.NewError(req.OperationID, utils.GetSelfFuncName(), "DelMsgList failed", err.Error(), reqPb) - c.JSON(http.StatusOK, gin.H{"errCode": constant.ErrServer.ErrCode, "errMsg": constant.ErrServer.ErrMsg + err.Error()}) + c.JSON(http.StatusInternalServerError, gin.H{"errCode": constant.ErrServer.ErrCode, "errMsg": constant.ErrServer.ErrMsg + err.Error()}) return } resp.ErrCode = respPb.ErrCode @@ -100,7 +100,7 @@ func GetMessageListReactionExtensions(c *gin.Context) { respPb, err := msgClient.GetMessageListReactionExtensions(context.Background(), &reqPb) if err != nil { log.NewError(req.OperationID, utils.GetSelfFuncName(), "DelMsgList failed", err.Error(), reqPb) - c.JSON(http.StatusOK, gin.H{"errCode": constant.ErrServer.ErrCode, "errMsg": constant.ErrServer.ErrMsg + err.Error()}) + c.JSON(http.StatusInternalServerError, gin.H{"errCode": constant.ErrServer.ErrCode, "errMsg": constant.ErrServer.ErrMsg + err.Error()}) return } resp.ErrCode = respPb.ErrCode @@ -147,7 +147,7 @@ func AddMessageReactionExtensions(c *gin.Context) { respPb, err := msgClient.AddMessageReactionExtensions(context.Background(), &reqPb) if err != nil { log.NewError(req.OperationID, utils.GetSelfFuncName(), "DelMsgList failed", err.Error(), reqPb) - c.JSON(http.StatusOK, gin.H{"errCode": constant.ErrServer.ErrCode, "errMsg": constant.ErrServer.ErrMsg + err.Error()}) + c.JSON(http.StatusInternalServerError, gin.H{"errCode": constant.ErrServer.ErrCode, "errMsg": constant.ErrServer.ErrMsg + err.Error()}) return } resp.ErrCode = respPb.ErrCode @@ -194,7 +194,7 @@ func DeleteMessageReactionExtensions(c *gin.Context) { respPb, err := msgClient.DeleteMessageReactionExtensions(context.Background(), &reqPb) if err != nil { log.NewError(req.OperationID, utils.GetSelfFuncName(), "DelMsgList failed", err.Error(), reqPb) - c.JSON(http.StatusOK, gin.H{"errCode": constant.ErrServer.ErrCode, "errMsg": constant.ErrServer.ErrMsg + err.Error()}) + c.JSON(http.StatusInternalServerError, gin.H{"errCode": constant.ErrServer.ErrCode, "errMsg": constant.ErrServer.ErrMsg + err.Error()}) return } resp.ErrCode = respPb.ErrCode diff --git a/pkg/proto/msg/msg.pb.go b/pkg/proto/msg/msg.pb.go index 1cede638a..399ddf4a8 100644 --- a/pkg/proto/msg/msg.pb.go +++ b/pkg/proto/msg/msg.pb.go @@ -38,7 +38,7 @@ func (m *MsgDataToMQ) Reset() { *m = MsgDataToMQ{} } func (m *MsgDataToMQ) String() string { return proto.CompactTextString(m) } func (*MsgDataToMQ) ProtoMessage() {} func (*MsgDataToMQ) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{0} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{0} } func (m *MsgDataToMQ) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MsgDataToMQ.Unmarshal(m, b) @@ -91,7 +91,7 @@ func (m *MsgDataToDB) Reset() { *m = MsgDataToDB{} } func (m *MsgDataToDB) String() string { return proto.CompactTextString(m) } func (*MsgDataToDB) ProtoMessage() {} func (*MsgDataToDB) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{1} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{1} } func (m *MsgDataToDB) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MsgDataToDB.Unmarshal(m, b) @@ -138,7 +138,7 @@ func (m *PushMsgDataToMQ) Reset() { *m = PushMsgDataToMQ{} } func (m *PushMsgDataToMQ) String() string { return proto.CompactTextString(m) } func (*PushMsgDataToMQ) ProtoMessage() {} func (*PushMsgDataToMQ) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{2} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{2} } func (m *PushMsgDataToMQ) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PushMsgDataToMQ.Unmarshal(m, b) @@ -193,7 +193,7 @@ func (m *MsgDataToMongoByMQ) Reset() { *m = MsgDataToMongoByMQ{} } func (m *MsgDataToMongoByMQ) String() string { return proto.CompactTextString(m) } func (*MsgDataToMongoByMQ) ProtoMessage() {} func (*MsgDataToMongoByMQ) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{3} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{3} } func (m *MsgDataToMongoByMQ) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MsgDataToMongoByMQ.Unmarshal(m, b) @@ -273,7 +273,7 @@ func (m *GetMaxAndMinSeqReq) Reset() { *m = GetMaxAndMinSeqReq{} } func (m *GetMaxAndMinSeqReq) String() string { return proto.CompactTextString(m) } func (*GetMaxAndMinSeqReq) ProtoMessage() {} func (*GetMaxAndMinSeqReq) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{4} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{4} } func (m *GetMaxAndMinSeqReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetMaxAndMinSeqReq.Unmarshal(m, b) @@ -321,7 +321,7 @@ func (m *GetMaxAndMinSeqResp) Reset() { *m = GetMaxAndMinSeqResp{} } func (m *GetMaxAndMinSeqResp) String() string { return proto.CompactTextString(m) } func (*GetMaxAndMinSeqResp) ProtoMessage() {} func (*GetMaxAndMinSeqResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{5} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{5} } func (m *GetMaxAndMinSeqResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetMaxAndMinSeqResp.Unmarshal(m, b) @@ -382,7 +382,7 @@ func (m *SendMsgReq) Reset() { *m = SendMsgReq{} } func (m *SendMsgReq) String() string { return proto.CompactTextString(m) } func (*SendMsgReq) ProtoMessage() {} func (*SendMsgReq) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{6} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{6} } func (m *SendMsgReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SendMsgReq.Unmarshal(m, b) @@ -438,7 +438,7 @@ func (m *SendMsgResp) Reset() { *m = SendMsgResp{} } func (m *SendMsgResp) String() string { return proto.CompactTextString(m) } func (*SendMsgResp) ProtoMessage() {} func (*SendMsgResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{7} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{7} } func (m *SendMsgResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SendMsgResp.Unmarshal(m, b) @@ -506,7 +506,7 @@ func (m *ClearMsgReq) Reset() { *m = ClearMsgReq{} } func (m *ClearMsgReq) String() string { return proto.CompactTextString(m) } func (*ClearMsgReq) ProtoMessage() {} func (*ClearMsgReq) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{8} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{8} } func (m *ClearMsgReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClearMsgReq.Unmarshal(m, b) @@ -559,7 +559,7 @@ func (m *ClearMsgResp) Reset() { *m = ClearMsgResp{} } func (m *ClearMsgResp) String() string { return proto.CompactTextString(m) } func (*ClearMsgResp) ProtoMessage() {} func (*ClearMsgResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{9} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{9} } func (m *ClearMsgResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClearMsgResp.Unmarshal(m, b) @@ -608,7 +608,7 @@ func (m *SetMsgMinSeqReq) Reset() { *m = SetMsgMinSeqReq{} } func (m *SetMsgMinSeqReq) String() string { return proto.CompactTextString(m) } func (*SetMsgMinSeqReq) ProtoMessage() {} func (*SetMsgMinSeqReq) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{10} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{10} } func (m *SetMsgMinSeqReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetMsgMinSeqReq.Unmarshal(m, b) @@ -675,7 +675,7 @@ func (m *SetMsgMinSeqResp) Reset() { *m = SetMsgMinSeqResp{} } func (m *SetMsgMinSeqResp) String() string { return proto.CompactTextString(m) } func (*SetMsgMinSeqResp) ProtoMessage() {} func (*SetMsgMinSeqResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{11} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{11} } func (m *SetMsgMinSeqResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetMsgMinSeqResp.Unmarshal(m, b) @@ -721,7 +721,7 @@ func (m *SetSendMsgStatusReq) Reset() { *m = SetSendMsgStatusReq{} } func (m *SetSendMsgStatusReq) String() string { return proto.CompactTextString(m) } func (*SetSendMsgStatusReq) ProtoMessage() {} func (*SetSendMsgStatusReq) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{12} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{12} } func (m *SetSendMsgStatusReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetSendMsgStatusReq.Unmarshal(m, b) @@ -767,7 +767,7 @@ func (m *SetSendMsgStatusResp) Reset() { *m = SetSendMsgStatusResp{} } func (m *SetSendMsgStatusResp) String() string { return proto.CompactTextString(m) } func (*SetSendMsgStatusResp) ProtoMessage() {} func (*SetSendMsgStatusResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{13} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{13} } func (m *SetSendMsgStatusResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetSendMsgStatusResp.Unmarshal(m, b) @@ -812,7 +812,7 @@ func (m *GetSendMsgStatusReq) Reset() { *m = GetSendMsgStatusReq{} } func (m *GetSendMsgStatusReq) String() string { return proto.CompactTextString(m) } func (*GetSendMsgStatusReq) ProtoMessage() {} func (*GetSendMsgStatusReq) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{14} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{14} } func (m *GetSendMsgStatusReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSendMsgStatusReq.Unmarshal(m, b) @@ -852,7 +852,7 @@ func (m *GetSendMsgStatusResp) Reset() { *m = GetSendMsgStatusResp{} } func (m *GetSendMsgStatusResp) String() string { return proto.CompactTextString(m) } func (*GetSendMsgStatusResp) ProtoMessage() {} func (*GetSendMsgStatusResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{15} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{15} } func (m *GetSendMsgStatusResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSendMsgStatusResp.Unmarshal(m, b) @@ -907,7 +907,7 @@ func (m *DelSuperGroupMsgReq) Reset() { *m = DelSuperGroupMsgReq{} } func (m *DelSuperGroupMsgReq) String() string { return proto.CompactTextString(m) } func (*DelSuperGroupMsgReq) ProtoMessage() {} func (*DelSuperGroupMsgReq) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{16} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{16} } func (m *DelSuperGroupMsgReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DelSuperGroupMsgReq.Unmarshal(m, b) @@ -967,7 +967,7 @@ func (m *DelSuperGroupMsgResp) Reset() { *m = DelSuperGroupMsgResp{} } func (m *DelSuperGroupMsgResp) String() string { return proto.CompactTextString(m) } func (*DelSuperGroupMsgResp) ProtoMessage() {} func (*DelSuperGroupMsgResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{17} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{17} } func (m *DelSuperGroupMsgResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DelSuperGroupMsgResp.Unmarshal(m, b) @@ -1014,7 +1014,7 @@ func (m *GetSuperGroupMsgReq) Reset() { *m = GetSuperGroupMsgReq{} } func (m *GetSuperGroupMsgReq) String() string { return proto.CompactTextString(m) } func (*GetSuperGroupMsgReq) ProtoMessage() {} func (*GetSuperGroupMsgReq) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{18} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{18} } func (m *GetSuperGroupMsgReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSuperGroupMsgReq.Unmarshal(m, b) @@ -1068,7 +1068,7 @@ func (m *GetSuperGroupMsgResp) Reset() { *m = GetSuperGroupMsgResp{} } func (m *GetSuperGroupMsgResp) String() string { return proto.CompactTextString(m) } func (*GetSuperGroupMsgResp) ProtoMessage() {} func (*GetSuperGroupMsgResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{19} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{19} } func (m *GetSuperGroupMsgResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSuperGroupMsgResp.Unmarshal(m, b) @@ -1121,7 +1121,7 @@ func (m *GetWriteDiffMsgReq) Reset() { *m = GetWriteDiffMsgReq{} } func (m *GetWriteDiffMsgReq) String() string { return proto.CompactTextString(m) } func (*GetWriteDiffMsgReq) ProtoMessage() {} func (*GetWriteDiffMsgReq) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{20} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{20} } func (m *GetWriteDiffMsgReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetWriteDiffMsgReq.Unmarshal(m, b) @@ -1168,7 +1168,7 @@ func (m *GetWriteDiffMsgResp) Reset() { *m = GetWriteDiffMsgResp{} } func (m *GetWriteDiffMsgResp) String() string { return proto.CompactTextString(m) } func (*GetWriteDiffMsgResp) ProtoMessage() {} func (*GetWriteDiffMsgResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{21} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{21} } func (m *GetWriteDiffMsgResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetWriteDiffMsgResp.Unmarshal(m, b) @@ -1230,7 +1230,7 @@ func (m *ModifyMessageReactionExtensionsReq) Reset() { *m = ModifyMessag func (m *ModifyMessageReactionExtensionsReq) String() string { return proto.CompactTextString(m) } func (*ModifyMessageReactionExtensionsReq) ProtoMessage() {} func (*ModifyMessageReactionExtensionsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{22} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{22} } func (m *ModifyMessageReactionExtensionsReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ModifyMessageReactionExtensionsReq.Unmarshal(m, b) @@ -1341,7 +1341,7 @@ func (m *ModifyMessageReactionExtensionsResp) Reset() { *m = ModifyMessa func (m *ModifyMessageReactionExtensionsResp) String() string { return proto.CompactTextString(m) } func (*ModifyMessageReactionExtensionsResp) ProtoMessage() {} func (*ModifyMessageReactionExtensionsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{23} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{23} } func (m *ModifyMessageReactionExtensionsResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ModifyMessageReactionExtensionsResp.Unmarshal(m, b) @@ -1406,7 +1406,7 @@ func (m *OperateMessageListReactionExtensionsReq) Reset() { func (m *OperateMessageListReactionExtensionsReq) String() string { return proto.CompactTextString(m) } func (*OperateMessageListReactionExtensionsReq) ProtoMessage() {} func (*OperateMessageListReactionExtensionsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{24} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{24} } func (m *OperateMessageListReactionExtensionsReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperateMessageListReactionExtensionsReq.Unmarshal(m, b) @@ -1478,7 +1478,7 @@ func (m *OperateMessageListReactionExtensionsReq_MessageReactionKey) String() st } func (*OperateMessageListReactionExtensionsReq_MessageReactionKey) ProtoMessage() {} func (*OperateMessageListReactionExtensionsReq_MessageReactionKey) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{24, 0} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{24, 0} } func (m *OperateMessageListReactionExtensionsReq_MessageReactionKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperateMessageListReactionExtensionsReq_MessageReactionKey.Unmarshal(m, b) @@ -1535,7 +1535,7 @@ func (m *OperateMessageListReactionExtensionsResp) Reset() { func (m *OperateMessageListReactionExtensionsResp) String() string { return proto.CompactTextString(m) } func (*OperateMessageListReactionExtensionsResp) ProtoMessage() {} func (*OperateMessageListReactionExtensionsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{25} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{25} } func (m *OperateMessageListReactionExtensionsResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OperateMessageListReactionExtensionsResp.Unmarshal(m, b) @@ -1584,19 +1584,19 @@ func (m *OperateMessageListReactionExtensionsResp) GetFailedList() []*ExtendMsgR } type ExtendMsgResp struct { - ExtendMsg *sdk_ws.ExtendMsg `protobuf:"bytes,1,opt,name=extendMsg" json:"extendMsg,omitempty"` - ErrCode int32 `protobuf:"varint,2,opt,name=errCode" json:"errCode,omitempty"` - ErrMsg string `protobuf:"bytes,3,opt,name=errMsg" json:"errMsg,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExtendMsg *ExtendMsg `protobuf:"bytes,1,opt,name=extendMsg" json:"extendMsg,omitempty"` + ErrCode int32 `protobuf:"varint,2,opt,name=errCode" json:"errCode,omitempty"` + ErrMsg string `protobuf:"bytes,3,opt,name=errMsg" json:"errMsg,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ExtendMsgResp) Reset() { *m = ExtendMsgResp{} } func (m *ExtendMsgResp) String() string { return proto.CompactTextString(m) } func (*ExtendMsgResp) ProtoMessage() {} func (*ExtendMsgResp) Descriptor() ([]byte, []int) { - return fileDescriptor_msg_46916c59bfcbd84e, []int{26} + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{26} } func (m *ExtendMsgResp) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExtendMsgResp.Unmarshal(m, b) @@ -1616,7 +1616,7 @@ func (m *ExtendMsgResp) XXX_DiscardUnknown() { var xxx_messageInfo_ExtendMsgResp proto.InternalMessageInfo -func (m *ExtendMsgResp) GetExtendMsg() *sdk_ws.ExtendMsg { +func (m *ExtendMsgResp) GetExtendMsg() *ExtendMsg { if m != nil { return m.ExtendMsg } @@ -1637,6 +1637,130 @@ func (m *ExtendMsgResp) GetErrMsg() string { return "" } +type ExtendMsg struct { + ReactionExtensionList map[string]*KeyValueResp `protobuf:"bytes,1,rep,name=reactionExtensionList" json:"reactionExtensionList,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID" json:"clientMsgID,omitempty"` + MsgFirstModifyTime int64 `protobuf:"varint,3,opt,name=msgFirstModifyTime" json:"msgFirstModifyTime,omitempty"` + AttachedInfo string `protobuf:"bytes,4,opt,name=attachedInfo" json:"attachedInfo,omitempty"` + Ex string `protobuf:"bytes,5,opt,name=ex" json:"ex,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExtendMsg) Reset() { *m = ExtendMsg{} } +func (m *ExtendMsg) String() string { return proto.CompactTextString(m) } +func (*ExtendMsg) ProtoMessage() {} +func (*ExtendMsg) Descriptor() ([]byte, []int) { + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{27} +} +func (m *ExtendMsg) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExtendMsg.Unmarshal(m, b) +} +func (m *ExtendMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExtendMsg.Marshal(b, m, deterministic) +} +func (dst *ExtendMsg) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExtendMsg.Merge(dst, src) +} +func (m *ExtendMsg) XXX_Size() int { + return xxx_messageInfo_ExtendMsg.Size(m) +} +func (m *ExtendMsg) XXX_DiscardUnknown() { + xxx_messageInfo_ExtendMsg.DiscardUnknown(m) +} + +var xxx_messageInfo_ExtendMsg proto.InternalMessageInfo + +func (m *ExtendMsg) GetReactionExtensionList() map[string]*KeyValueResp { + if m != nil { + return m.ReactionExtensionList + } + return nil +} + +func (m *ExtendMsg) GetClientMsgID() string { + if m != nil { + return m.ClientMsgID + } + return "" +} + +func (m *ExtendMsg) GetMsgFirstModifyTime() int64 { + if m != nil { + return m.MsgFirstModifyTime + } + return 0 +} + +func (m *ExtendMsg) GetAttachedInfo() string { + if m != nil { + return m.AttachedInfo + } + return "" +} + +func (m *ExtendMsg) GetEx() string { + if m != nil { + return m.Ex + } + return "" +} + +type KeyValueResp struct { + KeyValue *sdk_ws.KeyValue `protobuf:"bytes,1,opt,name=keyValue" json:"keyValue,omitempty"` + ErrCode int32 `protobuf:"varint,2,opt,name=errCode" json:"errCode,omitempty"` + ErrMsg string `protobuf:"bytes,3,opt,name=errMsg" json:"errMsg,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *KeyValueResp) Reset() { *m = KeyValueResp{} } +func (m *KeyValueResp) String() string { return proto.CompactTextString(m) } +func (*KeyValueResp) ProtoMessage() {} +func (*KeyValueResp) Descriptor() ([]byte, []int) { + return fileDescriptor_msg_6ec0bb4bc5c02b03, []int{28} +} +func (m *KeyValueResp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_KeyValueResp.Unmarshal(m, b) +} +func (m *KeyValueResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_KeyValueResp.Marshal(b, m, deterministic) +} +func (dst *KeyValueResp) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueResp.Merge(dst, src) +} +func (m *KeyValueResp) XXX_Size() int { + return xxx_messageInfo_KeyValueResp.Size(m) +} +func (m *KeyValueResp) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueResp.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyValueResp proto.InternalMessageInfo + +func (m *KeyValueResp) GetKeyValue() *sdk_ws.KeyValue { + if m != nil { + return m.KeyValue + } + return nil +} + +func (m *KeyValueResp) GetErrCode() int32 { + if m != nil { + return m.ErrCode + } + return 0 +} + +func (m *KeyValueResp) GetErrMsg() string { + if m != nil { + return m.ErrMsg + } + return "" +} + func init() { proto.RegisterType((*MsgDataToMQ)(nil), "msg.MsgDataToMQ") proto.RegisterType((*MsgDataToDB)(nil), "msg.MsgDataToDB") @@ -1667,6 +1791,9 @@ func init() { proto.RegisterType((*OperateMessageListReactionExtensionsReq_MessageReactionKey)(nil), "msg.OperateMessageListReactionExtensionsReq.MessageReactionKey") proto.RegisterType((*OperateMessageListReactionExtensionsResp)(nil), "msg.OperateMessageListReactionExtensionsResp") proto.RegisterType((*ExtendMsgResp)(nil), "msg.ExtendMsgResp") + proto.RegisterType((*ExtendMsg)(nil), "msg.ExtendMsg") + proto.RegisterMapType((map[string]*KeyValueResp)(nil), "msg.ExtendMsg.ReactionExtensionListEntry") + proto.RegisterType((*KeyValueResp)(nil), "msg.KeyValueResp") } // Reference imports to suppress errors if they are not otherwise used. @@ -2205,95 +2332,100 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ Metadata: "msg/msg.proto", } -func init() { proto.RegisterFile("msg/msg.proto", fileDescriptor_msg_46916c59bfcbd84e) } +func init() { proto.RegisterFile("msg/msg.proto", fileDescriptor_msg_6ec0bb4bc5c02b03) } -var fileDescriptor_msg_46916c59bfcbd84e = []byte{ - // 1387 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4b, 0x73, 0x1b, 0x45, - 0x10, 0xae, 0xd5, 0x5a, 0x7e, 0xb4, 0xec, 0xb2, 0x99, 0x38, 0x66, 0xb3, 0x71, 0x15, 0x62, 0x79, - 0x44, 0x05, 0x89, 0x5c, 0x18, 0xaa, 0xa0, 0x92, 0x03, 0x89, 0x23, 0xa3, 0xb8, 0xc2, 0xe2, 0x78, - 0x65, 0xa0, 0x8a, 0x8b, 0xb3, 0x91, 0xda, 0x9b, 0x2d, 0x6b, 0x1f, 0xde, 0x59, 0xc5, 0x12, 0x54, - 0xc2, 0x89, 0x23, 0x07, 0x6e, 0x70, 0xe2, 0xc6, 0x7f, 0xe0, 0xc8, 0x85, 0x1f, 0xc1, 0xaf, 0xa1, - 0x66, 0x66, 0x25, 0xcd, 0x3e, 0x14, 0x29, 0x0a, 0xe5, 0xe2, 0xa6, 0xee, 0xe9, 0xe9, 0xf9, 0xbe, - 0x9e, 0x6f, 0x76, 0x7a, 0x04, 0x6b, 0x1e, 0x75, 0x76, 0x3c, 0xea, 0xd4, 0xc3, 0x28, 0x88, 0x03, - 0xa2, 0x7a, 0xd4, 0xd1, 0x6b, 0x87, 0x21, 0xfa, 0xb7, 0x0e, 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0xe1, - 0xdb, 0x87, 0x08, 0xe4, 0xd2, 0x7b, 0x4b, 0x7f, 0x23, 0xe3, 0xa1, 0x21, 0xb9, 0x03, 0xab, 0xf2, - 0x73, 0x82, 0x6c, 0x26, 0x74, 0x53, 0x8f, 0x1f, 0xfd, 0x6a, 0x81, 0x57, 0xc0, 0xce, 0x36, 0xfd, - 0x09, 0xec, 0x82, 0xc7, 0x45, 0x02, 0xbb, 0xf0, 0x95, 0xd0, 0x84, 0x8d, 0x66, 0x71, 0xa2, 0xe6, - 0xc4, 0x44, 0xcd, 0x97, 0x24, 0x2a, 0x28, 0x64, 0x41, 0x9b, 0x2b, 0x25, 0xca, 0x15, 0xb2, 0xc1, - 0x55, 0x2e, 0x77, 0x7a, 0xe4, 0xcd, 0x61, 0x74, 0xa6, 0x93, 0xd4, 0xb5, 0xe2, 0x01, 0x1a, 0x92, - 0x73, 0xd8, 0x66, 0x45, 0x9b, 0x74, 0x31, 0x92, 0x1b, 0x33, 0xb6, 0x43, 0x7a, 0x6d, 0xb6, 0x40, - 0x1a, 0x92, 0x1f, 0xa1, 0xda, 0x1c, 0x2d, 0x59, 0xfc, 0xa5, 0x23, 0x37, 0x5f, 0xe5, 0x9e, 0xd0, - 0x6f, 0xbd, 0x42, 0xb4, 0xe0, 0x7c, 0xaf, 0xd3, 0xb9, 0x54, 0xce, 0x2f, 0xe0, 0xad, 0x06, 0x76, - 0x71, 0x84, 0xee, 0x92, 0x29, 0xef, 0x5d, 0xff, 0xee, 0xda, 0x61, 0x88, 0xfe, 0xc9, 0x81, 0x29, - 0xfd, 0x0b, 0xea, 0x51, 0xe7, 0x8e, 0x47, 0x9d, 0x27, 0x8b, 0xdc, 0xfc, 0xf8, 0xdf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x8a, 0x50, 0x7c, 0x95, 0x6e, 0x15, 0x00, 0x00, +var fileDescriptor_msg_6ec0bb4bc5c02b03 = []byte{ + // 1467 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8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a, 0xbb, 0xef, + 0x75, 0x0d, 0xc7, 0x6b, 0xe3, 0x89, 0x89, 0x27, 0x64, 0x03, 0xe6, 0x63, 0x70, 0x22, 0x6b, 0xb1, + 0x94, 0x4e, 0x69, 0x29, 0x93, 0x52, 0xfd, 0x14, 0xae, 0x64, 0xfc, 0xd1, 0x80, 0x01, 0xdf, 0x09, + 0xc3, 0x07, 0x7e, 0x17, 0xb9, 0xc7, 0xb2, 0x39, 0x14, 0xd9, 0x56, 0x3b, 0x61, 0x68, 0x50, 0x3b, + 0xf6, 0x16, 0x4b, 0x4c, 0x6f, 0x58, 0x67, 0x2c, 0x53, 0x2c, 0xbf, 0x2b, 0x66, 0x2c, 0x71, 0x3d, + 0xf7, 0xcb, 0xb1, 0x30, 0x3d, 0x97, 0xf4, 0x6f, 0x00, 0xda, 0xe8, 0x75, 0x0d, 0x6a, 0x33, 0x00, + 0x17, 0x4b, 0xf2, 0x5f, 0x15, 0xa8, 0x8c, 0x36, 0x17, 0x68, 0x31, 0x89, 0x16, 0xc7, 0x68, 0x31, + 0x81, 0x56, 0x48, 0x2c, 0x32, 0xb1, 0x8f, 0x41, 0xed, 0x51, 0x99, 0x64, 0x15, 0xb3, 0xe8, 0xf4, + 0x1c, 0xf4, 0x22, 0x61, 0x51, 0x16, 0x16, 0x92, 0x8a, 0x68, 0xb0, 0x48, 0xd1, 0xeb, 0x1e, 0x38, + 0x2e, 0x56, 0xe7, 0x6b, 0x4a, 0x5d, 0x35, 0x47, 0xb2, 0xde, 0x81, 0xca, 0x83, 0x1e, 0x5a, 0x61, + 0x9c, 0x9e, 0x0d, 0x98, 0xef, 0x27, 0xea, 0x2b, 0x24, 0xe6, 0xc2, 0x0f, 0xe2, 0xca, 0x8b, 0x00, + 0x47, 0x72, 0x3a, 0x79, 0x6a, 0xf6, 0x10, 0xde, 0x83, 0xe5, 0xf1, 0x26, 0xb3, 0xa4, 0x41, 0xff, + 0x45, 0x81, 0xd5, 0x36, 0x32, 0x3c, 0x09,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0x09, 0x2d, 0x17, 0x00, 0x00, } diff --git a/pkg/proto/msg/msg.proto b/pkg/proto/msg/msg.proto index 02672f704..48292ae06 100644 --- a/pkg/proto/msg/msg.proto +++ b/pkg/proto/msg/msg.proto @@ -196,7 +196,21 @@ message OperateMessageListReactionExtensionsResp { } message ExtendMsgResp { - server_api_params.ExtendMsg extendMsg = 1; + ExtendMsg extendMsg = 1; + int32 errCode = 2; + string errMsg = 3; +} + +message ExtendMsg { + map reactionExtensionList = 1; + string clientMsgID = 2; + int64 msgFirstModifyTime = 3; + string attachedInfo = 4; + string ex = 5; +} + +message KeyValueResp { + server_api_params.KeyValue keyValue = 1; int32 errCode = 2; string errMsg = 3; }