瀏覽代碼

小纸条

wfz 3 年之前
父節點
當前提交
ef011a86bb

+ 81 - 73
api/chat/chat.pb.go

@@ -1699,7 +1699,7 @@ var file_chat_proto_rawDesc = []byte{
 	0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
 	0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
 	0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x07,
-	0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x32, 0xdf, 0x0e, 0x0a, 0x04,
+	0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x32, 0xae, 0x0f, 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,
@@ -1793,36 +1793,41 @@ var file_chat_proto_rawDesc = []byte{
 	0x72, 0x69, 0x70, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
 	0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
 	0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53,
-	0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x12, 0x46,
-	0x69, 0x6e, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x53, 0x63, 0x72, 0x69,
-	0x70, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x46,
-	0x69, 0x6e, 0x64, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
-	0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72,
-	0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0f, 0x50, 0x65, 0x72,
-	0x73, 0x6f, 0x6e, 0x4c, 0x6f, 0x6f, 0x6b, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x22, 0x2e, 0x61,
-	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
-	0x4c, 0x6f, 0x6f, 0x6b, 0x53, 0x63, 0x72, 0x69, 0x70, 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, 0x47, 0x0a, 0x13, 0x50, 0x65,
-	0x72, 0x73, 0x6f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x4c, 0x6f, 0x6f, 0x6b, 0x42, 0x61, 0x63,
-	0x6b, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50,
-	0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x15, 0x2e, 0x61, 0x70, 0x69,
-	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x6e, 0x66,
-	0x6f, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x10, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70,
-	0x6c, 0x79, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
-	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52,
-	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
-	0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x6e,
-	0x66, 0x6f, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f,
-	0x77, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74,
-	0x2e, 0x47, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
-	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74,
-	0x2e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x49, 0x6e, 0x66, 0x6f, 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,
+	0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0e, 0x46,
+	0x69, 0x6e, 0x64, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x21, 0x2e,
+	0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4f,
+	0x74, 0x68, 0x65, 0x72, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+	0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63,
+	0x72, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x12, 0x46, 0x69,
+	0x6e, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x53, 0x63, 0x72, 0x69, 0x70,
+	0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x46, 0x69,
+	0x6e, 0x64, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,
+	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69,
+	0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0f, 0x50, 0x65, 0x72, 0x73,
+	0x6f, 0x6e, 0x4c, 0x6f, 0x6f, 0x6b, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x22, 0x2e, 0x61, 0x70,
+	0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c,
+	0x6f, 0x6f, 0x6b, 0x53, 0x63, 0x72, 0x69, 0x70, 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, 0x47, 0x0a, 0x13, 0x50, 0x65, 0x72,
+	0x73, 0x6f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x4c, 0x6f, 0x6f, 0x6b, 0x42, 0x61, 0x63, 0x6b,
+	0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x6e, 0x66, 0x6f,
+	0x22, 0x00, 0x12, 0x4f, 0x0a, 0x10, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c,
+	0x79, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
+	0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65,
+	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
+	0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x6e, 0x66,
+	0x6f, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77,
+	0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e,
+	0x47, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71,
+	0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e,
+	0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x49, 0x6e, 0x66, 0x6f, 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 (
@@ -1867,18 +1872,19 @@ var file_chat_proto_goTypes = []interface{}{
 	(*common.CreateScripRequest)(nil),            // 25: api.common.CreateScripRequest
 	(*common.DeleteScripRequest)(nil),            // 26: api.common.DeleteScripRequest
 	(*common.FindScripRequest)(nil),              // 27: api.common.FindScripRequest
-	(*common.PersonLookScripRequest)(nil),        // 28: api.common.PersonLookScripRequest
-	(*common.PersonParam)(nil),                   // 29: api.common.PersonParam
-	(*common.ReplyScripRequest)(nil),             // 30: api.common.ReplyScripRequest
-	(*common.RecommendPersonListReply)(nil),      // 31: api.common.RecommendPersonListReply
-	(*common.ChatRecordListReply)(nil),           // 32: api.common.ChatRecordListReply
-	(*common.ChatRoomMsg)(nil),                   // 33: api.common.ChatRoomMsg
-	(*emptypb.Empty)(nil),                        // 34: google.protobuf.Empty
-	(*common.RoomChatMsg)(nil),                   // 35: api.common.RoomChatMsg
-	(*common.ScripID)(nil),                       // 36: api.common.ScripID
-	(*common.ScripReply)(nil),                    // 37: api.common.ScripReply
-	(*common.ScripInfo)(nil),                     // 38: api.common.ScripInfo
-	(*common.ChatRecordInfo)(nil),                // 39: api.common.ChatRecordInfo
+	(*common.FindOtherScripRequest)(nil),         // 28: api.common.FindOtherScripRequest
+	(*common.PersonLookScripRequest)(nil),        // 29: api.common.PersonLookScripRequest
+	(*common.PersonParam)(nil),                   // 30: api.common.PersonParam
+	(*common.ReplyScripRequest)(nil),             // 31: api.common.ReplyScripRequest
+	(*common.RecommendPersonListReply)(nil),      // 32: api.common.RecommendPersonListReply
+	(*common.ChatRecordListReply)(nil),           // 33: api.common.ChatRecordListReply
+	(*common.ChatRoomMsg)(nil),                   // 34: api.common.ChatRoomMsg
+	(*emptypb.Empty)(nil),                        // 35: google.protobuf.Empty
+	(*common.RoomChatMsg)(nil),                   // 36: api.common.RoomChatMsg
+	(*common.ScripID)(nil),                       // 37: api.common.ScripID
+	(*common.ScripReply)(nil),                    // 38: api.common.ScripReply
+	(*common.ScripInfo)(nil),                     // 39: api.common.ScripInfo
+	(*common.ChatRecordInfo)(nil),                // 40: api.common.ChatRecordInfo
 }
 var file_chat_proto_depIdxs = []int32{
 	9,  // 0: api.chat.UserFindRoomListReply.list:type_name -> api.chat.UserRoomInfo
@@ -1901,36 +1907,38 @@ var file_chat_proto_depIdxs = []int32{
 	25, // 17: api.chat.Chat.CreateScrip:input_type -> api.common.CreateScripRequest
 	26, // 18: api.chat.Chat.DeleteScrip:input_type -> api.common.DeleteScripRequest
 	27, // 19: api.chat.Chat.FindMyScrip:input_type -> api.common.FindScripRequest
-	27, // 20: api.chat.Chat.FindRecommendScrip:input_type -> api.common.FindScripRequest
-	28, // 21: api.chat.Chat.PersonLookScrip:input_type -> api.common.PersonLookScripRequest
-	29, // 22: api.chat.Chat.PersonClickLookBack:input_type -> api.common.PersonParam
-	30, // 23: api.chat.Chat.PersonReplyScrip:input_type -> api.common.ReplyScripRequest
-	0,  // 24: api.chat.Chat.GetWindowInfo:input_type -> api.chat.GetWindowInfoRequest
-	16, // 25: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
-	17, // 26: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
-	31, // 27: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.RecommendPersonListReply
-	31, // 28: api.chat.Chat.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
-	10, // 29: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	8,  // 30: api.chat.Chat.UserFindRoomList:output_type -> api.chat.UserFindRoomListReply
-	15, // 31: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
-	32, // 32: api.chat.Chat.FindChatRecordList:output_type -> api.common.ChatRecordListReply
-	33, // 33: api.chat.Chat.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
-	34, // 34: api.chat.Chat.SetBlackChat:output_type -> google.protobuf.Empty
-	34, // 35: api.chat.Chat.DeleteChat:output_type -> google.protobuf.Empty
-	34, // 36: api.chat.Chat.Report:output_type -> google.protobuf.Empty
-	4,  // 37: api.chat.Chat.PartnerGetAward:output_type -> api.chat.PartnerGetAwardReply
-	35, // 38: api.chat.Chat.FindRoomCardMsg:output_type -> api.common.RoomChatMsg
-	1,  // 39: api.chat.Chat.FindNotReplyNum:output_type -> api.chat.FindNotReplyNumReply
-	36, // 40: api.chat.Chat.CreateScrip:output_type -> api.common.ScripID
-	34, // 41: api.chat.Chat.DeleteScrip:output_type -> google.protobuf.Empty
-	37, // 42: api.chat.Chat.FindMyScrip:output_type -> api.common.ScripReply
-	37, // 43: api.chat.Chat.FindRecommendScrip:output_type -> api.common.ScripReply
-	34, // 44: api.chat.Chat.PersonLookScrip:output_type -> google.protobuf.Empty
-	38, // 45: api.chat.Chat.PersonClickLookBack:output_type -> api.common.ScripInfo
-	39, // 46: api.chat.Chat.PersonReplyScrip:output_type -> api.common.ChatRecordInfo
-	20, // 47: api.chat.Chat.GetWindowInfo:output_type -> api.chat.WindowInfo
-	25, // [25:48] is the sub-list for method output_type
-	2,  // [2:25] is the sub-list for method input_type
+	28, // 20: api.chat.Chat.FindOtherScrip:input_type -> api.common.FindOtherScripRequest
+	27, // 21: api.chat.Chat.FindRecommendScrip:input_type -> api.common.FindScripRequest
+	29, // 22: api.chat.Chat.PersonLookScrip:input_type -> api.common.PersonLookScripRequest
+	30, // 23: api.chat.Chat.PersonClickLookBack:input_type -> api.common.PersonParam
+	31, // 24: api.chat.Chat.PersonReplyScrip:input_type -> api.common.ReplyScripRequest
+	0,  // 25: api.chat.Chat.GetWindowInfo:input_type -> api.chat.GetWindowInfoRequest
+	16, // 26: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
+	17, // 27: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
+	32, // 28: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.RecommendPersonListReply
+	32, // 29: api.chat.Chat.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
+	10, // 30: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	8,  // 31: api.chat.Chat.UserFindRoomList:output_type -> api.chat.UserFindRoomListReply
+	15, // 32: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
+	33, // 33: api.chat.Chat.FindChatRecordList:output_type -> api.common.ChatRecordListReply
+	34, // 34: api.chat.Chat.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
+	35, // 35: api.chat.Chat.SetBlackChat:output_type -> google.protobuf.Empty
+	35, // 36: api.chat.Chat.DeleteChat:output_type -> google.protobuf.Empty
+	35, // 37: api.chat.Chat.Report:output_type -> google.protobuf.Empty
+	4,  // 38: api.chat.Chat.PartnerGetAward:output_type -> api.chat.PartnerGetAwardReply
+	36, // 39: api.chat.Chat.FindRoomCardMsg:output_type -> api.common.RoomChatMsg
+	1,  // 40: api.chat.Chat.FindNotReplyNum:output_type -> api.chat.FindNotReplyNumReply
+	37, // 41: api.chat.Chat.CreateScrip:output_type -> api.common.ScripID
+	35, // 42: api.chat.Chat.DeleteScrip:output_type -> google.protobuf.Empty
+	38, // 43: api.chat.Chat.FindMyScrip:output_type -> api.common.ScripReply
+	38, // 44: api.chat.Chat.FindOtherScrip:output_type -> api.common.ScripReply
+	38, // 45: api.chat.Chat.FindRecommendScrip:output_type -> api.common.ScripReply
+	35, // 46: api.chat.Chat.PersonLookScrip:output_type -> google.protobuf.Empty
+	39, // 47: api.chat.Chat.PersonClickLookBack:output_type -> api.common.ScripInfo
+	40, // 48: api.chat.Chat.PersonReplyScrip:output_type -> api.common.ChatRecordInfo
+	20, // 49: api.chat.Chat.GetWindowInfo:output_type -> api.chat.WindowInfo
+	26, // [26:50] is the sub-list for method output_type
+	2,  // [2:26] 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

@@ -47,6 +47,8 @@ service Chat {
   rpc DeleteScrip (common.DeleteScripRequest) returns (google.protobuf.Empty){};
   // 查询自己的小纸条
   rpc FindMyScrip (common.FindScripRequest) returns (common.ScripReply){};
+  // 查询别人的小纸条
+  rpc FindOtherScrip (common.FindOtherScripRequest) returns (common.ScripReply){};
   // 查询随机纸条列表
   rpc FindRecommendScrip (common.FindScripRequest) returns (common.ScripReply){};
   // 用户查看纸条

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

@@ -55,6 +55,8 @@ type ChatClient interface {
 	DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	// 查询自己的小纸条
 	FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
+	// 查询别人的小纸条
+	FindOtherScrip(ctx context.Context, in *common.FindOtherScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
 	// 查询随机纸条列表
 	FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
 	// 用户查看纸条
@@ -237,6 +239,15 @@ func (c *chatClient) FindMyScrip(ctx context.Context, in *common.FindScripReques
 	return out, nil
 }
 
+func (c *chatClient) FindOtherScrip(ctx context.Context, in *common.FindOtherScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
+	out := new(common.ScripReply)
+	err := c.cc.Invoke(ctx, "/api.chat.Chat/FindOtherScrip", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 func (c *chatClient) FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
 	out := new(common.ScripReply)
 	err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendScrip", in, out, opts...)
@@ -321,6 +332,8 @@ type ChatServer interface {
 	DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error)
 	// 查询自己的小纸条
 	FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
+	// 查询别人的小纸条
+	FindOtherScrip(context.Context, *common.FindOtherScripRequest) (*common.ScripReply, error)
 	// 查询随机纸条列表
 	FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
 	// 用户查看纸条
@@ -392,6 +405,9 @@ func (UnimplementedChatServer) DeleteScrip(context.Context, *common.DeleteScripR
 func (UnimplementedChatServer) FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindMyScrip not implemented")
 }
+func (UnimplementedChatServer) FindOtherScrip(context.Context, *common.FindOtherScripRequest) (*common.ScripReply, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method FindOtherScrip not implemented")
+}
 func (UnimplementedChatServer) FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindRecommendScrip not implemented")
 }
@@ -744,6 +760,24 @@ func _Chat_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func(in
 	return interceptor(ctx, in, info, handler)
 }
 
+func _Chat_FindOtherScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(common.FindOtherScripRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(ChatServer).FindOtherScrip(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.chat.Chat/FindOtherScrip",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(ChatServer).FindOtherScrip(ctx, req.(*common.FindOtherScripRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 func _Chat_FindRecommendScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(common.FindScripRequest)
 	if err := dec(in); err != nil {
@@ -913,6 +947,10 @@ var Chat_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "FindMyScrip",
 			Handler:    _Chat_FindMyScrip_Handler,
 		},
+		{
+			MethodName: "FindOtherScrip",
+			Handler:    _Chat_FindOtherScrip_Handler,
+		},
 		{
 			MethodName: "FindRecommendScrip",
 			Handler:    _Chat_FindRecommendScrip_Handler,

+ 356 - 126
api/common/common.pb.go

@@ -4511,6 +4511,93 @@ func (x *FindScripRequest) GetOffset() int64 {
 	return 0
 }
 
+type FindOtherScripRequest struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	PersonId     string `protobuf:"bytes,1,opt,name=personId,proto3" json:"personId"`
+	PersonType   string `protobuf:"bytes,2,opt,name=personType,proto3" json:"personType"`
+	MyPersonId   string `protobuf:"bytes,3,opt,name=myPersonId,proto3" json:"myPersonId"`
+	MyPersonType string `protobuf:"bytes,4,opt,name=myPersonType,proto3" json:"myPersonType"`
+	NextId       int64  `protobuf:"varint,5,opt,name=nextId,proto3" json:"nextId"`
+	Offset       int64  `protobuf:"varint,6,opt,name=offset,proto3" json:"offset"`
+}
+
+func (x *FindOtherScripRequest) Reset() {
+	*x = FindOtherScripRequest{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[63]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *FindOtherScripRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FindOtherScripRequest) ProtoMessage() {}
+
+func (x *FindOtherScripRequest) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[63]
+	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 FindOtherScripRequest.ProtoReflect.Descriptor instead.
+func (*FindOtherScripRequest) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{63}
+}
+
+func (x *FindOtherScripRequest) GetPersonId() string {
+	if x != nil {
+		return x.PersonId
+	}
+	return ""
+}
+
+func (x *FindOtherScripRequest) GetPersonType() string {
+	if x != nil {
+		return x.PersonType
+	}
+	return ""
+}
+
+func (x *FindOtherScripRequest) GetMyPersonId() string {
+	if x != nil {
+		return x.MyPersonId
+	}
+	return ""
+}
+
+func (x *FindOtherScripRequest) GetMyPersonType() string {
+	if x != nil {
+		return x.MyPersonType
+	}
+	return ""
+}
+
+func (x *FindOtherScripRequest) GetNextId() int64 {
+	if x != nil {
+		return x.NextId
+	}
+	return 0
+}
+
+func (x *FindOtherScripRequest) GetOffset() int64 {
+	if x != nil {
+		return x.Offset
+	}
+	return 0
+}
+
 type ScripReply struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache
@@ -4523,7 +4610,7 @@ type ScripReply struct {
 func (x *ScripReply) Reset() {
 	*x = ScripReply{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_common_proto_msgTypes[63]
+		mi := &file_common_proto_msgTypes[64]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -4536,7 +4623,7 @@ func (x *ScripReply) String() string {
 func (*ScripReply) ProtoMessage() {}
 
 func (x *ScripReply) ProtoReflect() protoreflect.Message {
-	mi := &file_common_proto_msgTypes[63]
+	mi := &file_common_proto_msgTypes[64]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -4549,7 +4636,7 @@ func (x *ScripReply) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use ScripReply.ProtoReflect.Descriptor instead.
 func (*ScripReply) Descriptor() ([]byte, []int) {
-	return file_common_proto_rawDescGZIP(), []int{63}
+	return file_common_proto_rawDescGZIP(), []int{64}
 }
 
 func (x *ScripReply) GetList() []*ScripInfo {
@@ -4571,22 +4658,25 @@ type ScripInfo struct {
 	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"`     // 创建者类型
-	Text         string `protobuf:"bytes,3,opt,name=text,proto3" json:"text"`                 // 纸条内容
-	PictureUrl   string `protobuf:"bytes,4,opt,name=pictureUrl,proto3" json:"pictureUrl"`     // 纸条配图
-	PersonName   string `protobuf:"bytes,5,opt,name=personName,proto3" json:"personName"`     // 创建者名称
-	PersonSex    int64  `protobuf:"varint,6,opt,name=personSex,proto3" json:"personSex"`      // 创建者性别
-	PersonAvatar string `protobuf:"bytes,7,opt,name=personAvatar,proto3" json:"personAvatar"` // 创建者头像
-	CreateTime   int64  `protobuf:"varint,8,opt,name=createTime,proto3" json:"createTime"`    // 创建时间
-	ScripId      int64  `protobuf:"varint,9,opt,name=scripId,proto3" json:"scripId"`          // 纸条ID
-	ReplyNum     int64  `protobuf:"varint,10,opt,name=replyNum,proto3" json:"replyNum"`       // 回复数
+	ScripId      int64              `protobuf:"varint,1,opt,name=scripId,proto3" json:"scripId"`          // 纸条ID
+	PersonId     string             `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"`         // 创建者ID
+	PersonType   string             `protobuf:"bytes,3,opt,name=personType,proto3" json:"personType"`     // 创建者类型
+	Text         string             `protobuf:"bytes,4,opt,name=text,proto3" json:"text"`                 // 纸条内容
+	PictureUrl   string             `protobuf:"bytes,5,opt,name=pictureUrl,proto3" json:"pictureUrl"`     // 纸条配图
+	PersonName   string             `protobuf:"bytes,6,opt,name=personName,proto3" json:"personName"`     // 创建者名称
+	PersonSex    int64              `protobuf:"varint,7,opt,name=personSex,proto3" json:"personSex"`      // 创建者性别
+	PersonAge    int64              `protobuf:"varint,8,opt,name=personAge,proto3" json:"personAge"`      // 创建者性别
+	PersonAvatar string             `protobuf:"bytes,9,opt,name=personAvatar,proto3" json:"personAvatar"` // 创建者头像
+	ReplyNum     int64              `protobuf:"varint,10,opt,name=replyNum,proto3" json:"replyNum"`       // 回复数
+	IsCanReply   bool               `protobuf:"varint,11,opt,name=isCanReply,proto3" json:"isCanReply"`   // 是否可以回复
+	MyReply      *ScripReplyMessage `protobuf:"bytes,12,opt,name=myReply,proto3" json:"myReply"`          // 我的回复内容
+	CreateTime   int64              `protobuf:"varint,13,opt,name=createTime,proto3" json:"createTime"`   // 创建时间
 }
 
 func (x *ScripInfo) Reset() {
 	*x = ScripInfo{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_common_proto_msgTypes[64]
+		mi := &file_common_proto_msgTypes[65]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -4599,7 +4689,7 @@ func (x *ScripInfo) String() string {
 func (*ScripInfo) ProtoMessage() {}
 
 func (x *ScripInfo) ProtoReflect() protoreflect.Message {
-	mi := &file_common_proto_msgTypes[64]
+	mi := &file_common_proto_msgTypes[65]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -4612,7 +4702,14 @@ func (x *ScripInfo) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use ScripInfo.ProtoReflect.Descriptor instead.
 func (*ScripInfo) Descriptor() ([]byte, []int) {
-	return file_common_proto_rawDescGZIP(), []int{64}
+	return file_common_proto_rawDescGZIP(), []int{65}
+}
+
+func (x *ScripInfo) GetScripId() int64 {
+	if x != nil {
+		return x.ScripId
+	}
+	return 0
 }
 
 func (x *ScripInfo) GetPersonId() string {
@@ -4657,6 +4754,13 @@ func (x *ScripInfo) GetPersonSex() int64 {
 	return 0
 }
 
+func (x *ScripInfo) GetPersonAge() int64 {
+	if x != nil {
+		return x.PersonAge
+	}
+	return 0
+}
+
 func (x *ScripInfo) GetPersonAvatar() string {
 	if x != nil {
 		return x.PersonAvatar
@@ -4664,6 +4768,27 @@ func (x *ScripInfo) GetPersonAvatar() string {
 	return ""
 }
 
+func (x *ScripInfo) GetReplyNum() int64 {
+	if x != nil {
+		return x.ReplyNum
+	}
+	return 0
+}
+
+func (x *ScripInfo) GetIsCanReply() bool {
+	if x != nil {
+		return x.IsCanReply
+	}
+	return false
+}
+
+func (x *ScripInfo) GetMyReply() *ScripReplyMessage {
+	if x != nil {
+		return x.MyReply
+	}
+	return nil
+}
+
 func (x *ScripInfo) GetCreateTime() int64 {
 	if x != nil {
 		return x.CreateTime
@@ -4671,18 +4796,67 @@ func (x *ScripInfo) GetCreateTime() int64 {
 	return 0
 }
 
-func (x *ScripInfo) GetScripId() int64 {
+type ScripReplyMessage struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	MessageType     string `protobuf:"bytes,1,opt,name=messageType,proto3" json:"messageType"`         // 小纸条回复的类型
+	ScripContent    string `protobuf:"bytes,2,opt,name=scripContent,proto3" json:"scripContent"`       // 小纸条回复的文本内容
+	ScripPictureUrl string `protobuf:"bytes,3,opt,name=scripPictureUrl,proto3" json:"scripPictureUrl"` // 小纸条回复的图片链接
+}
+
+func (x *ScripReplyMessage) Reset() {
+	*x = ScripReplyMessage{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[66]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *ScripReplyMessage) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ScripReplyMessage) ProtoMessage() {}
+
+func (x *ScripReplyMessage) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[66]
+	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 ScripReplyMessage.ProtoReflect.Descriptor instead.
+func (*ScripReplyMessage) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{66}
+}
+
+func (x *ScripReplyMessage) GetMessageType() string {
 	if x != nil {
-		return x.ScripId
+		return x.MessageType
 	}
-	return 0
+	return ""
 }
 
-func (x *ScripInfo) GetReplyNum() int64 {
+func (x *ScripReplyMessage) GetScripContent() string {
 	if x != nil {
-		return x.ReplyNum
+		return x.ScripContent
 	}
-	return 0
+	return ""
+}
+
+func (x *ScripReplyMessage) GetScripPictureUrl() string {
+	if x != nil {
+		return x.ScripPictureUrl
+	}
+	return ""
 }
 
 type DeleteScripRequest struct {
@@ -4698,7 +4872,7 @@ type DeleteScripRequest struct {
 func (x *DeleteScripRequest) Reset() {
 	*x = DeleteScripRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_common_proto_msgTypes[65]
+		mi := &file_common_proto_msgTypes[67]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -4711,7 +4885,7 @@ func (x *DeleteScripRequest) String() string {
 func (*DeleteScripRequest) ProtoMessage() {}
 
 func (x *DeleteScripRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_common_proto_msgTypes[65]
+	mi := &file_common_proto_msgTypes[67]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -4724,7 +4898,7 @@ func (x *DeleteScripRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use DeleteScripRequest.ProtoReflect.Descriptor instead.
 func (*DeleteScripRequest) Descriptor() ([]byte, []int) {
-	return file_common_proto_rawDescGZIP(), []int{65}
+	return file_common_proto_rawDescGZIP(), []int{67}
 }
 
 func (x *DeleteScripRequest) GetId() int64 {
@@ -4763,7 +4937,7 @@ type CreateScripRequest struct {
 func (x *CreateScripRequest) Reset() {
 	*x = CreateScripRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_common_proto_msgTypes[66]
+		mi := &file_common_proto_msgTypes[68]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -4776,7 +4950,7 @@ func (x *CreateScripRequest) String() string {
 func (*CreateScripRequest) ProtoMessage() {}
 
 func (x *CreateScripRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_common_proto_msgTypes[66]
+	mi := &file_common_proto_msgTypes[68]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -4789,7 +4963,7 @@ func (x *CreateScripRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use CreateScripRequest.ProtoReflect.Descriptor instead.
 func (*CreateScripRequest) Descriptor() ([]byte, []int) {
-	return file_common_proto_rawDescGZIP(), []int{66}
+	return file_common_proto_rawDescGZIP(), []int{68}
 }
 
 func (x *CreateScripRequest) GetPersonId() string {
@@ -4838,7 +5012,7 @@ type ScripID struct {
 func (x *ScripID) Reset() {
 	*x = ScripID{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_common_proto_msgTypes[67]
+		mi := &file_common_proto_msgTypes[69]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -4851,7 +5025,7 @@ func (x *ScripID) String() string {
 func (*ScripID) ProtoMessage() {}
 
 func (x *ScripID) ProtoReflect() protoreflect.Message {
-	mi := &file_common_proto_msgTypes[67]
+	mi := &file_common_proto_msgTypes[69]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -4864,7 +5038,7 @@ func (x *ScripID) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use ScripID.ProtoReflect.Descriptor instead.
 func (*ScripID) Descriptor() ([]byte, []int) {
-	return file_common_proto_rawDescGZIP(), []int{67}
+	return file_common_proto_rawDescGZIP(), []int{69}
 }
 
 func (x *ScripID) GetId() int64 {
@@ -4890,7 +5064,7 @@ type ReplyScripRequest struct {
 func (x *ReplyScripRequest) Reset() {
 	*x = ReplyScripRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_common_proto_msgTypes[68]
+		mi := &file_common_proto_msgTypes[70]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -4903,7 +5077,7 @@ func (x *ReplyScripRequest) String() string {
 func (*ReplyScripRequest) ProtoMessage() {}
 
 func (x *ReplyScripRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_common_proto_msgTypes[68]
+	mi := &file_common_proto_msgTypes[70]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -4916,7 +5090,7 @@ func (x *ReplyScripRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use ReplyScripRequest.ProtoReflect.Descriptor instead.
 func (*ReplyScripRequest) Descriptor() ([]byte, []int) {
-	return file_common_proto_rawDescGZIP(), []int{68}
+	return file_common_proto_rawDescGZIP(), []int{70}
 }
 
 func (x *ReplyScripRequest) GetPersonId() string {
@@ -4973,7 +5147,7 @@ type UpdateLastScripIDRequest struct {
 func (x *UpdateLastScripIDRequest) Reset() {
 	*x = UpdateLastScripIDRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_common_proto_msgTypes[69]
+		mi := &file_common_proto_msgTypes[71]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -4986,7 +5160,7 @@ func (x *UpdateLastScripIDRequest) String() string {
 func (*UpdateLastScripIDRequest) ProtoMessage() {}
 
 func (x *UpdateLastScripIDRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_common_proto_msgTypes[69]
+	mi := &file_common_proto_msgTypes[71]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -4999,7 +5173,7 @@ func (x *UpdateLastScripIDRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use UpdateLastScripIDRequest.ProtoReflect.Descriptor instead.
 func (*UpdateLastScripIDRequest) Descriptor() ([]byte, []int) {
-	return file_common_proto_rawDescGZIP(), []int{69}
+	return file_common_proto_rawDescGZIP(), []int{71}
 }
 
 func (x *UpdateLastScripIDRequest) GetPersonId() string {
@@ -5552,74 +5726,103 @@ var file_common_proto_rawDesc = []byte{
 	0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49,
 	0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12,
 	0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
-	0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x4f, 0x0a, 0x0a, 0x53, 0x63, 0x72, 0x69, 0x70,
-	0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x29, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20,
-	0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
-	0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 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, 0x03,
-	0x52, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x22, 0xb3, 0x02, 0x0a, 0x09, 0x53, 0x63, 0x72,
-	0x69, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
-	0x49, 0x64, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79,
-	0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
-	0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72,
-	0x65, 0x55, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x69, 0x63, 0x74,
-	0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
-	0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73,
-	0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
-	0x53, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f,
-	0x6e, 0x53, 0x65, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x41, 0x76,
-	0x61, 0x74, 0x61, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x73,
-	0x6f, 0x6e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61,
-	0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72,
-	0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x63, 0x72, 0x69,
-	0x70, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70,
-	0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x4e, 0x75, 0x6d, 0x18, 0x0a,
-	0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x4e, 0x75, 0x6d, 0x22, 0x60,
-	0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71,
-	0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
-	0x52, 0x02, 0x69, 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,
-	0x22, 0xb0, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x72, 0x69, 0x70,
-	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f,
-	0x6e, 0x49, 0x64, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54,
-	0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65,
-	0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x50,
-	0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x12,
-	0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
-	0x65, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72,
-	0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65,
-	0x55, 0x72, 0x6c, 0x22, 0x19, 0x0a, 0x07, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 0x12, 0x0e,
-	0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0xde,
-	0x01, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71,
-	0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
-	0x18, 0x01, 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, 0x02,
-	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
-	0x12, 0x2a, 0x0a, 0x10, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
-	0x66, 0x79, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x50, 0x65, 0x72, 0x73,
-	0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07,
-	0x73, 0x63, 0x72, 0x69, 0x70, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73,
-	0x63, 0x72, 0x69, 0x70, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
-	0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
-	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65,
-	0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65,
-	0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22,
-	0x50, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x72,
-	0x69, 0x70, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70,
+	0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0xc7, 0x01, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64,
+	0x4f, 0x74, 0x68, 0x65, 0x72, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+	0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28,
+	0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a,
+	0x0a, 0x6d, 0x79, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
+	0x09, 0x52, 0x0a, 0x6d, 0x79, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x22, 0x0a,
+	0x0c, 0x6d, 0x79, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20,
+	0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x79, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70,
+	0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
+	0x03, 0x52, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66,
+	0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
+	0x74, 0x22, 0x4f, 0x0a, 0x0a, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
+	0x29, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e,
+	0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70,
+	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, 0x03, 0x52, 0x06, 0x6e, 0x65, 0x78, 0x74,
+	0x49, 0x64, 0x22, 0xaa, 0x03, 0x0a, 0x09, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x6e, 0x66, 0x6f,
+	0x12, 0x18, 0x0a, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+	0x03, 0x52, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 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, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x04,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x69,
+	0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
+	0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
+	0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x53, 0x65, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70,
+	0x65, 0x72, 0x73, 0x6f, 0x6e, 0x53, 0x65, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x65, 0x72, 0x73,
+	0x6f, 0x6e, 0x41, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x65, 0x72,
+	0x73, 0x6f, 0x6e, 0x41, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
+	0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65,
+	0x70, 0x6c, 0x79, 0x4e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x65,
+	0x70, 0x6c, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x43, 0x61, 0x6e, 0x52,
+	0x65, 0x70, 0x6c, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x43, 0x61,
+	0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x37, 0x0a, 0x07, 0x6d, 0x79, 0x52, 0x65, 0x70, 0x6c,
+	0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
+	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4d,
+	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
+	0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20,
+	0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22,
+	0x83, 0x01, 0x0a, 0x11, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4d, 0x65,
+	0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
+	0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73,
+	0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x63, 0x72, 0x69, 0x70,
+	0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73,
+	0x63, 0x72, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x73,
+	0x63, 0x72, 0x69, 0x70, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x03,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x50, 0x69, 0x63, 0x74, 0x75,
+	0x72, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x60, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53,
+	0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
+	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 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, 0x22, 0xb0, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61,
+	0x74, 0x65, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a,
+	0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
+	0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x50, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x03,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e,
+	0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x04,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x69,
+	0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
+	0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x19, 0x0a, 0x07, 0x53, 0x63,
+	0x72, 0x69, 0x70, 0x49, 0x44, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+	0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53,
+	0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70,
 	0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
-	0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70,
-	0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x49,
-	0x64, 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,
+	0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 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, 0x2a, 0x0a, 0x10, 0x50, 0x65, 0x72, 0x73, 0x6f,
+	0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
+	0x09, 0x52, 0x10, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66,
+	0x79, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x49, 0x64, 0x18, 0x04,
+	0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x49, 0x64, 0x12, 0x2d, 0x0a,
+	0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13,
+	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x73, 0x73,
+	0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07,
+	0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d,
+	0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x50, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+	0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65,
+	0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x18,
+	0x0a, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
+	0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x49, 0x64, 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 (
@@ -5634,7 +5837,7 @@ func file_common_proto_rawDescGZIP() []byte {
 	return file_common_proto_rawDescData
 }
 
-var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 70)
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 72)
 var file_common_proto_goTypes = []interface{}{
 	(*UserAndPartnerIdentifyIdParam)(nil), // 0: api.common.UserAndPartnerIdentifyIdParam
 	(*UserAndPartnerParam)(nil),           // 1: api.common.UserAndPartnerParam
@@ -5699,13 +5902,15 @@ var file_common_proto_goTypes = []interface{}{
 	(*IdentifyIdRequest)(nil),             // 60: api.common.IdentifyIdRequest
 	(*PersonLookScripRequest)(nil),        // 61: api.common.PersonLookScripRequest
 	(*FindScripRequest)(nil),              // 62: api.common.FindScripRequest
-	(*ScripReply)(nil),                    // 63: api.common.ScripReply
-	(*ScripInfo)(nil),                     // 64: api.common.ScripInfo
-	(*DeleteScripRequest)(nil),            // 65: api.common.DeleteScripRequest
-	(*CreateScripRequest)(nil),            // 66: api.common.CreateScripRequest
-	(*ScripID)(nil),                       // 67: api.common.ScripID
-	(*ReplyScripRequest)(nil),             // 68: api.common.ReplyScripRequest
-	(*UpdateLastScripIDRequest)(nil),      // 69: api.common.UpdateLastScripIDRequest
+	(*FindOtherScripRequest)(nil),         // 63: api.common.FindOtherScripRequest
+	(*ScripReply)(nil),                    // 64: api.common.ScripReply
+	(*ScripInfo)(nil),                     // 65: api.common.ScripInfo
+	(*ScripReplyMessage)(nil),             // 66: api.common.ScripReplyMessage
+	(*DeleteScripRequest)(nil),            // 67: api.common.DeleteScripRequest
+	(*CreateScripRequest)(nil),            // 68: api.common.CreateScripRequest
+	(*ScripID)(nil),                       // 69: api.common.ScripID
+	(*ReplyScripRequest)(nil),             // 70: api.common.ReplyScripRequest
+	(*UpdateLastScripIDRequest)(nil),      // 71: api.common.UpdateLastScripIDRequest
 }
 var file_common_proto_depIdxs = []int32{
 	29, // 0: api.common.ChatCardInfo.tagList:type_name -> api.common.TagList
@@ -5718,13 +5923,14 @@ var file_common_proto_depIdxs = []int32{
 	39, // 7: api.common.ChatRecordInfo.message:type_name -> api.common.Message
 	50, // 8: api.common.MemeTitleList.list:type_name -> api.common.MemeTitle
 	57, // 9: api.common.RecommendPersonListReply.list:type_name -> api.common.RecommendPersonInfo
-	64, // 10: api.common.ScripReply.list:type_name -> api.common.ScripInfo
-	39, // 11: api.common.ReplyScripRequest.message:type_name -> api.common.Message
-	12, // [12:12] is the sub-list for method output_type
-	12, // [12:12] is the sub-list for method input_type
-	12, // [12:12] is the sub-list for extension type_name
-	12, // [12:12] is the sub-list for extension extendee
-	0,  // [0:12] is the sub-list for field type_name
+	65, // 10: api.common.ScripReply.list:type_name -> api.common.ScripInfo
+	66, // 11: api.common.ScripInfo.myReply:type_name -> api.common.ScripReplyMessage
+	39, // 12: api.common.ReplyScripRequest.message:type_name -> api.common.Message
+	13, // [13:13] is the sub-list for method output_type
+	13, // [13:13] is the sub-list for method input_type
+	13, // [13:13] is the sub-list for extension type_name
+	13, // [13:13] is the sub-list for extension extendee
+	0,  // [0:13] is the sub-list for field type_name
 }
 
 func init() { file_common_proto_init() }
@@ -6490,7 +6696,7 @@ func file_common_proto_init() {
 			}
 		}
 		file_common_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*ScripReply); i {
+			switch v := v.(*FindOtherScripRequest); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -6502,7 +6708,7 @@ func file_common_proto_init() {
 			}
 		}
 		file_common_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*ScripInfo); i {
+			switch v := v.(*ScripReply); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -6514,7 +6720,7 @@ func file_common_proto_init() {
 			}
 		}
 		file_common_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*DeleteScripRequest); i {
+			switch v := v.(*ScripInfo); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -6526,7 +6732,7 @@ func file_common_proto_init() {
 			}
 		}
 		file_common_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*CreateScripRequest); i {
+			switch v := v.(*ScripReplyMessage); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -6538,7 +6744,7 @@ func file_common_proto_init() {
 			}
 		}
 		file_common_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*ScripID); i {
+			switch v := v.(*DeleteScripRequest); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -6550,7 +6756,7 @@ func file_common_proto_init() {
 			}
 		}
 		file_common_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*ReplyScripRequest); i {
+			switch v := v.(*CreateScripRequest); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -6562,6 +6768,30 @@ func file_common_proto_init() {
 			}
 		}
 		file_common_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*ScripID); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_common_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*ReplyScripRequest); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_common_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} {
 			switch v := v.(*UpdateLastScripIDRequest); i {
 			case 0:
 				return &v.state
@@ -6580,7 +6810,7 @@ func file_common_proto_init() {
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: file_common_proto_rawDesc,
 			NumEnums:      0,
-			NumMessages:   70,
+			NumMessages:   72,
 			NumExtensions: 0,
 			NumServices:   0,
 		},

+ 27 - 9
api/common/common.proto

@@ -456,22 +456,40 @@ message FindScripRequest {
   int64 offset = 4;
 }
 
+message FindOtherScripRequest {
+  string personId = 1;
+  string personType = 2;
+  string myPersonId = 3;
+  string myPersonType = 4;
+  int64 nextId = 5;
+  int64 offset = 6;
+}
+
 message ScripReply {
   repeated ScripInfo list = 1;
   int64 nextId = 2;
 }
 
 message ScripInfo {
-  string personId = 1;// 创建者ID
-  string personType = 2;// 创建者类型
-  string text = 3;// 纸条内容
-  string pictureUrl = 4;// 纸条配图
-  string personName = 5;// 创建者名称
-  int64 personSex = 6;// 创建者性别
-  string personAvatar = 7;// 创建者头像
-  int64 createTime = 8;// 创建时间
-  int64 scripId = 9;// 纸条ID
+  int64 scripId = 1;// 纸条ID
+  string personId = 2;// 创建者ID
+  string personType = 3;// 创建者类型
+  string text = 4;// 纸条内容
+  string pictureUrl = 5;// 纸条配图
+  string personName = 6;// 创建者名称
+  int64 personSex = 7;// 创建者性别
+  int64 personAge = 8;// 创建者性别
+  string personAvatar = 9;// 创建者头像
   int64 replyNum = 10;// 回复数
+  bool isCanReply = 11;// 是否可以回复
+  ScripReplyMessage myReply = 12;// 我的回复内容
+  int64 createTime = 13;// 创建时间
+}
+
+message ScripReplyMessage{
+  string messageType = 1;// 小纸条回复的类型
+  string scripContent = 2;// 小纸条回复的文本内容
+  string scripPictureUrl = 3;// 小纸条回复的图片链接
 }
 
 message DeleteScripRequest {

+ 55 - 55
api/user/user.pb.go

@@ -1674,7 +1674,7 @@ var file_user_proto_rawDesc = []byte{
 	0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x2a, 0x0a, 0x10, 0x50, 0x61,
 	0x79, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16,
 	0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06,
-	0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0xc9, 0x33, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12,
+	0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0xca, 0x33, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12,
 	0x7e, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66,
 	0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
 	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f,
@@ -2040,58 +2040,58 @@ var file_user_proto_rawDesc = []byte{
 	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c,
 	0x79, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f,
 	0x75, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x2f,
-	0x73, 0x65, 0x6c, 0x66, 0x3a, 0x01, 0x2a, 0x12, 0x6c, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x55,
-	0x73, 0x65, 0x72, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
-	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52,
-	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
-	0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x25,
-	0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65,
-	0x72, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x2f, 0x6f, 0x74, 0x68,
-	0x65, 0x72, 0x3a, 0x01, 0x2a, 0x12, 0x77, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x63,
-	0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x1e, 0x2e, 0x61, 0x70,
-	0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64, 0x53,
-	0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70,
-	0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65,
-	0x70, 0x6c, 0x79, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x1e, 0x2f, 0x61, 0x70,
-	0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x2f, 0x66, 0x69, 0x6e,
-	0x64, 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x3a, 0x01, 0x2a, 0x12, 0x6c,
-	0x0a, 0x0f, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x6f, 0x6f, 0x6b, 0x53, 0x63, 0x72, 0x69,
-	0x70, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x50, 0x65, 0x72,
-	0x73, 0x6f, 0x6e, 0x4c, 0x6f, 0x6f, 0x6b, 0x53, 0x63, 0x72, 0x69, 0x70, 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, 0x1f, 0x82, 0xd3, 0xe4,
-	0x93, 0x02, 0x19, 0x22, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73,
-	0x63, 0x72, 0x69, 0x70, 0x2f, 0x6c, 0x6f, 0x6f, 0x6b, 0x3a, 0x01, 0x2a, 0x12, 0x6b, 0x0a, 0x13,
-	0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x4c, 0x6f, 0x6f, 0x6b, 0x42,
-	0x61, 0x63, 0x6b, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
-	0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x15, 0x2e, 0x61,
-	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49,
-	0x6e, 0x66, 0x6f, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70,
-	0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x2f, 0x6c, 0x6f, 0x6f,
-	0x6b, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x12, 0x6d, 0x0a, 0x10, 0x50, 0x65, 0x72,
-	0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x1b, 0x2e,
-	0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x63,
-	0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69,
-	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63, 0x6f,
-	0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x15,
-	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x2f,
-	0x72, 0x65, 0x70, 0x6c, 0x79, 0x3a, 0x01, 0x2a, 0x12, 0x53, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61,
-	0x74, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 0x12, 0x24, 0x2e,
-	0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
-	0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 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, 0x63, 0x0a,
-	0x0d, 0x47, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16,
-	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
-	0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61,
-	0x74, 0x2e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x24, 0x82, 0xd3,
-	0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f,
-	0x63, 0x68, 0x61, 0x74, 0x2f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x2f, 0x67, 0x65, 0x74, 0x3a,
-	0x01, 0x2a, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 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, 0x75, 0x73, 0x65, 0x72, 0x3b, 0x75, 0x73, 0x65,
-	0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+	0x73, 0x65, 0x6c, 0x66, 0x3a, 0x01, 0x2a, 0x12, 0x6d, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x4f,
+	0x74, 0x68, 0x65, 0x72, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x72, 0x69, 0x70,
+	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
+	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
+	0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1a, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73,
+	0x65, 0x72, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x2f, 0x6f, 0x74,
+	0x68, 0x65, 0x72, 0x3a, 0x01, 0x2a, 0x12, 0x77, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65,
+	0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x1e, 0x2e, 0x61,
+	0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x6e, 0x64,
+	0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61,
+	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52,
+	0x65, 0x70, 0x6c, 0x79, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x1e, 0x2f, 0x61,
+	0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x2f, 0x66, 0x69,
+	0x6e, 0x64, 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x3a, 0x01, 0x2a, 0x12,
+	0x6c, 0x0a, 0x0f, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x6f, 0x6f, 0x6b, 0x53, 0x63, 0x72,
+	0x69, 0x70, 0x12, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x50, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x6f, 0x6f, 0x6b, 0x53, 0x63, 0x72, 0x69, 0x70, 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, 0x1f, 0x82, 0xd3,
+	0xe4, 0x93, 0x02, 0x19, 0x22, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f,
+	0x73, 0x63, 0x72, 0x69, 0x70, 0x2f, 0x6c, 0x6f, 0x6f, 0x6b, 0x3a, 0x01, 0x2a, 0x12, 0x6b, 0x0a,
+	0x13, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x4c, 0x6f, 0x6f, 0x6b,
+	0x42, 0x61, 0x63, 0x6b, 0x12, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
+	0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x15, 0x2e,
+	0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70,
+	0x49, 0x6e, 0x66, 0x6f, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61,
+	0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x2f, 0x6c, 0x6f,
+	0x6f, 0x6b, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x12, 0x6d, 0x0a, 0x10, 0x50, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x1b,
+	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53,
+	0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x61, 0x70,
+	0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x52, 0x65, 0x63,
+	0x6f, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22,
+	0x15, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70,
+	0x2f, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x3a, 0x01, 0x2a, 0x12, 0x53, 0x0a, 0x11, 0x55, 0x70, 0x64,
+	0x61, 0x74, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 0x12, 0x24,
+	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x70, 0x64, 0x61,
+	0x74, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 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, 0x63,
+	0x0a, 0x0d, 0x47, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x12,
+	0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+	0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68,
+	0x61, 0x74, 0x2e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x24, 0x82,
+	0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x22, 0x19, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72,
+	0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x2f, 0x67, 0x65, 0x74,
+	0x3a, 0x01, 0x2a, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 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, 0x75, 0x73, 0x65, 0x72, 0x3b, 0x75, 0x73,
+	0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 }
 
 var (
@@ -2245,7 +2245,7 @@ var file_user_proto_depIdxs = []int32{
 	4,  // 57: api.user.User.CreateScrip:input_type -> api.user.CreateScripRequest
 	3,  // 58: api.user.User.DeleteScrip:input_type -> api.user.DeleteScripRequest
 	2,  // 59: api.user.User.FindMyScrip:input_type -> api.user.UserFindScripRequest
-	46, // 60: api.user.User.FindUserScrip:input_type -> api.common.FindScripRequest
+	46, // 60: api.user.User.FindOtherScrip:input_type -> api.common.FindScripRequest
 	2,  // 61: api.user.User.FindRecommendScrip:input_type -> api.user.UserFindScripRequest
 	1,  // 62: api.user.User.PersonLookScrip:input_type -> api.user.PersonLookScripRequest
 	31, // 63: api.user.User.PersonClickLookBack:input_type -> api.common.PersonParam
@@ -2307,7 +2307,7 @@ var file_user_proto_depIdxs = []int32{
 	70, // 119: api.user.User.CreateScrip:output_type -> api.common.ScripID
 	25, // 120: api.user.User.DeleteScrip:output_type -> google.protobuf.Empty
 	71, // 121: api.user.User.FindMyScrip:output_type -> api.common.ScripReply
-	71, // 122: api.user.User.FindUserScrip:output_type -> api.common.ScripReply
+	71, // 122: api.user.User.FindOtherScrip:output_type -> api.common.ScripReply
 	71, // 123: api.user.User.FindRecommendScrip:output_type -> api.common.ScripReply
 	25, // 124: api.user.User.PersonLookScrip:output_type -> google.protobuf.Empty
 	72, // 125: api.user.User.PersonClickLookBack:output_type -> api.common.ScripInfo

+ 1 - 1
api/user/user.proto

@@ -367,7 +367,7 @@ service User {
     };
   };
   // 查询别人的小纸条
-  rpc FindUserScrip (common.FindScripRequest) returns (common.ScripReply){
+  rpc FindOtherScrip (common.FindScripRequest) returns (common.ScripReply){
     option (google.api.http) = {
       post: "/api/user/scrip/find/other",
       body:"*"

+ 12 - 12
api/user/user_grpc.pb.go

@@ -133,7 +133,7 @@ type UserClient interface {
 	// 查询自己的小纸条
 	FindMyScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
 	// 查询别人的小纸条
-	FindUserScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
+	FindOtherScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
 	// 查询随机纸条列表
 	FindRecommendScrip(ctx context.Context, in *UserFindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
 	// 用户查看纸条
@@ -651,9 +651,9 @@ func (c *userClient) FindMyScrip(ctx context.Context, in *UserFindScripRequest,
 	return out, nil
 }
 
-func (c *userClient) FindUserScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
+func (c *userClient) FindOtherScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
 	out := new(common.ScripReply)
-	err := c.cc.Invoke(ctx, "/api.user.User/FindUserScrip", in, out, opts...)
+	err := c.cc.Invoke(ctx, "/api.user.User/FindOtherScrip", in, out, opts...)
 	if err != nil {
 		return nil, err
 	}
@@ -829,7 +829,7 @@ type UserServer interface {
 	// 查询自己的小纸条
 	FindMyScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error)
 	// 查询别人的小纸条
-	FindUserScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
+	FindOtherScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
 	// 查询随机纸条列表
 	FindRecommendScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error)
 	// 用户查看纸条
@@ -1014,8 +1014,8 @@ func (UnimplementedUserServer) DeleteScrip(context.Context, *DeleteScripRequest)
 func (UnimplementedUserServer) FindMyScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindMyScrip not implemented")
 }
-func (UnimplementedUserServer) FindUserScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method FindUserScrip not implemented")
+func (UnimplementedUserServer) FindOtherScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method FindOtherScrip not implemented")
 }
 func (UnimplementedUserServer) FindRecommendScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindRecommendScrip not implemented")
@@ -2038,20 +2038,20 @@ func _User_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func(in
 	return interceptor(ctx, in, info, handler)
 }
 
-func _User_FindUserScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+func _User_FindOtherScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(common.FindScripRequest)
 	if err := dec(in); err != nil {
 		return nil, err
 	}
 	if interceptor == nil {
-		return srv.(UserServer).FindUserScrip(ctx, in)
+		return srv.(UserServer).FindOtherScrip(ctx, in)
 	}
 	info := &grpc.UnaryServerInfo{
 		Server:     srv,
-		FullMethod: "/api.user.User/FindUserScrip",
+		FullMethod: "/api.user.User/FindOtherScrip",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(UserServer).FindUserScrip(ctx, req.(*common.FindScripRequest))
+		return srv.(UserServer).FindOtherScrip(ctx, req.(*common.FindScripRequest))
 	}
 	return interceptor(ctx, in, info, handler)
 }
@@ -2392,8 +2392,8 @@ var User_ServiceDesc = grpc.ServiceDesc{
 			Handler:    _User_FindMyScrip_Handler,
 		},
 		{
-			MethodName: "FindUserScrip",
-			Handler:    _User_FindUserScrip_Handler,
+			MethodName: "FindOtherScrip",
+			Handler:    _User_FindOtherScrip_Handler,
 		},
 		{
 			MethodName: "FindRecommendScrip",

+ 19 - 19
api/user/user_http.pb.go

@@ -47,6 +47,7 @@ type UserHTTPServer interface {
 	FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
 	FindMyScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error)
 	FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error)
+	FindOtherScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
 	FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error)
 	FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
 	FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error)
@@ -54,7 +55,6 @@ type UserHTTPServer interface {
 	FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error)
 	FindRecommendScrip(context.Context, *UserFindScripRequest) (*common.ScripReply, error)
 	FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
-	FindUserScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
 	FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
 	GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error)
 	GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error)
@@ -136,7 +136,7 @@ func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer) {
 	r.POST("/api/user/scrip/create", _User_CreateScrip0_HTTP_Handler(srv))
 	r.POST("/api/user/scrip/delete", _User_DeleteScrip0_HTTP_Handler(srv))
 	r.POST("/api/user/scrip/find/self", _User_FindMyScrip0_HTTP_Handler(srv))
-	r.POST("/api/user/scrip/find/other", _User_FindUserScrip0_HTTP_Handler(srv))
+	r.POST("/api/user/scrip/find/other", _User_FindOtherScrip0_HTTP_Handler(srv))
 	r.POST("/api/user/scrip/find/recommend", _User_FindRecommendScrip0_HTTP_Handler(srv))
 	r.POST("/api/user/scrip/look", _User_PersonLookScrip0_HTTP_Handler(srv))
 	r.POST("/api/user/scrip/look/back", _User_PersonClickLookBack0_HTTP_Handler(srv))
@@ -1440,7 +1440,7 @@ func _User_FindMyScrip0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context)
 	}
 }
 
-func _User_FindUserScrip0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
+func _User_FindOtherScrip0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
 	return func(ctx http.Context) error {
 		var in common.FindScripRequest
 		if err := ctx.Bind(&in); err != nil {
@@ -1449,9 +1449,9 @@ func _User_FindUserScrip0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context
 		if err := ctx.BindQuery(&in); err != nil {
 			return err
 		}
-		http.SetOperation(ctx, "/api.user.User/FindUserScrip")
+		http.SetOperation(ctx, "/api.user.User/FindOtherScrip")
 		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
-			return srv.FindUserScrip(ctx, req.(*common.FindScripRequest))
+			return srv.FindOtherScrip(ctx, req.(*common.FindScripRequest))
 		})
 		out, err := h(ctx, &in)
 		if err != nil {
@@ -1620,6 +1620,7 @@ type UserHTTPClient interface {
 	FindMemeTitle(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.MemeTitleList, err error)
 	FindMyScrip(ctx context.Context, req *UserFindScripRequest, opts ...http.CallOption) (rsp *common.ScripReply, err error)
 	FindOnlineList(ctx context.Context, req *common.ListPage2Request, opts ...http.CallOption) (rsp *common.RecommendPersonListReply, err error)
+	FindOtherScrip(ctx context.Context, req *common.FindScripRequest, opts ...http.CallOption) (rsp *common.ScripReply, err error)
 	FindOverSevenDayAvatar(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.FindOverSevenDayAvatarReply, err error)
 	FindOverSevenDayRoomList(ctx context.Context, req *common.ListPageRequest, opts ...http.CallOption) (rsp *UserFindChatListReply, err error)
 	FindPayList(ctx context.Context, req *FindPayOrderListRequest, opts ...http.CallOption) (rsp *PayOrderList, err error)
@@ -1627,7 +1628,6 @@ type UserHTTPClient interface {
 	FindRecommendPersonList(ctx context.Context, req *FindRecommendPersonListRequest, opts ...http.CallOption) (rsp *common.RecommendPersonListReply, err error)
 	FindRecommendScrip(ctx context.Context, req *UserFindScripRequest, opts ...http.CallOption) (rsp *common.ScripReply, err error)
 	FindTagListBySex(ctx context.Context, req *common.SexReq, opts ...http.CallOption) (rsp *common.TagListReply, err error)
-	FindUserScrip(ctx context.Context, req *common.FindScripRequest, opts ...http.CallOption) (rsp *common.ScripReply, err error)
 	FindWithinSevenDayRoomList(ctx context.Context, req *common.ListPageRequest, opts ...http.CallOption) (rsp *UserFindChatListReply, err error)
 	GetLookAndLikeStatisticsMessage(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *statistics.LookAndLikeMessageReply, err error)
 	GetPartnerCircleInfo(ctx context.Context, req *KeyRequest, opts ...http.CallOption) (rsp *common.AddFriendMessageInfo, err error)
@@ -1888,6 +1888,19 @@ func (c *UserHTTPClientImpl) FindOnlineList(ctx context.Context, in *common.List
 	return &out, err
 }
 
+func (c *UserHTTPClientImpl) FindOtherScrip(ctx context.Context, in *common.FindScripRequest, opts ...http.CallOption) (*common.ScripReply, error) {
+	var out common.ScripReply
+	pattern := "/api/user/scrip/find/other"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.user.User/FindOtherScrip"))
+	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 *UserHTTPClientImpl) FindOverSevenDayAvatar(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*common.FindOverSevenDayAvatarReply, error) {
 	var out common.FindOverSevenDayAvatarReply
 	pattern := "/api/user/over/avatar/list"
@@ -1979,19 +1992,6 @@ func (c *UserHTTPClientImpl) FindTagListBySex(ctx context.Context, in *common.Se
 	return &out, err
 }
 
-func (c *UserHTTPClientImpl) FindUserScrip(ctx context.Context, in *common.FindScripRequest, opts ...http.CallOption) (*common.ScripReply, error) {
-	var out common.ScripReply
-	pattern := "/api/user/scrip/find/other"
-	path := binding.EncodeURL(pattern, in, false)
-	opts = append(opts, http.Operation("/api.user.User/FindUserScrip"))
-	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 *UserHTTPClientImpl) FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...http.CallOption) (*UserFindChatListReply, error) {
 	var out UserFindChatListReply
 	pattern := "/api/user/list/chat/within"

+ 26 - 4
js/api/common/common_pb.ts

@@ -586,11 +586,21 @@ export interface FindScripRequest{
     nextId?:number;
     offset?:number;
 }
+export interface FindOtherScripRequest{
+    personId?:string;
+    personType?:string;
+    myPersonId?:string;
+    myPersonType?:string;
+    nextId?:number;
+    offset?:number;
+}
 export interface ScripReply{
     list?:Array<ScripInfo>;
     nextId?:number;
 }
 export interface ScripInfo{
+    /**  纸条ID */
+    scripId?:number;
     /**  创建者ID */
     personId?:string;
     /**  创建者类型 */
@@ -603,14 +613,26 @@ export interface ScripInfo{
     personName?:string;
     /**  创建者性别 */
     personSex?:number;
+    /**  创建者性别 */
+    personAge?:number;
     /**  创建者头像 */
     personAvatar?:string;
-    /**  创建时间 */
-    createTime?:number;
-    /**  纸条ID */
-    scripId?:number;
     /**  回复数 */
     replyNum?:number;
+    /**  是否可以回复 */
+    isCanReply?:boolean;
+    /**  我的回复内容 */
+    myReply?:ScripReplyMessage;
+    /**  创建时间 */
+    createTime?:number;
+}
+export interface ScripReplyMessage{
+    /**  小纸条回复的类型 */
+    messageType?:string;
+    /**  小纸条回复的文本内容 */
+    scripContent?:string;
+    /**  小纸条回复的图片链接 */
+    scripPictureUrl?:string;
 }
 export interface DeleteScripRequest{
     id?:number;

+ 1 - 1
js/api/user/user_http_pb.ts

@@ -247,7 +247,7 @@ const UserService = {
     return res.data.data;
   },
   /**  查询别人的小纸条 */
-  FindUserScrip: async (req?: FindScripRequest) => {
+  FindOtherScrip: async (req?: FindScripRequest) => {
 	const res = await request.post<{ data: ScripReply, code: string, message: string }>('/api/user/scrip/find/other', req);
     return res.data.data;
   },