wfz 3 роки тому
батько
коміт
69648c6824
3 змінених файлів з 15 додано та 2 видалено
  1. 12 2
      api/chat/chat.pb.go
  2. 1 0
      api/chat/chat.proto
  3. 2 0
      js/api/chat/chat_pb.ts

+ 12 - 2
api/chat/chat.pb.go

@@ -529,6 +529,7 @@ type FindRecommendPersonListRequest struct {
 	PersonID   string `protobuf:"bytes,3,opt,name=personID,proto3" json:"personID"`     // 查询目标的ID
 	PersonType string `protobuf:"bytes,4,opt,name=personType,proto3" json:"personType"` // 类型
 	Sex        int64  `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"`              // 性别(不筛选就是0)
+	IdentifyId string `protobuf:"bytes,6,opt,name=identifyId,proto3" json:"identifyId"` // 身份ID
 }
 
 func (x *FindRecommendPersonListRequest) Reset() {
@@ -598,6 +599,13 @@ func (x *FindRecommendPersonListRequest) GetSex() int64 {
 	return 0
 }
 
+func (x *FindRecommendPersonListRequest) GetIdentifyId() string {
+	if x != nil {
+		return x.IdentifyId
+	}
+	return ""
+}
+
 type FindRoomCardMsgRequest struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache
@@ -2069,7 +2077,7 @@ var file_chat_proto_rawDesc = []byte{
 	0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
 	0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65,
 	0x73, 0x73, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
-	0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x22, 0x9e, 0x01, 0x0a, 0x1e, 0x46,
+	0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x22, 0xbe, 0x01, 0x0a, 0x1e, 0x46,
 	0x69, 0x6e, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73,
 	0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a,
 	0x03, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12,
@@ -2079,7 +2087,9 @@ var file_chat_proto_rawDesc = []byte{
 	0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72,
 	0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70,
 	0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78,
-	0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x22, 0x6e, 0x0a, 0x16, 0x46,
+	0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x69,
+	0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
+	0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x16, 0x46,
 	0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65,
 	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65,
 	0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x75,

+ 1 - 0
api/chat/chat.proto

@@ -133,6 +133,7 @@ message FindRecommendPersonListRequest{
   string personID = 3; // 查询目标的ID
   string personType = 4; // 类型
   int64 sex = 5;// 性别(不筛选就是0)
+  string identifyId = 6;// 身份ID
 }
 
 message FindRoomCardMsgRequest{

+ 2 - 0
js/api/chat/chat_pb.ts

@@ -68,6 +68,8 @@ export interface FindRecommendPersonListRequest{
     personType?:string;
     /**  性别(不筛选就是0) */
     sex?:number;
+    /**  身份ID */
+    identifyId?:string;
 }
 export interface FindRoomCardMsgRequest{
     /**  身份ID */