wfz 3 years ago
parent
commit
de117af46f

+ 88 - 78
api/chat/chat.pb.go

@@ -1364,7 +1364,7 @@ var file_chat_proto_rawDesc = []byte{
 	0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72,
 	0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f,
 	0x6e, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f,
-	0x6e, 0x49, 0x44, 0x32, 0x80, 0x08, 0x0a, 0x04, 0x43, 0x68, 0x61, 0x74, 0x12, 0x7a, 0x0a, 0x1e,
+	0x6e, 0x49, 0x44, 0x32, 0xe7, 0x08, 0x0a, 0x04, 0x43, 0x68, 0x61, 0x74, 0x12, 0x7a, 0x0a, 0x1e,
 	0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
 	0x49, 0x73, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x29,
 	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72,
@@ -1383,56 +1383,63 @@ var file_chat_proto_rawDesc = []byte{
 	0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61,
 	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65,
 	0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
-	0x61, 0x0a, 0x13, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f,
-	0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61,
-	0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f,
-	0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x61,
-	0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46,
-	0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
-	0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f,
-	0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61,
-	0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69,
-	0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e,
-	0x63, 0x68, 0x61, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f,
-	0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x07,
-	0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68,
-	0x61, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
-	0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63,
-	0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x12, 0x46,
-	0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73,
-	0x74, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x46, 0x69, 0x6e,
-	0x64, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52,
-	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
-	0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69,
-	0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0f, 0x46, 0x69, 0x6e,
-	0x64, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x73, 0x67, 0x12, 0x20, 0x2e, 0x61,
-	0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74,
-	0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17,
-	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74,
-	0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x73, 0x67, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x0c, 0x53, 0x65, 0x74,
-	0x42, 0x6c, 0x61, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x74, 0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e,
-	0x63, 0x68, 0x61, 0x74, 0x2e, 0x53, 0x65, 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x43, 0x68, 0x61,
-	0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
-	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00,
-	0x12, 0x3d, 0x0a, 0x06, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69,
-	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65,
-	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
-	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12,
-	0x55, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x47, 0x65, 0x74, 0x41, 0x77, 0x61,
-	0x72, 0x64, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61,
-	0x72, 0x74, 0x6e, 0x65, 0x72, 0x47, 0x65, 0x74, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71,
-	0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e,
-	0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x47, 0x65, 0x74, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52,
-	0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0f, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f,
-	0x6f, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e,
-	0x63, 0x68, 0x61, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x61, 0x72,
-	0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70,
-	0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x68, 0x61,
-	0x74, 0x4d, 0x73, 0x67, 0x22, 0x00, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68,
-	0x61, 0x74, 0x50, 0x01, 0x5a, 0x2f, 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, 0x68, 0x61, 0x74,
-	0x3b, 0x63, 0x68, 0x61, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+	0x65, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64,
+	0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69,
+	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65,
+	0x41, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+	0x1a, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65,
+	0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73,
+	0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x61, 0x0a, 0x13, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65,
+	0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e,
+	0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
+	0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
+	0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50,
+	0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69,
+	0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x55, 0x73, 0x65,
+	0x72, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x2e,
+	0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x6e,
+	0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+	0x1a, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72,
+	0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c,
+	0x79, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x12, 0x18,
+	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76,
+	0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
+	0x68, 0x61, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79,
+	0x22, 0x00, 0x12, 0x5c, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65,
+	0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
+	0x68, 0x61, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f,
+	0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,
+	0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x52,
+	0x65, 0x63, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00,
+	0x12, 0x4e, 0x0a, 0x0f, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d,
+	0x4d, 0x73, 0x67, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x46,
+	0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x73, 0x67, 0x52, 0x65,
+	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
+	0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x4d, 0x73, 0x67, 0x22, 0x00,
+	0x12, 0x45, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x42, 0x6c, 0x61, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x74,
+	0x12, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x53, 0x65, 0x74, 0x42,
+	0x6c, 0x61, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x16, 0x2e,
+	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
+	0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x06, 0x52, 0x65, 0x70, 0x6f, 0x72,
+	0x74, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52,
+	0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67,
+	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
+	0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65,
+	0x72, 0x47, 0x65, 0x74, 0x41, 0x77, 0x61, 0x72, 0x64, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+	0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x47, 0x65, 0x74, 0x41,
+	0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x70,
+	0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x47, 0x65,
+	0x74, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4e, 0x0a,
+	0x0f, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x4d, 0x73, 0x67,
+	0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x64,
+	0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x61, 0x72, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
+	0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
+	0x52, 0x6f, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x73, 0x67, 0x22, 0x00, 0x42, 0x3d, 0x0a,
+	0x08, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x50, 0x01, 0x5a, 0x2f, 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, 0x68, 0x61, 0x74, 0x3b, 0x63, 0x68, 0x61, 0x74, 0x62, 0x06, 0x70, 0x72,
+	0x6f, 0x74, 0x6f, 0x33,
 }
 
 var (
@@ -1470,10 +1477,11 @@ var file_chat_proto_goTypes = []interface{}{
 	(*common.ListPageAndPersonRequest)(nil),      // 18: api.common.ListPageAndPersonRequest
 	(*common.ReportRequest)(nil),                 // 19: api.common.ReportRequest
 	(*common.OnlinePersonListReply)(nil),         // 20: api.common.OnlinePersonListReply
-	(*common.ChatRecordListReply)(nil),           // 21: api.common.ChatRecordListReply
-	(*common.ChatRoomMsg)(nil),                   // 22: api.common.ChatRoomMsg
-	(*emptypb.Empty)(nil),                        // 23: google.protobuf.Empty
-	(*common.RoomChatMsg)(nil),                   // 24: api.common.RoomChatMsg
+	(*common.RecommendPersonListReply)(nil),      // 21: api.common.RecommendPersonListReply
+	(*common.ChatRecordListReply)(nil),           // 22: api.common.ChatRecordListReply
+	(*common.ChatRoomMsg)(nil),                   // 23: api.common.ChatRoomMsg
+	(*emptypb.Empty)(nil),                        // 24: google.protobuf.Empty
+	(*common.RoomChatMsg)(nil),                   // 25: api.common.RoomChatMsg
 }
 var file_chat_proto_depIdxs = []int32{
 	6,  // 0: api.chat.UserFindRoomListReply.list:type_name -> api.chat.UserRoomInfo
@@ -1481,29 +1489,31 @@ var file_chat_proto_depIdxs = []int32{
 	17, // 2: api.chat.Chat.CheckUserPartnerIsRelationship:input_type -> api.common.UserAndPartnerIdentifyIdParam
 	9,  // 3: api.chat.Chat.CreateChatRoom:input_type -> api.chat.CreateChatRoomParam
 	18, // 4: api.chat.Chat.FindOnlinePersonList:input_type -> api.common.ListPageAndPersonRequest
-	3,  // 5: api.chat.Chat.PartnerFindRoomList:input_type -> api.chat.PartnerFindRoomListRequest
-	4,  // 6: api.chat.Chat.UserFindRoomList:input_type -> api.chat.UserFindRoomListRequest
-	11, // 7: api.chat.Chat.Receive:input_type -> api.chat.ReceiveRequest
-	16, // 8: api.chat.Chat.FindChatRecordList:input_type -> api.chat.FindChatRecordListRequest
-	15, // 9: api.chat.Chat.FindChatRoomMsg:input_type -> api.chat.FindChatRoomMsgRequest
-	10, // 10: api.chat.Chat.SetBlackChat:input_type -> api.chat.SetBlackChatParam
-	19, // 11: api.chat.Chat.Report:input_type -> api.common.ReportRequest
-	2,  // 12: api.chat.Chat.PartnerGetAward:input_type -> api.chat.PartnerGetAwardRequest
-	0,  // 13: api.chat.Chat.FindRoomCardMsg:input_type -> api.chat.FindRoomCardMsgRequest
-	13, // 14: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
-	14, // 15: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
-	20, // 16: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.OnlinePersonListReply
-	7,  // 17: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	5,  // 18: api.chat.Chat.UserFindRoomList:output_type -> api.chat.UserFindRoomListReply
-	12, // 19: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
-	21, // 20: api.chat.Chat.FindChatRecordList:output_type -> api.common.ChatRecordListReply
-	22, // 21: api.chat.Chat.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
-	23, // 22: api.chat.Chat.SetBlackChat:output_type -> google.protobuf.Empty
-	23, // 23: api.chat.Chat.Report:output_type -> google.protobuf.Empty
-	1,  // 24: api.chat.Chat.PartnerGetAward:output_type -> api.chat.PartnerGetAwardReply
-	24, // 25: api.chat.Chat.FindRoomCardMsg:output_type -> api.common.RoomChatMsg
-	14, // [14:26] is the sub-list for method output_type
-	2,  // [2:14] is the sub-list for method input_type
+	18, // 5: api.chat.Chat.FindRecommendPersonList:input_type -> api.common.ListPageAndPersonRequest
+	3,  // 6: api.chat.Chat.PartnerFindRoomList:input_type -> api.chat.PartnerFindRoomListRequest
+	4,  // 7: api.chat.Chat.UserFindRoomList:input_type -> api.chat.UserFindRoomListRequest
+	11, // 8: api.chat.Chat.Receive:input_type -> api.chat.ReceiveRequest
+	16, // 9: api.chat.Chat.FindChatRecordList:input_type -> api.chat.FindChatRecordListRequest
+	15, // 10: api.chat.Chat.FindChatRoomMsg:input_type -> api.chat.FindChatRoomMsgRequest
+	10, // 11: api.chat.Chat.SetBlackChat:input_type -> api.chat.SetBlackChatParam
+	19, // 12: api.chat.Chat.Report:input_type -> api.common.ReportRequest
+	2,  // 13: api.chat.Chat.PartnerGetAward:input_type -> api.chat.PartnerGetAwardRequest
+	0,  // 14: api.chat.Chat.FindRoomCardMsg:input_type -> api.chat.FindRoomCardMsgRequest
+	13, // 15: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
+	14, // 16: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
+	20, // 17: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.OnlinePersonListReply
+	21, // 18: api.chat.Chat.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
+	7,  // 19: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	5,  // 20: api.chat.Chat.UserFindRoomList:output_type -> api.chat.UserFindRoomListReply
+	12, // 21: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
+	22, // 22: api.chat.Chat.FindChatRecordList:output_type -> api.common.ChatRecordListReply
+	23, // 23: api.chat.Chat.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
+	24, // 24: api.chat.Chat.SetBlackChat:output_type -> google.protobuf.Empty
+	24, // 25: api.chat.Chat.Report:output_type -> google.protobuf.Empty
+	1,  // 26: api.chat.Chat.PartnerGetAward:output_type -> api.chat.PartnerGetAwardReply
+	25, // 27: api.chat.Chat.FindRoomCardMsg:output_type -> api.common.RoomChatMsg
+	15, // [15:28] is the sub-list for method output_type
+	2,  // [2:15] is the sub-list for method input_type
 	2,  // [2:2] is the sub-list for extension type_name
 	2,  // [2:2] is the sub-list for extension extendee
 	0,  // [0:2] is the sub-list for field type_name

+ 2 - 0
api/chat/chat.proto

@@ -18,6 +18,8 @@ service Chat {
   rpc CreateChatRoom (CreateChatRoomParam) returns (RoomReply);
   // 查询在线人的列表
   rpc FindOnlinePersonList (common.ListPageAndPersonRequest) returns (common.OnlinePersonListReply);
+  // 查询推荐人的列表
+  rpc FindRecommendPersonList (common.ListPageAndPersonRequest) returns (common.RecommendPersonListReply);
   // 接待员查询房间列表
   rpc PartnerFindRoomList (PartnerFindRoomListRequest) returns (PartnerFindRoomListReply){};
   // 用户查询房间列表

+ 38 - 0
api/chat/chat_grpc.pb.go

@@ -26,6 +26,8 @@ type ChatClient interface {
 	CreateChatRoom(ctx context.Context, in *CreateChatRoomParam, opts ...grpc.CallOption) (*RoomReply, error)
 	// 查询在线人的列表
 	FindOnlinePersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.OnlinePersonListReply, error)
+	// 查询推荐人的列表
+	FindRecommendPersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
 	// 接待员查询房间列表
 	PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error)
 	// 用户查询房间列表
@@ -80,6 +82,15 @@ func (c *chatClient) FindOnlinePersonList(ctx context.Context, in *common.ListPa
 	return out, nil
 }
 
+func (c *chatClient) FindRecommendPersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
+	out := new(common.RecommendPersonListReply)
+	err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendPersonList", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 func (c *chatClient) PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error) {
 	out := new(PartnerFindRoomListReply)
 	err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerFindRoomList", in, out, opts...)
@@ -171,6 +182,8 @@ type ChatServer interface {
 	CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error)
 	// 查询在线人的列表
 	FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.OnlinePersonListReply, error)
+	// 查询推荐人的列表
+	FindRecommendPersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error)
 	// 接待员查询房间列表
 	PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error)
 	// 用户查询房间列表
@@ -204,6 +217,9 @@ func (UnimplementedChatServer) CreateChatRoom(context.Context, *CreateChatRoomPa
 func (UnimplementedChatServer) FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.OnlinePersonListReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindOnlinePersonList not implemented")
 }
+func (UnimplementedChatServer) FindRecommendPersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPersonList not implemented")
+}
 func (UnimplementedChatServer) PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method PartnerFindRoomList not implemented")
 }
