|
|
@@ -3601,6 +3601,196 @@ func (x *ChatTopicList) GetList() []string {
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
+type ReportChatRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ ReportedPersonID string `protobuf:"bytes,4,opt,name=reportedPersonID,proto3" json:"reportedPersonID"` // 被举报的人的ID
|
|
|
+ ReportedPersonType string `protobuf:"bytes,5,opt,name=reportedPersonType,proto3" json:"reportedPersonType"` // 被举报的人的类型
|
|
|
+ ContactInformation string `protobuf:"bytes,6,opt,name=contactInformation,proto3" json:"contactInformation"` // 联系方式
|
|
|
+ Picture string `protobuf:"bytes,7,opt,name=picture,proto3" json:"picture"` // 图片
|
|
|
+ Category []string `protobuf:"bytes,8,rep,name=category,proto3" json:"category"` // 类别
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportChatRequest) Reset() {
|
|
|
+ *x = ReportChatRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_common_proto_msgTypes[53]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportChatRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ReportChatRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ReportChatRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_common_proto_msgTypes[53]
|
|
|
+ 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 ReportChatRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*ReportChatRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{53}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportChatRequest) GetReportedPersonID() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReportedPersonID
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportChatRequest) GetReportedPersonType() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReportedPersonType
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportChatRequest) GetContactInformation() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ContactInformation
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportChatRequest) GetPicture() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Picture
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportChatRequest) GetCategory() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Category
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type ReportRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ IdentifyId string `protobuf:"bytes,1,opt,name=identifyId,proto3" json:"identifyId"` // 发起举报的人的身份ID
|
|
|
+ PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"` // 发起举报的人的ID
|
|
|
+ PersonType string `protobuf:"bytes,3,opt,name=personType,proto3" json:"personType"` // 发起举报的人的类型
|
|
|
+ ReportedIdentifyId string `protobuf:"bytes,4,opt,name=reportedIdentifyId,proto3" json:"reportedIdentifyId"` // 被举报的人的身份ID
|
|
|
+ ReportedPersonId string `protobuf:"bytes,5,opt,name=reportedPersonId,proto3" json:"reportedPersonId"` // 被举报的人的ID
|
|
|
+ ReportedPersonType string `protobuf:"bytes,6,opt,name=reportedPersonType,proto3" json:"reportedPersonType"` // 被举报的人的类型
|
|
|
+ ContactInformation string `protobuf:"bytes,7,opt,name=contactInformation,proto3" json:"contactInformation"` // 联系方式
|
|
|
+ Picture string `protobuf:"bytes,8,opt,name=picture,proto3" json:"picture"` // 图片
|
|
|
+ Category []string `protobuf:"bytes,9,rep,name=category,proto3" json:"category"` // 类别
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportRequest) Reset() {
|
|
|
+ *x = ReportRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_common_proto_msgTypes[54]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ReportRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ReportRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_common_proto_msgTypes[54]
|
|
|
+ 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 ReportRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*ReportRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{54}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportRequest) GetIdentifyId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.IdentifyId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportRequest) GetPersonId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.PersonId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportRequest) GetPersonType() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.PersonType
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportRequest) GetReportedIdentifyId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReportedIdentifyId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportRequest) GetReportedPersonId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReportedPersonId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportRequest) GetReportedPersonType() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReportedPersonType
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportRequest) GetContactInformation() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ContactInformation
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportRequest) GetPicture() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Picture
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ReportRequest) GetCategory() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Category
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
var File_common_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_common_proto_rawDesc = []byte{
|
|
|
@@ -3988,12 +4178,47 @@ var file_common_proto_rawDesc = []byte{
|
|
|
0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49,
|
|
|
0x64, 0x22, 0x23, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x74, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x4c, 0x69,
|
|
|
0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
|
|
|
- 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x42, 0x43, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
|
|
|
- 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x01, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62,
|
|
|
- 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77,
|
|
|
- 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f,
|
|
|
- 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
|
- 0x74, 0x6f, 0x33,
|
|
|
+ 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xd5, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6f, 0x72,
|
|
|
+ 0x74, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10,
|
|
|
+ 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44,
|
|
|
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64,
|
|
|
+ 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x2e, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6f,
|
|
|
+ 0x72, 0x74, 0x65, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x50, 0x65,
|
|
|
+ 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74,
|
|
|
+ 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66,
|
|
|
+ 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x69, 0x63, 0x74,
|
|
|
+ 0x75, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75,
|
|
|
+ 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x08,
|
|
|
+ 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x22, 0xdd,
|
|
|
+ 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x01,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64,
|
|
|
+ 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a,
|
|
|
+ 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x12,
|
|
|
+ 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79,
|
|
|
+ 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74,
|
|
|
+ 0x65, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10,
|
|
|
+ 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
|
|
|
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64,
|
|
|
+ 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6f,
|
|
|
+ 0x72, 0x74, 0x65, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x50, 0x65,
|
|
|
+ 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74,
|
|
|
+ 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66,
|
|
|
+ 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x69, 0x63, 0x74,
|
|
|
+ 0x75, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75,
|
|
|
+ 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x09,
|
|
|
+ 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x43,
|
|
|
+ 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x01, 0x5a, 0x33,
|
|
|
+ 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73,
|
|
|
+ 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
|
+ 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6d,
|
|
|
+ 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
@@ -4008,7 +4233,7 @@ func file_common_proto_rawDescGZIP() []byte {
|
|
|
return file_common_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 53)
|
|
|
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 55)
|
|
|
var file_common_proto_goTypes = []interface{}{
|
|
|
(*UserAndPartnerIdentifyIdParam)(nil), // 0: api.common.UserAndPartnerIdentifyIdParam
|
|
|
(*UserAndPartnerParam)(nil), // 1: api.common.UserAndPartnerParam
|
|
|
@@ -4063,6 +4288,8 @@ var file_common_proto_goTypes = []interface{}{
|
|
|
(*MemeTitle)(nil), // 50: api.common.MemeTitle
|
|
|
(*MemeList)(nil), // 51: api.common.MemeList
|
|
|
(*ChatTopicList)(nil), // 52: api.common.ChatTopicList
|
|
|
+ (*ReportChatRequest)(nil), // 53: api.common.ReportChatRequest
|
|
|
+ (*ReportRequest)(nil), // 54: api.common.ReportRequest
|
|
|
}
|
|
|
var file_common_proto_depIdxs = []int32{
|
|
|
27, // 0: api.common.ChatCardInfo.tagList:type_name -> api.common.TagList
|
|
|
@@ -4724,6 +4951,30 @@ func file_common_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
+ file_common_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ReportChatRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_common_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ReportRequest); 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{
|
|
|
@@ -4731,7 +4982,7 @@ func file_common_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_common_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 53,
|
|
|
+ NumMessages: 55,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 0,
|
|
|
},
|