|
@@ -1549,6 +1549,243 @@ func (x *UpdateMessageReadResp) GetStatus() int64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
+type User struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
|
|
+ UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *User) Reset() {
|
|
|
+ *x = User{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[22]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *User) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*User) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *User) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_proto_msgTypes[22]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use User.ProtoReflect.Descriptor instead.
|
|
|
+func (*User) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{22}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *User) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *User) GetUserName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type MultipleSaveMsgReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ UserIds string `protobuf:"bytes,1,opt,name=userIds,proto3" json:"userIds,omitempty"`
|
|
|
+ UserNames string `protobuf:"bytes,2,opt,name=userNames,proto3" json:"userNames,omitempty"`
|
|
|
+ SendUserId string `protobuf:"bytes,3,opt,name=sendUserId,proto3" json:"sendUserId,omitempty"` //发送方用户ID
|
|
|
+ SendName string `protobuf:"bytes,4,opt,name=sendName,proto3" json:"sendName,omitempty"` //发送方用户名
|
|
|
+ Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` //主题
|
|
|
+ Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` //内容
|
|
|
+ MsgType int64 `protobuf:"varint,7,opt,name=msgType,proto3" json:"msgType,omitempty"` //消息类型 1:客服 2:系统通知 3:营销 4:用户会话
|
|
|
+ Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` //跳转链接
|
|
|
+ CiteId int64 `protobuf:"varint,9,opt,name=citeId,proto3" json:"citeId,omitempty"` //引用id
|
|
|
+ Appid string `protobuf:"bytes,10,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) Reset() {
|
|
|
+ *x = MultipleSaveMsgReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[23]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*MultipleSaveMsgReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_proto_msgTypes[23]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use MultipleSaveMsgReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*MultipleSaveMsgReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{23}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetUserIds() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserIds
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetUserNames() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserNames
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetSendUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.SendUserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetSendName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.SendName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetTitle() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Title
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetContent() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Content
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetMsgType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MsgType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetLink() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Link
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetCiteId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.CiteId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgReq) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type MultipleSaveMsgResp struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+ ErrCount int64 `protobuf:"varint,3,opt,name=errCount,proto3" json:"errCount,omitempty"` // 保存出错数量
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) Reset() {
|
|
|
+ *x = MultipleSaveMsgResp{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_message_proto_msgTypes[24]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*MultipleSaveMsgResp) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_message_proto_msgTypes[24]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use MultipleSaveMsgResp.ProtoReflect.Descriptor instead.
|
|
|
+func (*MultipleSaveMsgResp) Descriptor() ([]byte, []int) {
|
|
|
+ return file_message_proto_rawDescGZIP(), []int{24}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *MultipleSaveMsgResp) GetErrCount() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ErrCount
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
var File_message_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_message_proto_rawDesc = []byte{
|
|
@@ -1713,65 +1950,97 @@ var file_message_proto_rawDesc = []byte{
|
|
|
0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
|
0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73,
|
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61,
|
|
|
- 0x74, 0x75, 0x73, 0x32, 0x9d, 0x07, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
|
|
|
- 0x47, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61,
|
|
|
- 0x74, 0x75, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x43, 0x68,
|
|
|
- 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
|
|
|
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
|
|
|
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64,
|
|
|
- 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
- 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
- 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
- 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x69, 0x6e,
|
|
|
- 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x2e, 0x6d, 0x65, 0x73,
|
|
|
- 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c,
|
|
|
- 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
- 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
- 0x73, 0x65, 0x12, 0x51, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74,
|
|
|
- 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x2e, 0x6d, 0x65,
|
|
|
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75, 0x6c, 0x74,
|
|
|
- 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
+ 0x74, 0x75, 0x73, 0x22, 0x3a, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x75,
|
|
|
+ 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65,
|
|
|
+ 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18,
|
|
|
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22,
|
|
|
+ 0x94, 0x02, 0x0a, 0x12, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65,
|
|
|
+ 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
|
|
|
+ 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73,
|
|
|
+ 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e,
|
|
|
+ 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a,
|
|
|
+ 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69,
|
|
|
+ 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
|
|
|
+ 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73,
|
|
|
+ 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x73, 0x67,
|
|
|
+ 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x08, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x69, 0x74, 0x65,
|
|
|
+ 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x69, 0x74, 0x65, 0x49, 0x64,
|
|
|
+ 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x13, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70,
|
|
|
+ 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a,
|
|
|
+ 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64,
|
|
|
+ 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65,
|
|
|
+ 0x72, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x65,
|
|
|
+ 0x72, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xeb, 0x07, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x12, 0x4c, 0x0a, 0x0f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53,
|
|
|
+ 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67,
|
|
|
+ 0x52, 0x65, 0x71, 0x1a, 0x1c, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x6d, 0x75,
|
|
|
+ 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x61, 0x76, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73,
|
|
|
+ 0x70, 0x12, 0x47, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53,
|
|
|
+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
|
|
|
+ 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
|
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
+ 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0b, 0x53, 0x65,
|
|
|
+ 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73,
|
|
|
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65,
|
|
|
- 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
- 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
- 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64,
|
|
|
- 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
- 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71,
|
|
|
- 0x1a, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55,
|
|
|
- 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x13, 0x47, 0x65, 0x74,
|
|
|
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53,
|
|
|
+ 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x2e, 0x6d,
|
|
|
+ 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x69, 0x6e,
|
|
|
+ 0x67, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
+ 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70,
|
|
|
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75,
|
|
|
+ 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x2e,
|
|
|
+ 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x75,
|
|
|
+ 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71,
|
|
|
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52,
|
|
|
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x6e,
|
|
|
+ 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75,
|
|
|
+ 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75,
|
|
|
+ 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x46, 0x69,
|
|
|
+ 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52,
|
|
|
+ 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x46, 0x69, 0x6e,
|
|
|
+ 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x13, 0x47,
|
|
|
+ 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75,
|
|
|
+ 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74,
|
|
|
0x43, 0x6c, 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
- 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c,
|
|
|
- 0x61, 0x73, 0x73, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
|
|
|
- 0x71, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55,
|
|
|
- 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
- 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73,
|
|
|
- 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47,
|
|
|
- 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71,
|
|
|
- 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61,
|
|
|
- 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11,
|
|
|
- 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69,
|
|
|
- 0x6c, 0x12, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73,
|
|
|
- 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d,
|
|
|
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65,
|
|
|
- 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x57, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55,
|
|
|
- 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
|
|
- 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x72,
|
|
|
- 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71,
|
|
|
- 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x6e,
|
|
|
- 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
|
|
|
- 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12,
|
|
|
- 0x16, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67,
|
|
|
- 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
- 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x12,
|
|
|
- 0x52, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
- 0x52, 0x65, 0x61, 0x64, 0x12, 0x1d, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x55,
|
|
|
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64,
|
|
|
- 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x55, 0x70,
|
|
|
- 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x52,
|
|
|
- 0x65, 0x73, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65,
|
|
|
+ 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
|
|
|
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d,
|
|
|
+ 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
|
|
|
+ 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74,
|
|
|
+ 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x12, 0x4a,
|
|
|
+ 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74,
|
|
|
+ 0x61, 0x69, 0x6c, 0x12, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65,
|
|
|
+ 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x1a,
|
|
|
+ 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x57, 0x0a, 0x13, 0x47, 0x65,
|
|
|
+ 0x74, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e,
|
|
|
+ 0x74, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55,
|
|
|
+ 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52,
|
|
|
+ 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74,
|
|
|
+ 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
+ 0x52, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70,
|
|
|
+ 0x65, 0x12, 0x16, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4d,
|
|
|
+ 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65,
|
|
|
+ 0x73, 0x12, 0x52, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
|
|
+ 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1d, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
|
|
|
+ 0x61, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
|
|
|
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x61,
|
|
|
+ 0x64, 0x52, 0x65, 0x73, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
@@ -1786,7 +2055,7 @@ func file_message_proto_rawDescGZIP() []byte {
|
|
|
return file_message_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_message_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
|
|
|
+var file_message_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
|
|
|
var file_message_proto_goTypes = []interface{}{
|
|
|
(*SendMsgRequest)(nil), // 0: message.SendMsgRequest
|
|
|
(*ChangeReadStatusRequest)(nil), // 1: message.ChangeReadStatusRequest
|
|
@@ -1810,6 +2079,9 @@ var file_message_proto_goTypes = []interface{}{
|
|
|
(*GetMsgTypeRes)(nil), // 19: message.GetMsgTypeRes
|
|
|
(*UpdateMessageReadReq)(nil), // 20: message.UpdateMessageReadReq
|
|
|
(*UpdateMessageReadResp)(nil), // 21: message.UpdateMessageReadResp
|
|
|
+ (*User)(nil), // 22: message.user
|
|
|
+ (*MultipleSaveMsgReq)(nil), // 23: message.multipleSaveMsgReq
|
|
|
+ (*MultipleSaveMsgResp)(nil), // 24: message.multipleSaveMsgResp
|
|
|
}
|
|
|
var file_message_proto_depIdxs = []int32{
|
|
|
9, // 0: message.FindUserMsgRes.data:type_name -> message.Messages
|
|
@@ -1817,32 +2089,34 @@ var file_message_proto_depIdxs = []int32{
|
|
|
9, // 2: message.GetLastMessageRes.data:type_name -> message.Messages
|
|
|
2, // 3: message.GetUnreadClassCountRes.data:type_name -> message.ResCount
|
|
|
9, // 4: message.GetUnreadClassCountRes.info:type_name -> message.Messages
|
|
|
- 1, // 5: message.Message.ChangeReadStatus:input_type -> message.ChangeReadStatusRequest
|
|
|
- 0, // 6: message.Message.SendUserMsg:input_type -> message.SendMsgRequest
|
|
|
- 3, // 7: message.Message.DeleteSingleMessage:input_type -> message.DeleteSingleMessageRequest
|
|
|
- 4, // 8: message.Message.DeleteMultipleMessage:input_type -> message.DeleteMultipleMessageRequest
|
|
|
- 5, // 9: message.Message.GetUnreadCount:input_type -> message.GetUnreadCountRequest
|
|
|
- 8, // 10: message.Message.FindUserMsg:input_type -> message.FindUserMsgReq
|
|
|
- 11, // 11: message.Message.GetClassUnreadCount:input_type -> message.GetClassUnreadCountReq
|
|
|
- 14, // 12: message.Message.GetLastMessage:input_type -> message.GetLastMessageReq
|
|
|
- 12, // 13: message.Message.FindMessageDetail:input_type -> message.MessageDetailReq
|
|
|
- 16, // 14: message.Message.GetUnreadClassCount:input_type -> message.GetUnreadClassCountReq
|
|
|
- 18, // 15: message.Message.GetMsgType:input_type -> message.GetMsgTypeReq
|
|
|
- 20, // 16: message.Message.UpdateMessageRead:input_type -> message.UpdateMessageReadReq
|
|
|
- 6, // 17: message.Message.ChangeReadStatus:output_type -> message.Response
|
|
|
- 6, // 18: message.Message.SendUserMsg:output_type -> message.Response
|
|
|
- 6, // 19: message.Message.DeleteSingleMessage:output_type -> message.Response
|
|
|
- 6, // 20: message.Message.DeleteMultipleMessage:output_type -> message.Response
|
|
|
- 7, // 21: message.Message.GetUnreadCount:output_type -> message.GetUnreadCountResponse
|
|
|
- 10, // 22: message.Message.FindUserMsg:output_type -> message.FindUserMsgRes
|
|
|
- 7, // 23: message.Message.GetClassUnreadCount:output_type -> message.GetUnreadCountResponse
|
|
|
- 15, // 24: message.Message.GetLastMessage:output_type -> message.GetLastMessageRes
|
|
|
- 13, // 25: message.Message.FindMessageDetail:output_type -> message.MessageDetailResp
|
|
|
- 17, // 26: message.Message.GetUnreadClassCount:output_type -> message.GetUnreadClassCountRes
|
|
|
- 19, // 27: message.Message.GetMsgType:output_type -> message.GetMsgTypeRes
|
|
|
- 21, // 28: message.Message.UpdateMessageRead:output_type -> message.UpdateMessageReadResp
|
|
|
- 17, // [17:29] is the sub-list for method output_type
|
|
|
- 5, // [5:17] is the sub-list for method input_type
|
|
|
+ 23, // 5: message.Message.multipleSaveMsg:input_type -> message.multipleSaveMsgReq
|
|
|
+ 1, // 6: message.Message.ChangeReadStatus:input_type -> message.ChangeReadStatusRequest
|
|
|
+ 0, // 7: message.Message.SendUserMsg:input_type -> message.SendMsgRequest
|
|
|
+ 3, // 8: message.Message.DeleteSingleMessage:input_type -> message.DeleteSingleMessageRequest
|
|
|
+ 4, // 9: message.Message.DeleteMultipleMessage:input_type -> message.DeleteMultipleMessageRequest
|
|
|
+ 5, // 10: message.Message.GetUnreadCount:input_type -> message.GetUnreadCountRequest
|
|
|
+ 8, // 11: message.Message.FindUserMsg:input_type -> message.FindUserMsgReq
|
|
|
+ 11, // 12: message.Message.GetClassUnreadCount:input_type -> message.GetClassUnreadCountReq
|
|
|
+ 14, // 13: message.Message.GetLastMessage:input_type -> message.GetLastMessageReq
|
|
|
+ 12, // 14: message.Message.FindMessageDetail:input_type -> message.MessageDetailReq
|
|
|
+ 16, // 15: message.Message.GetUnreadClassCount:input_type -> message.GetUnreadClassCountReq
|
|
|
+ 18, // 16: message.Message.GetMsgType:input_type -> message.GetMsgTypeReq
|
|
|
+ 20, // 17: message.Message.UpdateMessageRead:input_type -> message.UpdateMessageReadReq
|
|
|
+ 24, // 18: message.Message.multipleSaveMsg:output_type -> message.multipleSaveMsgResp
|
|
|
+ 6, // 19: message.Message.ChangeReadStatus:output_type -> message.Response
|
|
|
+ 6, // 20: message.Message.SendUserMsg:output_type -> message.Response
|
|
|
+ 6, // 21: message.Message.DeleteSingleMessage:output_type -> message.Response
|
|
|
+ 6, // 22: message.Message.DeleteMultipleMessage:output_type -> message.Response
|
|
|
+ 7, // 23: message.Message.GetUnreadCount:output_type -> message.GetUnreadCountResponse
|
|
|
+ 10, // 24: message.Message.FindUserMsg:output_type -> message.FindUserMsgRes
|
|
|
+ 7, // 25: message.Message.GetClassUnreadCount:output_type -> message.GetUnreadCountResponse
|
|
|
+ 15, // 26: message.Message.GetLastMessage:output_type -> message.GetLastMessageRes
|
|
|
+ 13, // 27: message.Message.FindMessageDetail:output_type -> message.MessageDetailResp
|
|
|
+ 17, // 28: message.Message.GetUnreadClassCount:output_type -> message.GetUnreadClassCountRes
|
|
|
+ 19, // 29: message.Message.GetMsgType:output_type -> message.GetMsgTypeRes
|
|
|
+ 21, // 30: message.Message.UpdateMessageRead:output_type -> message.UpdateMessageReadResp
|
|
|
+ 18, // [18:31] is the sub-list for method output_type
|
|
|
+ 5, // [5:18] is the sub-list for method input_type
|
|
|
5, // [5:5] is the sub-list for extension type_name
|
|
|
5, // [5:5] is the sub-list for extension extendee
|
|
|
0, // [0:5] is the sub-list for field type_name
|
|
@@ -2118,6 +2392,42 @@ func file_message_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
+ file_message_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*User); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*MultipleSaveMsgReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_message_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*MultipleSaveMsgResp); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
@@ -2125,7 +2435,7 @@ func file_message_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_message_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 22,
|
|
|
+ NumMessages: 25,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|
|
@@ -2151,6 +2461,8 @@ const _ = grpc.SupportPackageIsVersion6
|
|
|
//
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
type MessageClient interface {
|
|
|
+ //批量保存消息
|
|
|
+ MultipleSaveMsg(ctx context.Context, in *MultipleSaveMsgReq, opts ...grpc.CallOption) (*MultipleSaveMsgResp, error)
|
|
|
// 修改消息阅读状态
|
|
|
ChangeReadStatus(ctx context.Context, in *ChangeReadStatusRequest, opts ...grpc.CallOption) (*Response, error)
|
|
|
//指定用户发消息
|
|
@@ -2185,6 +2497,15 @@ func NewMessageClient(cc grpc.ClientConnInterface) MessageClient {
|
|
|
return &messageClient{cc}
|
|
|
}
|
|
|
|
|
|
+func (c *messageClient) MultipleSaveMsg(ctx context.Context, in *MultipleSaveMsgReq, opts ...grpc.CallOption) (*MultipleSaveMsgResp, error) {
|
|
|
+ out := new(MultipleSaveMsgResp)
|
|
|
+ err := c.cc.Invoke(ctx, "/message.Message/multipleSaveMsg", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
func (c *messageClient) ChangeReadStatus(ctx context.Context, in *ChangeReadStatusRequest, opts ...grpc.CallOption) (*Response, error) {
|
|
|
out := new(Response)
|
|
|
err := c.cc.Invoke(ctx, "/message.Message/ChangeReadStatus", in, out, opts...)
|
|
@@ -2295,6 +2616,8 @@ func (c *messageClient) UpdateMessageRead(ctx context.Context, in *UpdateMessage
|
|
|
|
|
|
// MessageServer is the server API for Message service.
|
|
|
type MessageServer interface {
|
|
|
+ //批量保存消息
|
|
|
+ MultipleSaveMsg(context.Context, *MultipleSaveMsgReq) (*MultipleSaveMsgResp, error)
|
|
|
// 修改消息阅读状态
|
|
|
ChangeReadStatus(context.Context, *ChangeReadStatusRequest) (*Response, error)
|
|
|
//指定用户发消息
|
|
@@ -2325,6 +2648,9 @@ type MessageServer interface {
|
|
|
type UnimplementedMessageServer struct {
|
|
|
}
|
|
|
|
|
|
+func (*UnimplementedMessageServer) MultipleSaveMsg(context.Context, *MultipleSaveMsgReq) (*MultipleSaveMsgResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method MultipleSaveMsg not implemented")
|
|
|
+}
|
|
|
func (*UnimplementedMessageServer) ChangeReadStatus(context.Context, *ChangeReadStatusRequest) (*Response, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ChangeReadStatus not implemented")
|
|
|
}
|
|
@@ -2366,6 +2692,24 @@ func RegisterMessageServer(s *grpc.Server, srv MessageServer) {
|
|
|
s.RegisterService(&_Message_serviceDesc, srv)
|
|
|
}
|
|
|
|
|
|
+func _Message_MultipleSaveMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(MultipleSaveMsgReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(MessageServer).MultipleSaveMsg(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/message.Message/MultipleSaveMsg",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(MessageServer).MultipleSaveMsg(ctx, req.(*MultipleSaveMsgReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
func _Message_ChangeReadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(ChangeReadStatusRequest)
|
|
|
if err := dec(in); err != nil {
|
|
@@ -2586,6 +2930,10 @@ var _Message_serviceDesc = grpc.ServiceDesc{
|
|
|
ServiceName: "message.Message",
|
|
|
HandlerType: (*MessageServer)(nil),
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
+ {
|
|
|
+ MethodName: "multipleSaveMsg",
|
|
|
+ Handler: _Message_MultipleSaveMsg_Handler,
|
|
|
+ },
|
|
|
{
|
|
|
MethodName: "ChangeReadStatus",
|
|
|
Handler: _Message_ChangeReadStatus_Handler,
|