@@ -298,6 +314,24 @@ func _Chat_FindOnlinePersonList_Handler(srv interface{}, ctx context.Context, de
 	return interceptor(ctx, in, info, handler)
 }
 
+func _Chat_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(common.ListPageAndPersonRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(ChatServer).FindRecommendPersonList(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.chat.Chat/FindRecommendPersonList",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(ChatServer).FindRecommendPersonList(ctx, req.(*common.ListPageAndPersonRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 func _Chat_PartnerFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(PartnerFindRoomListRequest)
 	if err := dec(in); err != nil {
@@ -479,6 +513,10 @@ var Chat_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "FindOnlinePersonList",
 			Handler:    _Chat_FindOnlinePersonList_Handler,
 		},
+		{
+			MethodName: "FindRecommendPersonList",
+			Handler:    _Chat_FindRecommendPersonList_Handler,
+		},
 		{
 			MethodName: "PartnerFindRoomList",
 			Handler:    _Chat_PartnerFindRoomList_Handler,

+ 268 - 13
api/common/common.pb.go

@@ -4069,6 +4069,204 @@ func (x *RoomChatMsg) GetIsGetPicturePrice() bool {
 	return false
 }
 
+type RecommendPersonListReply struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	List   []*RecommendPersonInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
+	NextId string                 `protobuf:"bytes,2,opt,name=nextId,proto3" json:"nextId"`
+}
+
+func (x *RecommendPersonListReply) Reset() {
+	*x = RecommendPersonListReply{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[57]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *RecommendPersonListReply) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RecommendPersonListReply) ProtoMessage() {}
+
+func (x *RecommendPersonListReply) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[57]
+	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 RecommendPersonListReply.ProtoReflect.Descriptor instead.
+func (*RecommendPersonListReply) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{57}
+}
+
+func (x *RecommendPersonListReply) GetList() []*RecommendPersonInfo {
+	if x != nil {
+		return x.List
+	}
+	return nil
+}
+
+func (x *RecommendPersonListReply) GetNextId() string {
+	if x != nil {
+		return x.NextId
+	}
+	return ""
+}
+
+type RecommendPersonInfo struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	PersonID       string   `protobuf:"bytes,1,opt,name=personID,proto3" json:"personID"`              // 查询目标的ID
+	PersonType     string   `protobuf:"bytes,2,opt,name=personType,proto3" json:"personType"`          // 类型
+	Nickname       string   `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname"`              // 昵称
+	AvatarUrl      string   `protobuf:"bytes,4,opt,name=avatarUrl,proto3" json:"avatarUrl"`            // 头像链接
+	Sex            int64    `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"`                       // 性别
+	Age            int64    `protobuf:"varint,6,opt,name=age,proto3" json:"age"`                       // 年龄
+	Constellation  string   `protobuf:"bytes,7,opt,name=constellation,proto3" json:"constellation"`    // 星座
+	Signature      string   `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature"`            // 签名
+	Province       string   `protobuf:"bytes,9,opt,name=province,proto3" json:"province"`              // 省
+	City           string   `protobuf:"bytes,10,opt,name=city,proto3" json:"city"`                     // 市
+	Area           string   `protobuf:"bytes,11,opt,name=area,proto3" json:"area"`                     // 区
+	IntroduceVoice string   `protobuf:"bytes,12,opt,name=introduceVoice,proto3" json:"introduceVoice"` // 介绍语音
+	TagList        []string `protobuf:"bytes,13,rep,name=tagList,proto3" json:"tagList"`               // 标签
+}
+
+func (x *RecommendPersonInfo) Reset() {
+	*x = RecommendPersonInfo{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[58]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *RecommendPersonInfo) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*RecommendPersonInfo) ProtoMessage() {}
+
+func (x *RecommendPersonInfo) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[58]
+	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 RecommendPersonInfo.ProtoReflect.Descriptor instead.
+func (*RecommendPersonInfo) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{58}
+}
+
+func (x *RecommendPersonInfo) GetPersonID() string {
+	if x != nil {
+		return x.PersonID
+	}
+	return ""
+}
+
+func (x *RecommendPersonInfo) GetPersonType() string {
+	if x != nil {
+		return x.PersonType
+	}
+	return ""
+}
+
+func (x *RecommendPersonInfo) GetNickname() string {
+	if x != nil {
+		return x.Nickname
+	}
+	return ""
+}
+
+func (x *RecommendPersonInfo) GetAvatarUrl() string {
+	if x != nil {
+		return x.AvatarUrl
+	}
+	return ""
+}
+
+func (x *RecommendPersonInfo) GetSex() int64 {
+	if x != nil {
+		return x.Sex
+	}
+	return 0
+}
+
+func (x *RecommendPersonInfo) GetAge() int64 {
+	if x != nil {
+		return x.Age
+	}
+	return 0
+}
+
+func (x *RecommendPersonInfo) GetConstellation() string {
+	if x != nil {
+		return x.Constellation
+	}
+	return ""
+}
+
+func (x *RecommendPersonInfo) GetSignature() string {
+	if x != nil {
+		return x.Signature
+	}
+	return ""
+}
+
+func (x *RecommendPersonInfo) GetProvince() string {
+	if x != nil {
+		return x.Province
+	}
+	return ""
+}
+
+func (x *RecommendPersonInfo) GetCity() string {
+	if x != nil {
+		return x.City
+	}
+	return ""
+}
+
+func (x *RecommendPersonInfo) GetArea() string {
+	if x != nil {
+		return x.Area
+	}
+	return ""
+}
+
+func (x *RecommendPersonInfo) GetIntroduceVoice() string {
+	if x != nil {
+		return x.IntroduceVoice
+	}
+	return ""
+}
+
+func (x *RecommendPersonInfo) GetTagList() []string {
+	if x != nil {
+		return x.TagList
+	}
+	return nil
+}
+
 var File_common_proto protoreflect.FileDescriptor
 
 var file_common_proto_rawDesc = []byte{
@@ -4546,12 +4744,42 @@ var file_common_proto_rawDesc = []byte{
 	0x56, 0x6f, 0x69, 0x63, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x69, 0x73,
 	0x47, 0x65, 0x74, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18,
 	0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x47, 0x65, 0x74, 0x50, 0x69, 0x63, 0x74,
-	0x75, 0x72, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 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,
+	0x75, 0x72, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0x67, 0x0a, 0x18, 0x52, 0x65, 0x63, 0x6f,
+	0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52,
+	0x65, 0x70, 0x6c, 0x79, 0x12, 0x33, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03,
+	0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
+	0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49,
+	0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65, 0x78,
+	0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49,
+	0x64, 0x22, 0xf9, 0x02, 0x0a, 0x13, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x50,
+	0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72,
+	0x73, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72,
+	0x73, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54,
+	0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f,
+	0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
+	0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d,
+	0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x04,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12,
+	0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65,
+	0x78, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
+	0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x61,
+	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73,
+	0x74, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67,
+	0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69,
+	0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69,
+	0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69,
+	0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28,
+	0x09, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61, 0x18,
+	0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x65, 0x61, 0x12, 0x26, 0x0a, 0x0e, 0x69,
+	0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x18, 0x0c, 0x20,
+	0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x56, 0x6f,
+	0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0d,
+	0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4c, 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,
 }
 
 var (
@@ -4566,7 +4794,7 @@ func file_common_proto_rawDescGZIP() []byte {
 	return file_common_proto_rawDescData
 }
 
-var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 57)
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 59)
 var file_common_proto_goTypes = []interface{}{
 	(*UserAndPartnerIdentifyIdParam)(nil), // 0: api.common.UserAndPartnerIdentifyIdParam
 	(*UserAndPartnerParam)(nil),           // 1: api.common.UserAndPartnerParam
@@ -4625,6 +4853,8 @@ var file_common_proto_goTypes = []interface{}{
 	(*ReportChatRequest)(nil),             // 54: api.common.ReportChatRequest
 	(*ReportRequest)(nil),                 // 55: api.common.ReportRequest
 	(*RoomChatMsg)(nil),                   // 56: api.common.RoomChatMsg
+	(*RecommendPersonListReply)(nil),      // 57: api.common.RecommendPersonListReply
+	(*RecommendPersonInfo)(nil),           // 58: api.common.RecommendPersonInfo
 }
 var file_common_proto_depIdxs = []int32{
 	28, // 0: api.common.ChatCardInfo.tagList:type_name -> api.common.TagList
@@ -4637,11 +4867,12 @@ var file_common_proto_depIdxs = []int32{
 	36, // 7: api.common.ChatRoomMsg.other:type_name -> api.common.ChatPersonMsg
 	40, // 8: api.common.ChatRecordInfo.message:type_name -> api.common.Message
 	51, // 9: api.common.MemeTitleList.list:type_name -> api.common.MemeTitle
-	10, // [10:10] is the sub-list for method output_type
-	10, // [10:10] is the sub-list for method input_type
-	10, // [10:10] is the sub-list for extension type_name
-	10, // [10:10] is the sub-list for extension extendee
-	0,  // [0:10] is the sub-list for field type_name
+	58, // 10: api.common.RecommendPersonListReply.list:type_name -> api.common.RecommendPersonInfo
+	11, // [11:11] is the sub-list for method output_type
+	11, // [11:11] is the sub-list for method input_type
+	11, // [11:11] is the sub-list for extension type_name
+	11, // [11:11] is the sub-list for extension extendee
+	0,  // [0:11] is the sub-list for field type_name
 }
 
 func init() { file_common_proto_init() }
@@ -5334,6 +5565,30 @@ func file_common_proto_init() {
 				return nil
 			}
 		}
+		file_common_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*RecommendPersonListReply); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_common_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*RecommendPersonInfo); 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{
@@ -5341,7 +5596,7 @@ func file_common_proto_init() {
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: file_common_proto_rawDesc,
 			NumEnums:      0,
-			NumMessages:   57,
+			NumMessages:   59,
 			NumExtensions: 0,
 			NumServices:   0,
 		},

+ 21 - 0
api/common/common.proto

@@ -410,4 +410,25 @@ message RoomChatMsg{
   int64 unlockPicturePrice = 12;// 解锁图片奖励
   bool isGetVoicePrice = 13; // 是否领取了语音奖励
   bool isGetPicturePrice = 14; // 是否领取了图片奖励
+}
+
+message RecommendPersonListReply{
+  repeated RecommendPersonInfo list = 1;
+  string nextId = 2;
+}
+
+message RecommendPersonInfo{
+  string personID = 1; // 查询目标的ID
+  string personType = 2; // 类型
+  string nickname = 3;// 昵称
+  string avatarUrl =4;// 头像链接
+  int64 sex = 5;// 性别
+  int64 age = 6; // 年龄
+  string constellation = 7; // 星座
+  string signature = 8; // 签名
+  string province = 9;// 省
+  string city = 10;// 市
+  string area = 11;// 区
+  string introduceVoice = 12;// 介绍语音
+  repeated string tagList = 13;// 标签
 }

File diff suppressed because it is too large
+ 433 - 372
api/partner/partner.pb.go


+ 10 - 0
api/partner/partner.proto

@@ -254,6 +254,16 @@ service Partner {
       body:"*"
     };
   };
