浏览代码

移除相关scrip

wfz 2 年之前
父节点
当前提交
c99f92fa41
共有 3 个文件被更改,包括 51 次插入435 次删除
  1. 51 115
      api/chat/chat.pb.go
  2. 0 16
      api/chat/chat.proto
  3. 0 304
      api/chat/chat_grpc.pb.go

+ 51 - 115
api/chat/chat.pb.go

@@ -2595,7 +2595,7 @@ var file_chat_proto_rawDesc = []byte{
 	0x6c, 0x69, 0x6b, 0x65, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
 	0x03, 0x52, 0x0b, 0x6c, 0x69, 0x6b, 0x65, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x16,
 	0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
-	0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32, 0xac, 0x1b, 0x0a, 0x04, 0x43, 0x68, 0x61, 0x74, 0x12,
+	0x72, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x32, 0xce, 0x16, 0x0a, 0x04, 0x43, 0x68, 0x61, 0x74, 0x12,
 	0x69, 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, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55,
@@ -2776,49 +2776,11 @@ var file_chat_proto_rawDesc = []byte{
 	0x61, 0x74, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f,
 	0x6f, 0x6d, 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, 0x44, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74,
-	0x65, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
-	0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52,
-	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
-	0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 0x22, 0x00, 0x12, 0x47, 0x0a,
-	0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x72, 0x69, 0x70, 0x12, 0x1e, 0x2e, 0x61,
-	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
-	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, 0x45, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x79,
-	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, 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, 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,
+	0x64, 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 (
@@ -2881,26 +2843,16 @@ var file_chat_proto_goTypes = []interface{}{
 	(*common.ManagerFindChatRecordListRequest)(nil),    // 43: api.common.ManagerFindChatRecordListRequest
 	(*common.ManagerFindReportListRequest)(nil),        // 44: api.common.ManagerFindReportListRequest
 	(*common.ManagerFindReportDetailsListRequest)(nil), // 45: api.common.ManagerFindReportDetailsListRequest
-	(*common.CreateScripRequest)(nil),                  // 46: api.common.CreateScripRequest
-	(*common.DeleteScripRequest)(nil),                  // 47: api.common.DeleteScripRequest
-	(*common.FindScripRequest)(nil),                    // 48: api.common.FindScripRequest
-	(*common.FindOtherScripRequest)(nil),               // 49: api.common.FindOtherScripRequest
-	(*common.PersonLookScripRequest)(nil),              // 50: api.common.PersonLookScripRequest
-	(*common.PersonParam)(nil),                         // 51: api.common.PersonParam
-	(*common.ReplyScripRequest)(nil),                   // 52: api.common.ReplyScripRequest
-	(*common.RecommendPersonListReply)(nil),            // 53: api.common.RecommendPersonListReply
-	(*common.ChatRecordListReply)(nil),                 // 54: api.common.ChatRecordListReply
-	(*common.ChatRoomMsg)(nil),                         // 55: api.common.ChatRoomMsg
-	(*common.RoomChatMsg)(nil),                         // 56: api.common.RoomChatMsg
-	(*common.GetMatchingPartnerInfoReply)(nil),         // 57: api.common.GetMatchingPartnerInfoReply
-	(*common.ManagerFindRoomListReply)(nil),            // 58: api.common.ManagerFindRoomListReply
-	(*common.ManagerFindReportListReply)(nil),          // 59: api.common.ManagerFindReportListReply
-	(*common.ManagerFindReportDetailsListReply)(nil),   // 60: api.common.ManagerFindReportDetailsListReply
-	(*common.SendMessageReply)(nil),                    // 61: api.common.SendMessageReply
-	(*common.ChatRecordInfo)(nil),                      // 62: api.common.ChatRecordInfo
-	(*common.ScripID)(nil),                             // 63: api.common.ScripID
-	(*common.ScripReply)(nil),                          // 64: api.common.ScripReply
-	(*common.ScripInfo)(nil),                           // 65: api.common.ScripInfo
+	(*common.RecommendPersonListReply)(nil),            // 46: api.common.RecommendPersonListReply
+	(*common.ChatRecordListReply)(nil),                 // 47: api.common.ChatRecordListReply
+	(*common.ChatRoomMsg)(nil),                         // 48: api.common.ChatRoomMsg
+	(*common.RoomChatMsg)(nil),                         // 49: api.common.RoomChatMsg
+	(*common.GetMatchingPartnerInfoReply)(nil),         // 50: api.common.GetMatchingPartnerInfoReply
+	(*common.ManagerFindRoomListReply)(nil),            // 51: api.common.ManagerFindRoomListReply
+	(*common.ManagerFindReportListReply)(nil),          // 52: api.common.ManagerFindReportListReply
+	(*common.ManagerFindReportDetailsListReply)(nil),   // 53: api.common.ManagerFindReportDetailsListReply
+	(*common.SendMessageReply)(nil),                    // 54: api.common.SendMessageReply
+	(*common.ChatRecordInfo)(nil),                      // 55: api.common.ChatRecordInfo
 }
 var file_chat_proto_depIdxs = []int32{
 	34, // 0: api.chat.ScripCreateRoomRequest.message:type_name -> api.common.Message
@@ -2940,57 +2892,41 @@ var file_chat_proto_depIdxs = []int32{
 	45, // 34: api.chat.Chat.ManagerFindReportDetailsList:input_type -> api.common.ManagerFindReportDetailsListRequest
 	1,  // 35: api.chat.Chat.SendMessage:input_type -> api.chat.SendMessageRequest
 	0,  // 36: api.chat.Chat.ScripCreateRoom:input_type -> api.chat.ScripCreateRoomRequest
-	46, // 37: api.chat.Chat.CreateScrip:input_type -> api.common.CreateScripRequest
-	47, // 38: api.chat.Chat.DeleteScrip:input_type -> api.common.DeleteScripRequest
-	48, // 39: api.chat.Chat.FindMyScrip:input_type -> api.common.FindScripRequest
-	49, // 40: api.chat.Chat.FindOtherScrip:input_type -> api.common.FindOtherScripRequest
-	48, // 41: api.chat.Chat.FindRecommendScrip:input_type -> api.common.FindScripRequest
-	50, // 42: api.chat.Chat.PersonLookScrip:input_type -> api.common.PersonLookScripRequest
-	51, // 43: api.chat.Chat.PersonClickLookBack:input_type -> api.common.PersonParam
-	52, // 44: api.chat.Chat.PersonReplyScrip:input_type -> api.common.ReplyScripRequest
-	26, // 45: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
-	27, // 46: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
-	53, // 47: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.RecommendPersonListReply
-	53, // 48: api.chat.Chat.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
-	20, // 49: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	17, // 50: api.chat.Chat.UserFindRoomList:output_type -> api.chat.UserFindRoomListReply
-	25, // 51: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
-	54, // 52: api.chat.Chat.FindChatRecordList:output_type -> api.common.ChatRecordListReply
-	55, // 53: api.chat.Chat.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
-	40, // 54: api.chat.Chat.SetBlackChat:output_type -> google.protobuf.Empty
-	40, // 55: api.chat.Chat.DeleteChat:output_type -> google.protobuf.Empty
-	40, // 56: api.chat.Chat.Report:output_type -> google.protobuf.Empty
-	56, // 57: api.chat.Chat.FindRoomCardMsg:output_type -> api.common.RoomChatMsg
-	30, // 58: api.chat.Chat.GetWindowInfo:output_type -> api.chat.WindowInfo
-	9,  // 59: api.chat.Chat.GetRandomMatching:output_type -> api.chat.GetRandomMatchingReply
-	57, // 60: api.chat.Chat.GetMatchingPartnerInfo:output_type -> api.common.GetMatchingPartnerInfoReply
-	57, // 61: api.chat.Chat.AccurateMatchingUserInfo:output_type -> api.common.GetMatchingPartnerInfoReply
-	40, // 62: api.chat.Chat.PartnerCollect:output_type -> google.protobuf.Empty
-	40, // 63: api.chat.Chat.PartnerDeleteCollect:output_type -> google.protobuf.Empty
-	54, // 64: api.chat.Chat.FindChatCollectList:output_type -> api.common.ChatRecordListReply
-	40, // 65: api.chat.Chat.UserUnlockVoice:output_type -> google.protobuf.Empty
-	40, // 66: api.chat.Chat.UserUnlockPicture:output_type -> google.protobuf.Empty
-	5,  // 67: api.chat.Chat.GetRoomProfit:output_type -> api.chat.GetRoomProfitReply
-	2,  // 68: api.chat.Chat.GetOnlinePersonNum:output_type -> api.chat.GetOnlinePersonNumReply
-	11, // 69: api.chat.Chat.FindUserAllUnreadNum:output_type -> api.chat.UnreadNumReply
-	18, // 70: api.chat.Chat.GetUserRoomByPerson:output_type -> api.chat.UserRoomInfo
-	19, // 71: api.chat.Chat.GetSuperLoveByPerson:output_type -> api.chat.UserSuperLoveInfo
-	58, // 72: api.chat.Chat.ManagerFindRoomList:output_type -> api.common.ManagerFindRoomListReply
-	54, // 73: api.chat.Chat.ManagerFindChatRecordList:output_type -> api.common.ChatRecordListReply
-	59, // 74: api.chat.Chat.ManagerFindReportList:output_type -> api.common.ManagerFindReportListReply
-	60, // 75: api.chat.Chat.ManagerFindReportDetailsList:output_type -> api.common.ManagerFindReportDetailsListReply
-	61, // 76: api.chat.Chat.SendMessage:output_type -> api.common.SendMessageReply
-	62, // 77: api.chat.Chat.ScripCreateRoom:output_type -> api.common.ChatRecordInfo
-	63, // 78: api.chat.Chat.CreateScrip:output_type -> api.common.ScripID
-	40, // 79: api.chat.Chat.DeleteScrip:output_type -> google.protobuf.Empty
-	64, // 80: api.chat.Chat.FindMyScrip:output_type -> api.common.ScripReply
-	64, // 81: api.chat.Chat.FindOtherScrip:output_type -> api.common.ScripReply
-	64, // 82: api.chat.Chat.FindRecommendScrip:output_type -> api.common.ScripReply
-	40, // 83: api.chat.Chat.PersonLookScrip:output_type -> google.protobuf.Empty
-	65, // 84: api.chat.Chat.PersonClickLookBack:output_type -> api.common.ScripInfo
-	62, // 85: api.chat.Chat.PersonReplyScrip:output_type -> api.common.ChatRecordInfo
-	45, // [45:86] is the sub-list for method output_type
-	4,  // [4:45] is the sub-list for method input_type
+	26, // 37: api.chat.Chat.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
+	27, // 38: api.chat.Chat.CreateChatRoom:output_type -> api.chat.RoomReply
+	46, // 39: api.chat.Chat.FindOnlinePersonList:output_type -> api.common.RecommendPersonListReply
+	46, // 40: api.chat.Chat.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
+	20, // 41: api.chat.Chat.PartnerFindRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	17, // 42: api.chat.Chat.UserFindRoomList:output_type -> api.chat.UserFindRoomListReply
+	25, // 43: api.chat.Chat.Receive:output_type -> api.chat.ReceiveReply
+	47, // 44: api.chat.Chat.FindChatRecordList:output_type -> api.common.ChatRecordListReply
+	48, // 45: api.chat.Chat.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
+	40, // 46: api.chat.Chat.SetBlackChat:output_type -> google.protobuf.Empty
+	40, // 47: api.chat.Chat.DeleteChat:output_type -> google.protobuf.Empty
+	40, // 48: api.chat.Chat.Report:output_type -> google.protobuf.Empty
+	49, // 49: api.chat.Chat.FindRoomCardMsg:output_type -> api.common.RoomChatMsg
+	30, // 50: api.chat.Chat.GetWindowInfo:output_type -> api.chat.WindowInfo
+	9,  // 51: api.chat.Chat.GetRandomMatching:output_type -> api.chat.GetRandomMatchingReply
+	50, // 52: api.chat.Chat.GetMatchingPartnerInfo:output_type -> api.common.GetMatchingPartnerInfoReply
+	50, // 53: api.chat.Chat.AccurateMatchingUserInfo:output_type -> api.common.GetMatchingPartnerInfoReply
+	40, // 54: api.chat.Chat.PartnerCollect:output_type -> google.protobuf.Empty
+	40, // 55: api.chat.Chat.PartnerDeleteCollect:output_type -> google.protobuf.Empty
+	47, // 56: api.chat.Chat.FindChatCollectList:output_type -> api.common.ChatRecordListReply
+	40, // 57: api.chat.Chat.UserUnlockVoice:output_type -> google.protobuf.Empty
+	40, // 58: api.chat.Chat.UserUnlockPicture:output_type -> google.protobuf.Empty
+	5,  // 59: api.chat.Chat.GetRoomProfit:output_type -> api.chat.GetRoomProfitReply
+	2,  // 60: api.chat.Chat.GetOnlinePersonNum:output_type -> api.chat.GetOnlinePersonNumReply
+	11, // 61: api.chat.Chat.FindUserAllUnreadNum:output_type -> api.chat.UnreadNumReply
+	18, // 62: api.chat.Chat.GetUserRoomByPerson:output_type -> api.chat.UserRoomInfo
+	19, // 63: api.chat.Chat.GetSuperLoveByPerson:output_type -> api.chat.UserSuperLoveInfo
+	51, // 64: api.chat.Chat.ManagerFindRoomList:output_type -> api.common.ManagerFindRoomListReply
+	47, // 65: api.chat.Chat.ManagerFindChatRecordList:output_type -> api.common.ChatRecordListReply
+	52, // 66: api.chat.Chat.ManagerFindReportList:output_type -> api.common.ManagerFindReportListReply
+	53, // 67: api.chat.Chat.ManagerFindReportDetailsList:output_type -> api.common.ManagerFindReportDetailsListReply
+	54, // 68: api.chat.Chat.SendMessage:output_type -> api.common.SendMessageReply
+	55, // 69: api.chat.Chat.ScripCreateRoom:output_type -> api.common.ChatRecordInfo
+	37, // [37:70] is the sub-list for method output_type
+	4,  // [4:37] is the sub-list for method input_type
 	4,  // [4:4] is the sub-list for extension type_name
 	4,  // [4:4] is the sub-list for extension extendee
 	0,  // [0:4] is the sub-list for field type_name

+ 0 - 16
api/chat/chat.proto

@@ -78,22 +78,6 @@ service Chat {
   rpc SendMessage (SendMessageRequest) returns (common.SendMessageReply){};
   // 小纸条创建房间
   rpc ScripCreateRoom (ScripCreateRoomRequest) returns (common.ChatRecordInfo){};
-  // 创建纸条
-  rpc CreateScrip (common.CreateScripRequest) returns (common.ScripID){};
-  // 删除纸条
-  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){};
-  // 用户查看纸条
-  rpc PersonLookScrip (common.PersonLookScripRequest) returns (google.protobuf.Empty){};
-  // 用户点击回看
-  rpc PersonClickLookBack (common.PersonParam) returns (common.ScripInfo){};
-  // 回复小纸条
-  rpc PersonReplyScrip (common.ReplyScripRequest) returns (common.ChatRecordInfo){};
 }
 
 message ScripCreateRoomRequest{

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

@@ -86,22 +86,6 @@ type ChatClient interface {
 	SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error)
 	// 小纸条创建房间
 	ScripCreateRoom(ctx context.Context, in *ScripCreateRoomRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
-	// 创建纸条
-	CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error)
-	// 删除纸条
-	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)
-	// 用户查看纸条
-	PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
-	// 用户点击回看
-	PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error)
-	// 回复小纸条
-	PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
 }
 
 type chatClient struct {
@@ -409,78 +393,6 @@ func (c *chatClient) ScripCreateRoom(ctx context.Context, in *ScripCreateRoomReq
 	return out, nil
 }
 
-func (c *chatClient) CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error) {
-	out := new(common.ScripID)
-	err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateScrip", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *chatClient) DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
-	out := new(emptypb.Empty)
-	err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteScrip", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *chatClient) FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
-	out := new(common.ScripReply)
-	err := c.cc.Invoke(ctx, "/api.chat.Chat/FindMyScrip", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	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...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *chatClient) PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
-	out := new(emptypb.Empty)
-	err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonLookScrip", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *chatClient) PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error) {
-	out := new(common.ScripInfo)
-	err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonClickLookBack", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
-func (c *chatClient) PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error) {
-	out := new(common.ChatRecordInfo)
-	err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonReplyScrip", in, out, opts...)
-	if err != nil {
-		return nil, err
-	}
-	return out, nil
-}
-
 // ChatServer is the server API for Chat service.
 // All implementations must embed UnimplementedChatServer
 // for forward compatibility
@@ -551,22 +463,6 @@ type ChatServer interface {
 	SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error)
 	// 小纸条创建房间
 	ScripCreateRoom(context.Context, *ScripCreateRoomRequest) (*common.ChatRecordInfo, error)
-	// 创建纸条
-	CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error)
-	// 删除纸条
-	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)
-	// 用户查看纸条
-	PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error)
-	// 用户点击回看
-	PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error)
-	// 回复小纸条
-	PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error)
 	mustEmbedUnimplementedChatServer()
 }
 
