|
@@ -153,7 +153,7 @@ type ChangeReadStatusRequest struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 消息id
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 消息id
|
|
|
ReadStatus int64 `protobuf:"varint,2,opt,name=readStatus,proto3" json:"readStatus,omitempty"` // 阅读状态 0-未读 1-已读
|
|
|
Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
}
|
|
@@ -190,11 +190,11 @@ func (*ChangeReadStatusRequest) Descriptor() ([]byte, []int) {
|
|
|
return file_message_proto_rawDescGZIP(), []int{1}
|
|
|
}
|
|
|
|
|
|
-func (x *ChangeReadStatusRequest) GetId() int64 {
|
|
|
+func (x *ChangeReadStatusRequest) GetId() string {
|
|
|
if x != nil {
|
|
|
return x.Id
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
func (x *ChangeReadStatusRequest) GetReadStatus() int64 {
|
|
@@ -272,7 +272,7 @@ type DeleteSingleMessageRequest struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 消息id
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 消息id
|
|
|
Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
}
|
|
|
|
|
@@ -308,11 +308,11 @@ func (*DeleteSingleMessageRequest) Descriptor() ([]byte, []int) {
|
|
|
return file_message_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
|
|
|
|
-func (x *DeleteSingleMessageRequest) GetId() int64 {
|
|
|
+func (x *DeleteSingleMessageRequest) GetId() string {
|
|
|
if x != nil {
|
|
|
return x.Id
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
func (x *DeleteSingleMessageRequest) GetAppid() string {
|
|
@@ -664,7 +664,7 @@ type Messages struct {
|
|
|
IsRead int64 `protobuf:"varint,10,opt,name=isRead,proto3" json:"isRead,omitempty"` //已读未读 0:未读 1:已读
|
|
|
Createtime string `protobuf:"bytes,11,opt,name=createtime,proto3" json:"createtime,omitempty"`
|
|
|
Appid string `protobuf:"bytes,12,opt,name=appid,proto3" json:"appid,omitempty"` //应用标识
|
|
|
- Id int64 `protobuf:"varint,13,opt,name=id,proto3" json:"id,omitempty"` //消息id
|
|
|
+ Id string `protobuf:"bytes,13,opt,name=id,proto3" json:"id,omitempty"` //消息id
|
|
|
}
|
|
|
|
|
|
func (x *Messages) Reset() {
|
|
@@ -783,11 +783,11 @@ func (x *Messages) GetAppid() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *Messages) GetId() int64 {
|
|
|
+func (x *Messages) GetId() string {
|
|
|
if x != nil {
|
|
|
return x.Id
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
type FindUserMsgRes struct {
|
|
@@ -930,7 +930,7 @@ type MessageDetailReq struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //消息id
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` //消息id
|
|
|
}
|
|
|
|
|
|
func (x *MessageDetailReq) Reset() {
|
|
@@ -965,11 +965,11 @@ func (*MessageDetailReq) Descriptor() ([]byte, []int) {
|
|
|
return file_message_proto_rawDescGZIP(), []int{12}
|
|
|
}
|
|
|
|
|
|
-func (x *MessageDetailReq) GetId() int64 {
|
|
|
+func (x *MessageDetailReq) GetId() string {
|
|
|
if x != nil {
|
|
|
return x.Id
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
type MessageDetailResp struct {
|
|
@@ -1574,7 +1574,7 @@ var file_message_proto_rawDesc = []byte{
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x17, 0x43,
|
|
|
0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
- 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x53, 0x74,
|
|
|
+ 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x53, 0x74,
|
|
|
0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x61, 0x64,
|
|
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
|
|
|
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x3a, 0x0a, 0x08,
|
|
@@ -1584,7 +1584,7 @@ var file_message_proto_rawDesc = []byte{
|
|
|
0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x42, 0x0a, 0x1a, 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, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
- 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
|
|
|
+ 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18,
|
|
|
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x1c,
|
|
|
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, 0x12, 0x0e, 0x0a, 0x02,
|
|
@@ -1638,7 +1638,7 @@ var file_message_proto_rawDesc = []byte{
|
|
|
0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63,
|
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
|
|
|
0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12,
|
|
|
- 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22,
|
|
|
+ 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22,
|
|
|
0x7b, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65,
|
|
|
0x73, 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,
|
|
@@ -1654,7 +1654,7 @@ var file_message_proto_rawDesc = []byte{
|
|
|
0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69,
|
|
|
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x22, 0x22,
|
|
|
0x0a, 0x10, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52,
|
|
|
- 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
|
|
|
+ 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
|
0x69, 0x64, 0x22, 0x68, 0x0a, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74,
|
|
|
0x61, 0x69, 0x6c, 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,
|