+  // 接待员更新工作状态
+  rpc PartnerUpdateWorkingStatus (PartnerUpdateWorkingStatusRequest) returns (google.protobuf.Empty){
+    option (google.api.http) = {
+      post: "/api/partner/working/status/update",
+      body:"*"
+    };
+  };
+}
+message PartnerUpdateWorkingStatusRequest{
+  string workingStatus = 1;// 工作状态
 }
 
 message PartnerGetAwardRequest{

+ 38 - 0
api/partner/partner_grpc.pb.go

@@ -97,6 +97,8 @@ type PartnerClient interface {
 	PartnerSetBlackChat(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	// 接待员领取开通奖励
 	PartnerGetAward(ctx context.Context, in *PartnerGetAwardRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
+	// 接待员更新工作状态
+	PartnerUpdateWorkingStatus(ctx context.Context, in *PartnerUpdateWorkingStatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 }
 
 type partnerClient struct {
@@ -458,6 +460,15 @@ func (c *partnerClient) PartnerGetAward(ctx context.Context, in *PartnerGetAward
 	return out, nil
 }
 
+func (c *partnerClient) PartnerUpdateWorkingStatus(ctx context.Context, in *PartnerUpdateWorkingStatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+	out := new(emptypb.Empty)
+	err := c.cc.Invoke(ctx, "/api.partner.Partner/PartnerUpdateWorkingStatus", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 // PartnerServer is the server API for Partner service.
 // All implementations must embed UnimplementedPartnerServer
 // for forward compatibility
@@ -537,6 +548,8 @@ type PartnerServer interface {
 	PartnerSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
 	// 接待员领取开通奖励
 	PartnerGetAward(context.Context, *PartnerGetAwardRequest) (*emptypb.Empty, error)
+	// 接待员更新工作状态
+	PartnerUpdateWorkingStatus(context.Context, *PartnerUpdateWorkingStatusRequest) (*emptypb.Empty, error)
 	mustEmbedUnimplementedPartnerServer()
 }
 
@@ -661,6 +674,9 @@ func (UnimplementedPartnerServer) PartnerSetBlackChat(context.Context, *common.R
 func (UnimplementedPartnerServer) PartnerGetAward(context.Context, *PartnerGetAwardRequest) (*emptypb.Empty, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method PartnerGetAward not implemented")
 }
+func (UnimplementedPartnerServer) PartnerUpdateWorkingStatus(context.Context, *PartnerUpdateWorkingStatusRequest) (*emptypb.Empty, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method PartnerUpdateWorkingStatus not implemented")
+}
 func (UnimplementedPartnerServer) mustEmbedUnimplementedPartnerServer() {}
 
 // UnsafePartnerServer may be embedded to opt out of forward compatibility for this service.
@@ -1376,6 +1392,24 @@ func _Partner_PartnerGetAward_Handler(srv interface{}, ctx context.Context, dec
 	return interceptor(ctx, in, info, handler)
 }
 
+func _Partner_PartnerUpdateWorkingStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(PartnerUpdateWorkingStatusRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(PartnerServer).PartnerUpdateWorkingStatus(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.partner.Partner/PartnerUpdateWorkingStatus",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(PartnerServer).PartnerUpdateWorkingStatus(ctx, req.(*PartnerUpdateWorkingStatusRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 // Partner_ServiceDesc is the grpc.ServiceDesc for Partner service.
 // It's only intended for direct use with grpc.RegisterService,
 // and not to be introspected or modified (even as a copy)
@@ -1539,6 +1573,10 @@ var Partner_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "PartnerGetAward",
 			Handler:    _Partner_PartnerGetAward_Handler,
 		},
+		{
+			MethodName: "PartnerUpdateWorkingStatus",
+			Handler:    _Partner_PartnerUpdateWorkingStatus_Handler,
+		},
 	},
 	Streams:  []grpc.StreamDesc{},
 	Metadata: "partner.proto",

+ 43 - 0
api/partner/partner_http.pb.go

@@ -57,6 +57,7 @@ type PartnerHTTPServer interface {
 	PartnerLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
 	PartnerSetBlackChat(context.Context, *common.RoomIDRequest) (*emptypb.Empty, error)
 	PartnerUnLike(context.Context, *common.PersonParam) (*emptypb.Empty, error)
+	PartnerUpdateWorkingStatus(context.Context, *PartnerUpdateWorkingStatusRequest) (*emptypb.Empty, error)
 	RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error)
 	RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error)
 	Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error)
@@ -100,6 +101,7 @@ func RegisterPartnerHTTPServer(s *http.Server, srv PartnerHTTPServer) {
 	r.POST("/api/partner/report", _Partner_Report0_HTTP_Handler(srv))
 	r.POST("/api/partner/set/black", _Partner_PartnerSetBlackChat0_HTTP_Handler(srv))
 	r.POST("/api/partner/chat/award", _Partner_PartnerGetAward0_HTTP_Handler(srv))
+	r.POST("/api/partner/working/status/update", _Partner_PartnerUpdateWorkingStatus0_HTTP_Handler(srv))
 }
 
 func _Partner_GetPartnerInfo0_HTTP_Handler(srv PartnerHTTPServer) func(ctx http.Context) error {
@@ -993,6 +995,33 @@ func _Partner_PartnerGetAward0_HTTP_Handler(srv PartnerHTTPServer) func(ctx http
 	}
 }
 
+func _Partner_PartnerUpdateWorkingStatus0_HTTP_Handler(srv PartnerHTTPServer) func(ctx http.Context) error {
+	return func(ctx http.Context) error {
+		var in PartnerUpdateWorkingStatusRequest
+		if err := ctx.Bind(&in); err != nil {
+			return err
+		}
+		if err := ctx.BindQuery(&in); err != nil {
+			return err
+		}
+		http.SetOperation(ctx, "/api.partner.Partner/PartnerUpdateWorkingStatus")
+		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
+			return srv.PartnerUpdateWorkingStatus(ctx, req.(*PartnerUpdateWorkingStatusRequest))
+		})
+		out, err := h(ctx, &in)
+		if err != nil {
+			return err
+		}
+		success := &reply.SuccessReply{
+			Code: 0,
+		}
+		if out != nil {
+			success.Data = out
+		}
+		return ctx.Result(200, success)
+	}
+}
+
 type PartnerHTTPClient interface {
 	CheckPhoneCode(ctx context.Context, req *common.CheckPhoneCodeRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	CreateUserPartnerRoom(ctx context.Context, req *common.PersonIDParam, opts ...http.CallOption) (rsp *chat.RoomReply, err error)
@@ -1021,6 +1050,7 @@ type PartnerHTTPClient interface {
 	PartnerLike(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	PartnerSetBlackChat(ctx context.Context, req *common.RoomIDRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	PartnerUnLike(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
+	PartnerUpdateWorkingStatus(ctx context.Context, req *PartnerUpdateWorkingStatusRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	RandomMeme(ctx context.Context, req *common.RandomNum, opts ...http.CallOption) (rsp *common.CommonTextList, err error)
 	RandomSwiftMessage(ctx context.Context, req *common.RandomNumAndSex, opts ...http.CallOption) (rsp *common.CommonTextList, err error)
 	Report(ctx context.Context, req *common.ReportChatRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
@@ -1388,6 +1418,19 @@ func (c *PartnerHTTPClientImpl) PartnerUnLike(ctx context.Context, in *common.Pe
 	return &out, err
 }
 
+func (c *PartnerHTTPClientImpl) PartnerUpdateWorkingStatus(ctx context.Context, in *PartnerUpdateWorkingStatusRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
+	var out emptypb.Empty
+	pattern := "/api/partner/working/status/update"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.partner.Partner/PartnerUpdateWorkingStatus"))
+	opts = append(opts, http.PathTemplate(pattern))
+	err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return &out, err
+}
+
 func (c *PartnerHTTPClientImpl) RandomMeme(ctx context.Context, in *common.RandomNum, opts ...http.CallOption) (*common.CommonTextList, error) {
 	var out common.CommonTextList
 	pattern := "/api/partner/find/meme/random"

+ 6 - 0
define/partner.go

@@ -0,0 +1,6 @@
+package define
+
+var (
+	WorkingStatusOnline  = "online"  // 在线
+	WorkingStatusOffline = "offline" // 离线
+)

+ 32 - 0
js/api/common/common_pb.ts

@@ -529,4 +529,36 @@ export interface RoomChatMsg{
     /**  是否领取了图片奖励 */
     isGetPicturePrice?:boolean;
 }
+export interface RecommendPersonListReply{
+    list?:Array<RecommendPersonInfo>;
+    nextId?:string;
+}
+export interface RecommendPersonInfo{
+    /**  查询目标的ID */
+    personID?:string;
+    /**  类型 */
+    personType?:string;
+    /**  昵称 */
+    nickname?:string;
+    /**  头像链接 */
+    avatarUrl?:string;
+    /**  性别 */
+    sex?:number;
+    /**  年龄 */
+    age?:number;
+    /**  星座 */
+    constellation?:string;
+    /**  签名 */
+    signature?:string;
+    /**  省 */
+    province?:string;
+    /**  市 */
+    city?:string;
+    /**  区 */
+    area?:string;
+    /**  介绍语音 */
+    introduceVoice?:string;
+    /**  标签 */
+    tagList?:Array<string>;
+}
 

+ 6 - 1
js/api/partner/partner_http_pb.ts

@@ -1,6 +1,6 @@
 // @ts-ignore
 import request from '@/libs/request';
-import {PartnerInfo,PartnerBalance,PartnerDBBalance,PartnerMessage,GetRandomPartnerRequest,RandomPartnerInfo,AddPartnerBalanceRequest,LevelTable,PartnerGetAwardRequest} from "./partner_pb";
+import {PartnerInfo,PartnerBalance,PartnerDBBalance,PartnerMessage,GetRandomPartnerRequest,RandomPartnerInfo,AddPartnerBalanceRequest,LevelTable,PartnerGetAwardRequest,PartnerUpdateWorkingStatusRequest} from "./partner_pb";
 import {PartnerIDParam,PersonIDParam,PersonMsg,SendPhoneCodeRequest,CheckPhoneCodeRequest,AddFriendMessageInfo,UpdateInformationRequest,PersonParam,HomeInfo,LookedAndLikedNum,ListPageRequest,PersonIDList,PersonDBReply,WxConfReq,WxConfResponse,SexReq,TagListReply,ListPage2Request,OnlinePersonListReply,FindChatRecordListRequest,ChatRecordListReply,FindChatRoomMsgRequest,ChatRoomMsg,IsLike,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex,MemeTitleList,PartnerChatCardInfo,ReportChatRequest,RoomIDRequest} from "../common/common_pb";
 import {LookMessageReply,LookAndLikeListReply} from "../statistics/statistics_pb";
 import {RoomReply,PartnerFindRoomListReply} from "../chat/chat_pb";
@@ -171,6 +171,11 @@ const PartnerService = {
 	const res = await request.post('/api/partner/chat/award', req);
     return res.data.data;
   },
+  /**  接待员更新工作状态 */
+  PartnerUpdateWorkingStatus: async (req?: PartnerUpdateWorkingStatusRequest) => {
+	const res = await request.post('/api/partner/working/status/update', req);
+    return res.data.data;
+  },
 
 };
 

+ 4 - 0
js/api/partner/partner_pb.ts

@@ -1,3 +1,7 @@
+export interface PartnerUpdateWorkingStatusRequest{
+    /**  工作状态 */
+    workingStatus?:string;
+}
 export interface PartnerGetAwardRequest{
     /**  奖励类型 */
     awardType?:string;

Some files were not shown because too many files changed in this diff