@@ -673,30 +569,6 @@ func (UnimplementedChatServer) SendMessage(context.Context, *SendMessageRequest)
 func (UnimplementedChatServer) ScripCreateRoom(context.Context, *ScripCreateRoomRequest) (*common.ChatRecordInfo, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method ScripCreateRoom not implemented")
 }
-func (UnimplementedChatServer) CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method CreateScrip not implemented")
-}
-func (UnimplementedChatServer) DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method DeleteScrip not implemented")
-}
-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")
-}
-func (UnimplementedChatServer) PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method PersonLookScrip not implemented")
-}
-func (UnimplementedChatServer) PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method PersonClickLookBack not implemented")
-}
-func (UnimplementedChatServer) PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error) {
-	return nil, status.Errorf(codes.Unimplemented, "method PersonReplyScrip not implemented")
-}
 func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
 
 // UnsafeChatServer may be embedded to opt out of forward compatibility for this service.
@@ -1304,150 +1176,6 @@ func _Chat_ScripCreateRoom_Handler(srv interface{}, ctx context.Context, dec fun
 	return interceptor(ctx, in, info, handler)
 }
 
-func _Chat_CreateScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.CreateScripRequest)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(ChatServer).CreateScrip(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.chat.Chat/CreateScrip",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(ChatServer).CreateScrip(ctx, req.(*common.CreateScripRequest))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Chat_DeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.DeleteScripRequest)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(ChatServer).DeleteScrip(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.chat.Chat/DeleteScrip",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(ChatServer).DeleteScrip(ctx, req.(*common.DeleteScripRequest))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Chat_FindMyScrip_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.(ChatServer).FindMyScrip(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.chat.Chat/FindMyScrip",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(ChatServer).FindMyScrip(ctx, req.(*common.FindScripRequest))
-	}
-	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 {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(ChatServer).FindRecommendScrip(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.chat.Chat/FindRecommendScrip",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(ChatServer).FindRecommendScrip(ctx, req.(*common.FindScripRequest))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Chat_PersonLookScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.PersonLookScripRequest)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(ChatServer).PersonLookScrip(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.chat.Chat/PersonLookScrip",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(ChatServer).PersonLookScrip(ctx, req.(*common.PersonLookScripRequest))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Chat_PersonClickLookBack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.PersonParam)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(ChatServer).PersonClickLookBack(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.chat.Chat/PersonClickLookBack",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(ChatServer).PersonClickLookBack(ctx, req.(*common.PersonParam))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
-func _Chat_PersonReplyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(common.ReplyScripRequest)
-	if err := dec(in); err != nil {
-		return nil, err
-	}
-	if interceptor == nil {
-		return srv.(ChatServer).PersonReplyScrip(ctx, in)
-	}
-	info := &grpc.UnaryServerInfo{
-		Server:     srv,
-		FullMethod: "/api.chat.Chat/PersonReplyScrip",
-	}
-	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(ChatServer).PersonReplyScrip(ctx, req.(*common.ReplyScripRequest))
-	}
-	return interceptor(ctx, in, info, handler)
-}
-
 // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service.
 // It's only intended for direct use with grpc.RegisterService,
 // and not to be introspected or modified (even as a copy)
@@ -1587,38 +1315,6 @@ var Chat_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "ScripCreateRoom",
 			Handler:    _Chat_ScripCreateRoom_Handler,
 		},
-		{
-			MethodName: "CreateScrip",
-			Handler:    _Chat_CreateScrip_Handler,
-		},
-		{
-			MethodName: "DeleteScrip",
-			Handler:    _Chat_DeleteScrip_Handler,
-		},
-		{
-			MethodName: "FindMyScrip",
-			Handler:    _Chat_FindMyScrip_Handler,
-		},
-		{
-			MethodName: "FindOtherScrip",
-			Handler:    _Chat_FindOtherScrip_Handler,
-		},
-		{
-			MethodName: "FindRecommendScrip",
-			Handler:    _Chat_FindRecommendScrip_Handler,
-		},
-		{
-			MethodName: "PersonLookScrip",
-			Handler:    _Chat_PersonLookScrip_Handler,
-		},
-		{
-			MethodName: "PersonClickLookBack",
-			Handler:    _Chat_PersonClickLookBack_Handler,
-		},
-		{
-			MethodName: "PersonReplyScrip",
-			Handler:    _Chat_PersonReplyScrip_Handler,
-		},
 	},
 	Streams:  []grpc.StreamDesc{},
 	Metadata: "chat.proto",