wfz 3 жил өмнө
parent
commit
30d96d1182

+ 96 - 23
api/common/common.pb.go

@@ -5182,6 +5182,61 @@ func (x *UpdateLastScripIDRequest) GetScripId() int64 {
 	return 0
 }
 
+type UpdateLastScripIDDBRequest struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	PersonId string `protobuf:"bytes,1,opt,name=personId,proto3" json:"personId"`
+	ScripId  int64  `protobuf:"varint,2,opt,name=scripId,proto3" json:"scripId"` // 纸条id
+}
+
+func (x *UpdateLastScripIDDBRequest) Reset() {
+	*x = UpdateLastScripIDDBRequest{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[72]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *UpdateLastScripIDDBRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*UpdateLastScripIDDBRequest) ProtoMessage() {}
+
+func (x *UpdateLastScripIDDBRequest) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[72]
+	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 UpdateLastScripIDDBRequest.ProtoReflect.Descriptor instead.
+func (*UpdateLastScripIDDBRequest) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{72}
+}
+
+func (x *UpdateLastScripIDDBRequest) GetPersonId() string {
+	if x != nil {
+		return x.PersonId
+	}
+	return ""
+}
+
+func (x *UpdateLastScripIDDBRequest) GetScripId() int64 {
+	if x != nil {
+		return x.ScripId
+	}
+	return 0
+}
+
 type MatchingRequest struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache
@@ -5197,7 +5252,7 @@ type MatchingRequest struct {
 func (x *MatchingRequest) Reset() {
 	*x = MatchingRequest{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_common_proto_msgTypes[72]
+		mi := &file_common_proto_msgTypes[73]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -5210,7 +5265,7 @@ func (x *MatchingRequest) String() string {
 func (*MatchingRequest) ProtoMessage() {}
 
 func (x *MatchingRequest) ProtoReflect() protoreflect.Message {
-	mi := &file_common_proto_msgTypes[72]
+	mi := &file_common_proto_msgTypes[73]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -5223,7 +5278,7 @@ func (x *MatchingRequest) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use MatchingRequest.ProtoReflect.Descriptor instead.
 func (*MatchingRequest) Descriptor() ([]byte, []int) {
-	return file_common_proto_rawDescGZIP(), []int{72}
+	return file_common_proto_rawDescGZIP(), []int{73}
 }
 
 func (x *MatchingRequest) GetPersonId() string {
@@ -5886,23 +5941,28 @@ var file_common_proto_rawDesc = []byte{
 	0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x34, 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, 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, 0x22, 0xa7, 0x01, 0x0a,
-	0x0f, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 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,
-	0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
-	0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03,
-	0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x26,
-	0x0a, 0x0e, 0x69, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x78,
-	0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x43, 0x68,
-	0x65, 0x63, 0x6b, 0x53, 0x65, 0x78, 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,
+	0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x1a,
+	0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49,
+	0x44, 0x44, 0x42, 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,
+	0x22, 0xa7, 0x01, 0x0a, 0x0f, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 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, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x03,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64,
+	0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73,
+	0x65, 0x78, 0x12, 0x26, 0x0a, 0x0e, 0x69, 0x73, 0x4e, 0x65, 0x65, 0x64, 0x43, 0x68, 0x65, 0x63,
+	0x6b, 0x53, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x4e, 0x65,
+	0x65, 0x64, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x65, 0x78, 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 (
@@ -5917,7 +5977,7 @@ func file_common_proto_rawDescGZIP() []byte {
 	return file_common_proto_rawDescData
 }
 
-var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 73)
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 74)
 var file_common_proto_goTypes = []interface{}{
 	(*UserAndPartnerIdentifyIdParam)(nil), // 0: api.common.UserAndPartnerIdentifyIdParam
 	(*UserAndPartnerParam)(nil),           // 1: api.common.UserAndPartnerParam
@@ -5991,7 +6051,8 @@ var file_common_proto_goTypes = []interface{}{
 	(*ScripID)(nil),                       // 69: api.common.ScripID
 	(*ReplyScripRequest)(nil),             // 70: api.common.ReplyScripRequest
 	(*UpdateLastScripIDRequest)(nil),      // 71: api.common.UpdateLastScripIDRequest
-	(*MatchingRequest)(nil),               // 72: api.common.MatchingRequest
+	(*UpdateLastScripIDDBRequest)(nil),    // 72: api.common.UpdateLastScripIDDBRequest
+	(*MatchingRequest)(nil),               // 73: api.common.MatchingRequest
 }
 var file_common_proto_depIdxs = []int32{
 	29, // 0: api.common.ChatCardInfo.tagList:type_name -> api.common.TagList
@@ -6885,6 +6946,18 @@ func file_common_proto_init() {
 			}
 		}
 		file_common_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*UpdateLastScripIDDBRequest); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_common_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} {
 			switch v := v.(*MatchingRequest); i {
 			case 0:
 				return &v.state
@@ -6903,7 +6976,7 @@ func file_common_proto_init() {
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: file_common_proto_rawDesc,
 			NumEnums:      0,
-			NumMessages:   73,
+			NumMessages:   74,
 			NumExtensions: 0,
 			NumServices:   0,
 		},

+ 5 - 0
api/common/common.proto

@@ -523,6 +523,11 @@ message UpdateLastScripIDRequest{
   int64 scripId = 2;// 纸条id
 }
 
+message UpdateLastScripIDDBRequest{
+  string personId = 1;
+  int64 scripId = 2;// 纸条id
+}
+
 message MatchingRequest{
   string personId = 1; // 查询目标的ID
   string personType = 2; // 类型

+ 93 - 84
api/partner/partner.pb.go

@@ -1271,7 +1271,7 @@ var file_partner_proto_rawDesc = []byte{
 	0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x57, 0x69, 0x74, 0x68, 0x64,
 	0x72, 0x61, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x65,
 	0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
-	0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x32, 0xf3, 0x28, 0x0a, 0x07, 0x50,
+	0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x32, 0xcc, 0x29, 0x0a, 0x07, 0x50,
 	0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x60, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72,
 	0x74, 0x6e, 0x65, 0x72, 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,
@@ -1593,17 +1593,23 @@ var file_partner_proto_rawDesc = []byte{
 	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
 	0x74, 0x79, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x1e, 0x2f, 0x61, 0x70, 0x69,
 	0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x2f, 0x6c,
-	0x61, 0x73, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x51, 0x0a,
-	0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x4c, 0x61,
-	0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x2e, 0x61, 0x70,
-	0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49,
-	0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
-	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00,
-	0x42, 0x46, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x50,
-	0x01, 0x5a, 0x35, 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, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72,
-	0x3b, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+	0x61, 0x73, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x57, 0x0a,
+	0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70,
+	0x49, 0x44, 0x44, 0x42, 0x12, 0x26, 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, 0x44, 0x42, 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, 0x51, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+	0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x4c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
+	0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
+	0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a,
+	0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+	0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x46, 0x0a, 0x0b, 0x61, 0x70, 0x69,
+	0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x50, 0x01, 0x5a, 0x35, 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, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x3b, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65,
+	0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 }
 
 var (
@@ -1658,28 +1664,29 @@ var file_partner_proto_goTypes = []interface{}{
 	(*common.ReportChatRequest)(nil),           // 35: api.common.ReportChatRequest
 	(*common.FindRecommendRequest)(nil),        // 36: api.common.FindRecommendRequest
 	(*common.UpdateLastScripIDRequest)(nil),    // 37: api.common.UpdateLastScripIDRequest
-	(*common.PersonMsg)(nil),                   // 38: api.common.PersonMsg
-	(*statistics.LookMessageReply)(nil),        // 39: api.statistics.LookMessageReply
-	(*common.AddFriendMessageInfo)(nil),        // 40: api.common.AddFriendMessageInfo
-	(*common.HomeInfo)(nil),                    // 41: api.common.HomeInfo
-	(*common.LookedAndLikedNum)(nil),           // 42: api.common.LookedAndLikedNum
-	(*statistics.LookAndLikeListReply)(nil),    // 43: api.statistics.LookAndLikeListReply
-	(*common.PersonDBReply)(nil),               // 44: api.common.PersonDBReply
-	(*common.WxConfResponse)(nil),              // 45: api.common.WxConfResponse
-	(*chat.RoomReply)(nil),                     // 46: api.chat.RoomReply
-	(*common.TagListReply)(nil),                // 47: api.common.TagListReply
-	(*common.RecommendPersonListReply)(nil),    // 48: api.common.RecommendPersonListReply
-	(*chat.PartnerFindRoomListReply)(nil),      // 49: api.chat.PartnerFindRoomListReply
-	(*common.ChatRecordListReply)(nil),         // 50: api.common.ChatRecordListReply
-	(*common.ChatRoomMsg)(nil),                 // 51: api.common.ChatRoomMsg
-	(*common.IsLike)(nil),                      // 52: api.common.IsLike
-	(*common.MemeList)(nil),                    // 53: api.common.MemeList
-	(*common.ChatTopicList)(nil),               // 54: api.common.ChatTopicList
-	(*common.CommonTextList)(nil),              // 55: api.common.CommonTextList
-	(*common.MemeTitleList)(nil),               // 56: api.common.MemeTitleList
-	(*common.PartnerChatCardInfo)(nil),         // 57: api.common.PartnerChatCardInfo
-	(*common.FindOverSevenDayAvatarReply)(nil), // 58: api.common.FindOverSevenDayAvatarReply
-	(*chat.FindNotReplyNumReply)(nil),          // 59: api.chat.FindNotReplyNumReply
+	(*common.UpdateLastScripIDDBRequest)(nil),  // 38: api.common.UpdateLastScripIDDBRequest
+	(*common.PersonMsg)(nil),                   // 39: api.common.PersonMsg
+	(*statistics.LookMessageReply)(nil),        // 40: api.statistics.LookMessageReply
+	(*common.AddFriendMessageInfo)(nil),        // 41: api.common.AddFriendMessageInfo
+	(*common.HomeInfo)(nil),                    // 42: api.common.HomeInfo
+	(*common.LookedAndLikedNum)(nil),           // 43: api.common.LookedAndLikedNum
+	(*statistics.LookAndLikeListReply)(nil),    // 44: api.statistics.LookAndLikeListReply
+	(*common.PersonDBReply)(nil),               // 45: api.common.PersonDBReply
+	(*common.WxConfResponse)(nil),              // 46: api.common.WxConfResponse
+	(*chat.RoomReply)(nil),                     // 47: api.chat.RoomReply
+	(*common.TagListReply)(nil),                // 48: api.common.TagListReply
+	(*common.RecommendPersonListReply)(nil),    // 49: api.common.RecommendPersonListReply
+	(*chat.PartnerFindRoomListReply)(nil),      // 50: api.chat.PartnerFindRoomListReply
+	(*common.ChatRecordListReply)(nil),         // 51: api.common.ChatRecordListReply
+	(*common.ChatRoomMsg)(nil),                 // 52: api.common.ChatRoomMsg
+	(*common.IsLike)(nil),                      // 53: api.common.IsLike
+	(*common.MemeList)(nil),                    // 54: api.common.MemeList
+	(*common.ChatTopicList)(nil),               // 55: api.common.ChatTopicList
+	(*common.CommonTextList)(nil),              // 56: api.common.CommonTextList
+	(*common.MemeTitleList)(nil),               // 57: api.common.MemeTitleList
+	(*common.PartnerChatCardInfo)(nil),         // 58: api.common.PartnerChatCardInfo
+	(*common.FindOverSevenDayAvatarReply)(nil), // 59: api.common.FindOverSevenDayAvatarReply
+	(*chat.FindNotReplyNumReply)(nil),          // 60: api.chat.FindNotReplyNumReply
 }
 var file_partner_proto_depIdxs = []int32{
 	1,  // 0: api.partner.PartnerWithdrawRecordListReply.list:type_name -> api.partner.WithdrawInfo
@@ -1731,56 +1738,58 @@ var file_partner_proto_depIdxs = []int32{
 	16, // 46: api.partner.Partner.PartnerWithdrawTemplateList:input_type -> google.protobuf.Empty
 	23, // 47: api.partner.Partner.PartnerWithdrawRecordList:input_type -> api.common.ListPageRequest
 	37, // 48: api.partner.Partner.UpdateLastScripID:input_type -> api.common.UpdateLastScripIDRequest
-	18, // 49: api.partner.Partner.UpdatePartnerLastLoginTime:input_type -> api.common.PersonIDParam
-	9,  // 50: api.partner.Partner.GetPartnerInfo:output_type -> api.partner.PartnerInfo
-	11, // 51: api.partner.Partner.GetPartnerBalance:output_type -> api.partner.PartnerBalance
-	12, // 52: api.partner.Partner.GetPartnerDBBalance:output_type -> api.partner.PartnerDBBalance
-	38, // 53: api.partner.Partner.GetPartnerDBMsg:output_type -> api.common.PersonMsg
-	10, // 54: api.partner.Partner.GetPartnerMessage:output_type -> api.partner.PartnerMessage
-	39, // 55: api.partner.Partner.GetPartnerLookNum:output_type -> api.statistics.LookMessageReply
-	16, // 56: api.partner.Partner.SendPhoneCode:output_type -> google.protobuf.Empty
-	16, // 57: api.partner.Partner.CheckPhoneCode:output_type -> google.protobuf.Empty
-	40, // 58: api.partner.Partner.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
-	16, // 59: api.partner.Partner.UpdatePartnerInformation:output_type -> google.protobuf.Empty
-	13, // 60: api.partner.Partner.GetRandomPartnerInfo:output_type -> api.partner.RandomPartnerInfo
-	41, // 61: api.partner.Partner.PartnerGetHomeInfo:output_type -> api.common.HomeInfo
-	42, // 62: api.partner.Partner.PartnerGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
-	43, // 63: api.partner.Partner.FindLookList:output_type -> api.statistics.LookAndLikeListReply
-	44, // 64: api.partner.Partner.FindPartnerDBList:output_type -> api.common.PersonDBReply
-	45, // 65: api.partner.Partner.WxConf:output_type -> api.common.WxConfResponse
-	46, // 66: api.partner.Partner.CreateUserPartnerRoom:output_type -> api.chat.RoomReply
-	47, // 67: api.partner.Partner.FindTagListBySex:output_type -> api.common.TagListReply
-	48, // 68: api.partner.Partner.FindOnlineList:output_type -> api.common.RecommendPersonListReply
-	49, // 69: api.partner.Partner.FindUnReplyRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	49, // 70: api.partner.Partner.FindWithinSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	49, // 71: api.partner.Partner.FindOverSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
-	50, // 72: api.partner.Partner.FindChatRecordList:output_type -> api.common.ChatRecordListReply
-	51, // 73: api.partner.Partner.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
-	16, // 74: api.partner.Partner.AddPartnerBalance:output_type -> google.protobuf.Empty
-	6,  // 75: api.partner.Partner.GetLevelBalanceTable:output_type -> api.partner.LevelTable
-	52, // 76: api.partner.Partner.GetPartnerIsLike:output_type -> api.common.IsLike
-	53, // 77: api.partner.Partner.FindMemeByType:output_type -> api.common.MemeList
-	54, // 78: api.partner.Partner.FindChatTopic:output_type -> api.common.ChatTopicList
-	55, // 79: api.partner.Partner.RandomMeme:output_type -> api.common.CommonTextList
-	55, // 80: api.partner.Partner.RandomSwiftMessage:output_type -> api.common.CommonTextList
-	56, // 81: api.partner.Partner.FindMemeTitle:output_type -> api.common.MemeTitleList
-	57, // 82: api.partner.Partner.PartnerGetChatCard:output_type -> api.common.PartnerChatCardInfo
-	56, // 83: api.partner.Partner.FindChatTopicTitle:output_type -> api.common.MemeTitleList
-	16, // 84: api.partner.Partner.PartnerLike:output_type -> google.protobuf.Empty
-	16, // 85: api.partner.Partner.PartnerUnLike:output_type -> google.protobuf.Empty
-	16, // 86: api.partner.Partner.Report:output_type -> google.protobuf.Empty
-	16, // 87: api.partner.Partner.PartnerGetAward:output_type -> google.protobuf.Empty
-	16, // 88: api.partner.Partner.PartnerUpdateWorkingStatus:output_type -> google.protobuf.Empty
-	44, // 89: api.partner.Partner.FindRecommendPartnerDBList:output_type -> api.common.PersonDBReply
-	58, // 90: api.partner.Partner.FindOverSevenDayAvatar:output_type -> api.common.FindOverSevenDayAvatarReply
-	59, // 91: api.partner.Partner.FindNotReplyNum:output_type -> api.chat.FindNotReplyNumReply
-	16, // 92: api.partner.Partner.PartnerApplyWithdraw:output_type -> google.protobuf.Empty
-	2,  // 93: api.partner.Partner.PartnerWithdrawTemplateList:output_type -> api.partner.PartnerWithdrawTemplateListReply
-	0,  // 94: api.partner.Partner.PartnerWithdrawRecordList:output_type -> api.partner.PartnerWithdrawRecordListReply
-	16, // 95: api.partner.Partner.UpdateLastScripID:output_type -> google.protobuf.Empty
-	16, // 96: api.partner.Partner.UpdatePartnerLastLoginTime:output_type -> google.protobuf.Empty
-	50, // [50:97] is the sub-list for method output_type
-	3,  // [3:50] is the sub-list for method input_type
+	38, // 49: api.partner.Partner.UpdateLastScripIDDB:input_type -> api.common.UpdateLastScripIDDBRequest
+	18, // 50: api.partner.Partner.UpdatePartnerLastLoginTime:input_type -> api.common.PersonIDParam
+	9,  // 51: api.partner.Partner.GetPartnerInfo:output_type -> api.partner.PartnerInfo
+	11, // 52: api.partner.Partner.GetPartnerBalance:output_type -> api.partner.PartnerBalance
+	12, // 53: api.partner.Partner.GetPartnerDBBalance:output_type -> api.partner.PartnerDBBalance
+	39, // 54: api.partner.Partner.GetPartnerDBMsg:output_type -> api.common.PersonMsg
+	10, // 55: api.partner.Partner.GetPartnerMessage:output_type -> api.partner.PartnerMessage
+	40, // 56: api.partner.Partner.GetPartnerLookNum:output_type -> api.statistics.LookMessageReply
+	16, // 57: api.partner.Partner.SendPhoneCode:output_type -> google.protobuf.Empty
+	16, // 58: api.partner.Partner.CheckPhoneCode:output_type -> google.protobuf.Empty
+	41, // 59: api.partner.Partner.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
+	16, // 60: api.partner.Partner.UpdatePartnerInformation:output_type -> google.protobuf.Empty
+	13, // 61: api.partner.Partner.GetRandomPartnerInfo:output_type -> api.partner.RandomPartnerInfo
+	42, // 62: api.partner.Partner.PartnerGetHomeInfo:output_type -> api.common.HomeInfo
+	43, // 63: api.partner.Partner.PartnerGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
+	44, // 64: api.partner.Partner.FindLookList:output_type -> api.statistics.LookAndLikeListReply
+	45, // 65: api.partner.Partner.FindPartnerDBList:output_type -> api.common.PersonDBReply
+	46, // 66: api.partner.Partner.WxConf:output_type -> api.common.WxConfResponse
+	47, // 67: api.partner.Partner.CreateUserPartnerRoom:output_type -> api.chat.RoomReply
+	48, // 68: api.partner.Partner.FindTagListBySex:output_type -> api.common.TagListReply
+	49, // 69: api.partner.Partner.FindOnlineList:output_type -> api.common.RecommendPersonListReply
+	50, // 70: api.partner.Partner.FindUnReplyRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	50, // 71: api.partner.Partner.FindWithinSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	50, // 72: api.partner.Partner.FindOverSevenDayRoomList:output_type -> api.chat.PartnerFindRoomListReply
+	51, // 73: api.partner.Partner.FindChatRecordList:output_type -> api.common.ChatRecordListReply
+	52, // 74: api.partner.Partner.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
+	16, // 75: api.partner.Partner.AddPartnerBalance:output_type -> google.protobuf.Empty
+	6,  // 76: api.partner.Partner.GetLevelBalanceTable:output_type -> api.partner.LevelTable
+	53, // 77: api.partner.Partner.GetPartnerIsLike:output_type -> api.common.IsLike
+	54, // 78: api.partner.Partner.FindMemeByType:output_type -> api.common.MemeList
+	55, // 79: api.partner.Partner.FindChatTopic:output_type -> api.common.ChatTopicList
+	56, // 80: api.partner.Partner.RandomMeme:output_type -> api.common.CommonTextList
+	56, // 81: api.partner.Partner.RandomSwiftMessage:output_type -> api.common.CommonTextList
+	57, // 82: api.partner.Partner.FindMemeTitle:output_type -> api.common.MemeTitleList
+	58, // 83: api.partner.Partner.PartnerGetChatCard:output_type -> api.common.PartnerChatCardInfo
+	57, // 84: api.partner.Partner.FindChatTopicTitle:output_type -> api.common.MemeTitleList
+	16, // 85: api.partner.Partner.PartnerLike:output_type -> google.protobuf.Empty
+	16, // 86: api.partner.Partner.PartnerUnLike:output_type -> google.protobuf.Empty
+	16, // 87: api.partner.Partner.Report:output_type -> google.protobuf.Empty
+	16, // 88: api.partner.Partner.PartnerGetAward:output_type -> google.protobuf.Empty
+	16, // 89: api.partner.Partner.PartnerUpdateWorkingStatus:output_type -> google.protobuf.Empty
+	45, // 90: api.partner.Partner.FindRecommendPartnerDBList:output_type -> api.common.PersonDBReply
+	59, // 91: api.partner.Partner.FindOverSevenDayAvatar:output_type -> api.common.FindOverSevenDayAvatarReply
+	60, // 92: api.partner.Partner.FindNotReplyNum:output_type -> api.chat.FindNotReplyNumReply
+	16, // 93: api.partner.Partner.PartnerApplyWithdraw:output_type -> google.protobuf.Empty
+	2,  // 94: api.partner.Partner.PartnerWithdrawTemplateList:output_type -> api.partner.PartnerWithdrawTemplateListReply
+	0,  // 95: api.partner.Partner.PartnerWithdrawRecordList:output_type -> api.partner.PartnerWithdrawRecordListReply
+	16, // 96: api.partner.Partner.UpdateLastScripID:output_type -> google.protobuf.Empty
+	16, // 97: api.partner.Partner.UpdateLastScripIDDB:output_type -> google.protobuf.Empty
+	16, // 98: api.partner.Partner.UpdatePartnerLastLoginTime:output_type -> google.protobuf.Empty
+	51, // [51:99] is the sub-list for method output_type
+	3,  // [3:51] is the sub-list for method input_type
 	3,  // [3:3] is the sub-list for extension type_name
 	3,  // [3:3] is the sub-list for extension extendee
 	0,  // [0:3] is the sub-list for field type_name

+ 2 - 0
api/partner/partner.proto

@@ -305,6 +305,8 @@ service Partner {
       body:"*"
     };
   };
+  // 对内更新
+  rpc UpdateLastScripIDDB (common.UpdateLastScripIDDBRequest) returns (google.protobuf.Empty){};
   // 更新上次登录时间
   rpc UpdatePartnerLastLoginTime (common.PersonIDParam) returns (google.protobuf.Empty){};
 }

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

@@ -118,6 +118,8 @@ type PartnerClient interface {
 	PartnerWithdrawRecordList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*PartnerWithdrawRecordListReply, error)
 	// 更新上次访问的小纸条
 	UpdateLastScripID(ctx context.Context, in *common.UpdateLastScripIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
+	// 对内更新
+	UpdateLastScripIDDB(ctx context.Context, in *common.UpdateLastScripIDDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	// 更新上次登录时间
 	UpdatePartnerLastLoginTime(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
 }
@@ -544,6 +546,15 @@ func (c *partnerClient) UpdateLastScripID(ctx context.Context, in *common.Update
 	return out, nil
 }
 
+func (c *partnerClient) UpdateLastScripIDDB(ctx context.Context, in *common.UpdateLastScripIDDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+	out := new(emptypb.Empty)
+	err := c.cc.Invoke(ctx, "/api.partner.Partner/UpdateLastScripIDDB", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 func (c *partnerClient) UpdatePartnerLastLoginTime(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
 	out := new(emptypb.Empty)
 	err := c.cc.Invoke(ctx, "/api.partner.Partner/UpdatePartnerLastLoginTime", in, out, opts...)
@@ -653,6 +664,8 @@ type PartnerServer interface {
 	PartnerWithdrawRecordList(context.Context, *common.ListPageRequest) (*PartnerWithdrawRecordListReply, error)
 	// 更新上次访问的小纸条
 	UpdateLastScripID(context.Context, *common.UpdateLastScripIDRequest) (*emptypb.Empty, error)
+	// 对内更新
+	UpdateLastScripIDDB(context.Context, *common.UpdateLastScripIDDBRequest) (*emptypb.Empty, error)
 	// 更新上次登录时间
 	UpdatePartnerLastLoginTime(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
 	mustEmbedUnimplementedPartnerServer()
@@ -800,6 +813,9 @@ func (UnimplementedPartnerServer) PartnerWithdrawRecordList(context.Context, *co
 func (UnimplementedPartnerServer) UpdateLastScripID(context.Context, *common.UpdateLastScripIDRequest) (*emptypb.Empty, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method UpdateLastScripID not implemented")
 }
+func (UnimplementedPartnerServer) UpdateLastScripIDDB(context.Context, *common.UpdateLastScripIDDBRequest) (*emptypb.Empty, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method UpdateLastScripIDDB not implemented")
+}
 func (UnimplementedPartnerServer) UpdatePartnerLastLoginTime(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method UpdatePartnerLastLoginTime not implemented")
 }
@@ -1644,6 +1660,24 @@ func _Partner_UpdateLastScripID_Handler(srv interface{}, ctx context.Context, de
 	return interceptor(ctx, in, info, handler)
 }
 
+func _Partner_UpdateLastScripIDDB_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(common.UpdateLastScripIDDBRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(PartnerServer).UpdateLastScripIDDB(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.partner.Partner/UpdateLastScripIDDB",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(PartnerServer).UpdateLastScripIDDB(ctx, req.(*common.UpdateLastScripIDDBRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 func _Partner_UpdatePartnerLastLoginTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(common.PersonIDParam)
 	if err := dec(in); err != nil {
@@ -1853,6 +1887,10 @@ var Partner_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "UpdateLastScripID",
 			Handler:    _Partner_UpdateLastScripID_Handler,
 		},
+		{
+			MethodName: "UpdateLastScripIDDB",
+			Handler:    _Partner_UpdateLastScripIDDB_Handler,
+		},
 		{
 			MethodName: "UpdatePartnerLastLoginTime",
 			Handler:    _Partner_UpdatePartnerLastLoginTime_Handler,

+ 141 - 132
api/user/user.pb.go

@@ -1745,7 +1745,7 @@ var file_user_proto_rawDesc = []byte{
 	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, 0xe1, 0x37, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x7e,
+	0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0xba, 0x38, 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, 0x72,
@@ -2167,35 +2167,41 @@ var file_user_proto_rawDesc = []byte{
 	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x26, 0x82, 0xd3, 0xe4,
 	0x93, 0x02, 0x20, 0x22, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x73,
 	0x63, 0x72, 0x69, 0x70, 0x2f, 0x6c, 0x61, 0x73, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
-	0x3a, 0x01, 0x2a, 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, 0x12, 0x5e, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55,
-	0x73, 0x65, 0x72, 0x46, 0x72, 0x65, 0x65, 0x4e, 0x75, 0x6d, 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, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73,
-	0x65, 0x72, 0x46, 0x72, 0x65, 0x65, 0x4e, 0x75, 0x6d, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02,
-	0x17, 0x22, 0x12, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x66, 0x72, 0x65,
-	0x65, 0x2f, 0x6e, 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x12, 0x6f, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52,
-	0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x2e,
-	0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65,
-	0x71, 0x1a, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x47, 0x65, 0x74,
-	0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 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, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x6d, 0x61,
-	0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0x4e, 0x0a, 0x17, 0x55, 0x70, 0x64,
-	0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
-	0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
-	0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a,
-	0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
-	0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 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,
+	0x3a, 0x01, 0x2a, 0x12, 0x57, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x73,
+	0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x44, 0x44, 0x42, 0x12, 0x26, 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, 0x44, 0x42, 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, 0x12, 0x5e, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x65, 0x65,
+	0x4e, 0x75, 0x6d, 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, 0x15, 0x2e, 0x61, 0x70,
+	0x69, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x65, 0x65, 0x4e,
+	0x75, 0x6d, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x22, 0x12, 0x2f, 0x61, 0x70, 0x69,
+	0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x2f, 0x6e, 0x75, 0x6d, 0x3a, 0x01,
+	0x2a, 0x12, 0x6f, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4d, 0x61,
+	0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d,
+	0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x61, 0x70, 0x69,
+	0x2e, 0x63, 0x68, 0x61, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4d,
+	0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 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,
+	0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x3a,
+	0x01, 0x2a, 0x12, 0x4e, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
+	0x4c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x2e,
+	0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f,
+	0x6e, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
+	0x22, 0x00, 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 (
@@ -2261,34 +2267,35 @@ var file_user_proto_goTypes = []interface{}{
 	(*common.FindRecommendRequest)(nil),              // 46: api.common.FindRecommendRequest
 	(*common.FindScripRequest)(nil),                  // 47: api.common.FindScripRequest
 	(*common.UpdateLastScripIDRequest)(nil),          // 48: api.common.UpdateLastScripIDRequest
-	(*common.PersonMsg)(nil),                         // 49: api.common.PersonMsg
-	(*chat.CheckUserPartnerIsRelationshipReply)(nil), // 50: api.chat.CheckUserPartnerIsRelationshipReply
-	(*chat.RoomReply)(nil),                           // 51: api.chat.RoomReply
-	(*common.AddFriendMessageInfo)(nil),              // 52: api.common.AddFriendMessageInfo
-	(*common.HomeInfo)(nil),                          // 53: api.common.HomeInfo
-	(*common.PersonDBReply)(nil),                     // 54: api.common.PersonDBReply
-	(*statistics.LookAndLikeListReply)(nil),          // 55: api.statistics.LookAndLikeListReply
-	(*statistics.LookAndLikeMessageReply)(nil),       // 56: api.statistics.LookAndLikeMessageReply
-	(*common.WxConfResponse)(nil),                    // 57: api.common.WxConfResponse
-	(*common.TagListReply)(nil),                      // 58: api.common.TagListReply
-	(*common.RecommendPersonListReply)(nil),          // 59: api.common.RecommendPersonListReply
-	(*common.LookedAndLikedNum)(nil),                 // 60: api.common.LookedAndLikedNum
-	(*statistics.LookMessageReply)(nil),              // 61: api.statistics.LookMessageReply
-	(*common.ChatRecordListReply)(nil),               // 62: api.common.ChatRecordListReply
-	(*common.ChatRoomMsg)(nil),                       // 63: api.common.ChatRoomMsg
-	(*common.IsLike)(nil),                            // 64: api.common.IsLike
-	(*common.ChatCardInfo)(nil),                      // 65: api.common.ChatCardInfo
-	(*common.MemeList)(nil),                          // 66: api.common.MemeList
-	(*common.ChatTopicList)(nil),                     // 67: api.common.ChatTopicList
-	(*common.CommonTextList)(nil),                    // 68: api.common.CommonTextList
-	(*common.MemeTitleList)(nil),                     // 69: api.common.MemeTitleList
-	(*common.FindOverSevenDayAvatarReply)(nil),       // 70: api.common.FindOverSevenDayAvatarReply
-	(*common.ScripID)(nil),                           // 71: api.common.ScripID
-	(*common.ScripReply)(nil),                        // 72: api.common.ScripReply
-	(*common.ScripInfo)(nil),                         // 73: api.common.ScripInfo
-	(*common.ChatRecordInfo)(nil),                    // 74: api.common.ChatRecordInfo
-	(*chat.WindowInfo)(nil),                          // 75: api.chat.WindowInfo
-	(*chat.GetRandomMatchingReply)(nil),              // 76: api.chat.GetRandomMatchingReply
+	(*common.UpdateLastScripIDDBRequest)(nil),        // 49: api.common.UpdateLastScripIDDBRequest
+	(*common.PersonMsg)(nil),                         // 50: api.common.PersonMsg
+	(*chat.CheckUserPartnerIsRelationshipReply)(nil), // 51: api.chat.CheckUserPartnerIsRelationshipReply
+	(*chat.RoomReply)(nil),                           // 52: api.chat.RoomReply
+	(*common.AddFriendMessageInfo)(nil),              // 53: api.common.AddFriendMessageInfo
+	(*common.HomeInfo)(nil),                          // 54: api.common.HomeInfo
+	(*common.PersonDBReply)(nil),                     // 55: api.common.PersonDBReply
+	(*statistics.LookAndLikeListReply)(nil),          // 56: api.statistics.LookAndLikeListReply
+	(*statistics.LookAndLikeMessageReply)(nil),       // 57: api.statistics.LookAndLikeMessageReply
+	(*common.WxConfResponse)(nil),                    // 58: api.common.WxConfResponse
+	(*common.TagListReply)(nil),                      // 59: api.common.TagListReply
+	(*common.RecommendPersonListReply)(nil),          // 60: api.common.RecommendPersonListReply
+	(*common.LookedAndLikedNum)(nil),                 // 61: api.common.LookedAndLikedNum
+	(*statistics.LookMessageReply)(nil),              // 62: api.statistics.LookMessageReply
+	(*common.ChatRecordListReply)(nil),               // 63: api.common.ChatRecordListReply
+	(*common.ChatRoomMsg)(nil),                       // 64: api.common.ChatRoomMsg
+	(*common.IsLike)(nil),                            // 65: api.common.IsLike
+	(*common.ChatCardInfo)(nil),                      // 66: api.common.ChatCardInfo
+	(*common.MemeList)(nil),                          // 67: api.common.MemeList
+	(*common.ChatTopicList)(nil),                     // 68: api.common.ChatTopicList
+	(*common.CommonTextList)(nil),                    // 69: api.common.CommonTextList
+	(*common.MemeTitleList)(nil),                     // 70: api.common.MemeTitleList
+	(*common.FindOverSevenDayAvatarReply)(nil),       // 71: api.common.FindOverSevenDayAvatarReply
+	(*common.ScripID)(nil),                           // 72: api.common.ScripID
+	(*common.ScripReply)(nil),                        // 73: api.common.ScripReply
+	(*common.ScripInfo)(nil),                         // 74: api.common.ScripInfo
+	(*common.ChatRecordInfo)(nil),                    // 75: api.common.ChatRecordInfo
+	(*chat.WindowInfo)(nil),                          // 76: api.chat.WindowInfo
+	(*chat.GetRandomMatchingReply)(nil),              // 77: api.chat.GetRandomMatchingReply
 }
 var file_user_proto_depIdxs = []int32{
 	23, // 0: api.user.ReplyScripRequest.message:type_name -> api.common.Message
@@ -2360,80 +2367,82 @@ var file_user_proto_depIdxs = []int32{
 	26, // 66: api.user.User.PersonClickLookBack:input_type -> google.protobuf.Empty
 	1,  // 67: api.user.User.PersonReplyScrip:input_type -> api.user.ReplyScripRequest
 	48, // 68: api.user.User.UpdateLastScripID:input_type -> api.common.UpdateLastScripIDRequest
-	26, // 69: api.user.User.GetWindowInfo:input_type -> google.protobuf.Empty
-	26, // 70: api.user.User.GetUserFreeNum:input_type -> google.protobuf.Empty
-	36, // 71: api.user.User.GetRandomMatching:input_type -> api.common.SexReq
-	27, // 72: api.user.User.UpdateUserLastLoginTime:input_type -> api.common.PersonIDParam
-	26, // 73: api.user.User.UpdateUserInformation:output_type -> google.protobuf.Empty
-	15, // 74: api.user.User.GetUserInfo:output_type -> api.user.UserInfo
-	49, // 75: api.user.User.GetUserDBMsg:output_type -> api.common.PersonMsg
-	26, // 76: api.user.User.SendPhoneCode:output_type -> google.protobuf.Empty
-	26, // 77: api.user.User.CheckPhoneCode:output_type -> google.protobuf.Empty
-	50, // 78: api.user.User.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
-	51, // 79: api.user.User.CreateUserPersonRoom:output_type -> api.chat.RoomReply
-	52, // 80: api.user.User.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
-	53, // 81: api.user.User.UserGetHomeInfo:output_type -> api.common.HomeInfo
-	54, // 82: api.user.User.FindUserDBList:output_type -> api.common.PersonDBReply
-	55, // 83: api.user.User.FindLookList:output_type -> api.statistics.LookAndLikeListReply
-	55, // 84: api.user.User.FindLikeList:output_type -> api.statistics.LookAndLikeListReply
-	55, // 85: api.user.User.FindLikedList:output_type -> api.statistics.LookAndLikeListReply
-	56, // 86: api.user.User.GetLookAndLikeStatisticsMessage:output_type -> api.statistics.LookAndLikeMessageReply
-	57, // 87: api.user.User.WxConf:output_type -> api.common.WxConfResponse
-	58, // 88: api.user.User.FindTagListBySex:output_type -> api.common.TagListReply
-	59, // 89: api.user.User.FindOnlineList:output_type -> api.common.RecommendPersonListReply
-	13, // 90: api.user.User.FindWithinSevenDayRoomList:output_type -> api.user.UserFindChatListReply
-	13, // 91: api.user.User.FindOverSevenDayRoomList:output_type -> api.user.UserFindChatListReply
-	60, // 92: api.user.User.UserGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
-	12, // 93: api.user.User.GetUserBalance:output_type -> api.user.UserBalance
-	61, // 94: api.user.User.GetUserLookNum:output_type -> api.statistics.LookMessageReply
-	62, // 95: api.user.User.FindChatRecordList:output_type -> api.common.ChatRecordListReply
-	63, // 96: api.user.User.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
-	64, // 97: api.user.User.GetUserIsLike:output_type -> api.common.IsLike
-	26, // 98: api.user.User.UserFinishInformation:output_type -> google.protobuf.Empty
-	11, // 99: api.user.User.UserInformationStatus:output_type -> api.user.InformationStatus
-	26, // 100: api.user.User.UserGetInformationAward:output_type -> google.protobuf.Empty
-	65, // 101: api.user.User.UserGetChatCard:output_type -> api.common.ChatCardInfo
-	26, // 102: api.user.User.UserLike:output_type -> google.protobuf.Empty
-	26, // 103: api.user.User.UserUnLike:output_type -> google.protobuf.Empty
-	26, // 104: api.user.User.UnlockLookRecord:output_type -> google.protobuf.Empty
-	26, // 105: api.user.User.SendMsgReduceCredit:output_type -> google.protobuf.Empty
-	26, // 106: api.user.User.LookBackScripReduceCredit:output_type -> google.protobuf.Empty
-	26, // 107: api.user.User.CreateScripReduceCredit:output_type -> google.protobuf.Empty
-	26, // 108: api.user.User.ReplyScripReduceCredit:output_type -> google.protobuf.Empty
-	26, // 109: api.user.User.UnlockVoiceCredit:output_type -> google.protobuf.Empty
-	26, // 110: api.user.User.UnlockPictureCredit:output_type -> google.protobuf.Empty
-	26, // 111: api.user.User.MatchingCredit:output_type -> google.protobuf.Empty
-	66, // 112: api.user.User.FindMemeByType:output_type -> api.common.MemeList
-	67, // 113: api.user.User.FindChatTopic:output_type -> api.common.ChatTopicList
-	68, // 114: api.user.User.RandomMeme:output_type -> api.common.CommonTextList
-	68, // 115: api.user.User.RandomSwiftMessage:output_type -> api.common.CommonTextList
-	69, // 116: api.user.User.FindMemeTitle:output_type -> api.common.MemeTitleList
-	26, // 117: api.user.User.UserSetBlackChat:output_type -> google.protobuf.Empty
-	26, // 118: api.user.User.UserDeleteChat:output_type -> google.protobuf.Empty
-	69, // 119: api.user.User.FindChatTopicTitle:output_type -> api.common.MemeTitleList
-	18, // 120: api.user.User.UserRecharge:output_type -> api.user.PayInfo
-	9,  // 121: api.user.User.FindRechargeList:output_type -> api.user.RechargeList
-	20, // 122: api.user.User.FindPayList:output_type -> api.user.PayOrderList
-	26, // 123: api.user.User.Report:output_type -> google.protobuf.Empty
-	54, // 124: api.user.User.FindRecommendUserDBList:output_type -> api.common.PersonDBReply
-	59, // 125: api.user.User.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
-	70, // 126: api.user.User.FindOverSevenDayAvatar:output_type -> api.common.FindOverSevenDayAvatarReply
-	6,  // 127: api.user.User.FindMatchingAvatarAndNum:output_type -> api.user.FindMatchingAvatarAndNumReply
-	71, // 128: api.user.User.CreateScrip:output_type -> api.common.ScripID
-	26, // 129: api.user.User.DeleteScrip:output_type -> google.protobuf.Empty
-	72, // 130: api.user.User.FindMyScrip:output_type -> api.common.ScripReply
-	72, // 131: api.user.User.FindOtherScrip:output_type -> api.common.ScripReply
-	72, // 132: api.user.User.FindRecommendScrip:output_type -> api.common.ScripReply
-	26, // 133: api.user.User.PersonLookScrip:output_type -> google.protobuf.Empty
-	73, // 134: api.user.User.PersonClickLookBack:output_type -> api.common.ScripInfo
-	74, // 135: api.user.User.PersonReplyScrip:output_type -> api.common.ChatRecordInfo
-	26, // 136: api.user.User.UpdateLastScripID:output_type -> google.protobuf.Empty
-	75, // 137: api.user.User.GetWindowInfo:output_type -> api.chat.WindowInfo
-	0,  // 138: api.user.User.GetUserFreeNum:output_type -> api.user.UserFreeNum
-	76, // 139: api.user.User.GetRandomMatching:output_type -> api.chat.GetRandomMatchingReply
-	26, // 140: api.user.User.UpdateUserLastLoginTime:output_type -> google.protobuf.Empty
-	73, // [73:141] is the sub-list for method output_type
-	5,  // [5:73] is the sub-list for method input_type
+	49, // 69: api.user.User.UpdateLastScripIDDB:input_type -> api.common.UpdateLastScripIDDBRequest
+	26, // 70: api.user.User.GetWindowInfo:input_type -> google.protobuf.Empty
+	26, // 71: api.user.User.GetUserFreeNum:input_type -> google.protobuf.Empty
+	36, // 72: api.user.User.GetRandomMatching:input_type -> api.common.SexReq
+	27, // 73: api.user.User.UpdateUserLastLoginTime:input_type -> api.common.PersonIDParam
+	26, // 74: api.user.User.UpdateUserInformation:output_type -> google.protobuf.Empty
+	15, // 75: api.user.User.GetUserInfo:output_type -> api.user.UserInfo
+	50, // 76: api.user.User.GetUserDBMsg:output_type -> api.common.PersonMsg
+	26, // 77: api.user.User.SendPhoneCode:output_type -> google.protobuf.Empty
+	26, // 78: api.user.User.CheckPhoneCode:output_type -> google.protobuf.Empty
+	51, // 79: api.user.User.CheckUserPartnerIsRelationship:output_type -> api.chat.CheckUserPartnerIsRelationshipReply
+	52, // 80: api.user.User.CreateUserPersonRoom:output_type -> api.chat.RoomReply
+	53, // 81: api.user.User.GetPartnerCircleInfo:output_type -> api.common.AddFriendMessageInfo
+	54, // 82: api.user.User.UserGetHomeInfo:output_type -> api.common.HomeInfo
+	55, // 83: api.user.User.FindUserDBList:output_type -> api.common.PersonDBReply
+	56, // 84: api.user.User.FindLookList:output_type -> api.statistics.LookAndLikeListReply
+	56, // 85: api.user.User.FindLikeList:output_type -> api.statistics.LookAndLikeListReply
+	56, // 86: api.user.User.FindLikedList:output_type -> api.statistics.LookAndLikeListReply
+	57, // 87: api.user.User.GetLookAndLikeStatisticsMessage:output_type -> api.statistics.LookAndLikeMessageReply
+	58, // 88: api.user.User.WxConf:output_type -> api.common.WxConfResponse
+	59, // 89: api.user.User.FindTagListBySex:output_type -> api.common.TagListReply
+	60, // 90: api.user.User.FindOnlineList:output_type -> api.common.RecommendPersonListReply
+	13, // 91: api.user.User.FindWithinSevenDayRoomList:output_type -> api.user.UserFindChatListReply
+	13, // 92: api.user.User.FindOverSevenDayRoomList:output_type -> api.user.UserFindChatListReply
+	61, // 93: api.user.User.UserGetPersonLikedAndLooked:output_type -> api.common.LookedAndLikedNum
+	12, // 94: api.user.User.GetUserBalance:output_type -> api.user.UserBalance
+	62, // 95: api.user.User.GetUserLookNum:output_type -> api.statistics.LookMessageReply
+	63, // 96: api.user.User.FindChatRecordList:output_type -> api.common.ChatRecordListReply
+	64, // 97: api.user.User.FindChatRoomMsg:output_type -> api.common.ChatRoomMsg
+	65, // 98: api.user.User.GetUserIsLike:output_type -> api.common.IsLike
+	26, // 99: api.user.User.UserFinishInformation:output_type -> google.protobuf.Empty
+	11, // 100: api.user.User.UserInformationStatus:output_type -> api.user.InformationStatus
+	26, // 101: api.user.User.UserGetInformationAward:output_type -> google.protobuf.Empty
+	66, // 102: api.user.User.UserGetChatCard:output_type -> api.common.ChatCardInfo
+	26, // 103: api.user.User.UserLike:output_type -> google.protobuf.Empty
+	26, // 104: api.user.User.UserUnLike:output_type -> google.protobuf.Empty
+	26, // 105: api.user.User.UnlockLookRecord:output_type -> google.protobuf.Empty
+	26, // 106: api.user.User.SendMsgReduceCredit:output_type -> google.protobuf.Empty
+	26, // 107: api.user.User.LookBackScripReduceCredit:output_type -> google.protobuf.Empty
+	26, // 108: api.user.User.CreateScripReduceCredit:output_type -> google.protobuf.Empty
+	26, // 109: api.user.User.ReplyScripReduceCredit:output_type -> google.protobuf.Empty
+	26, // 110: api.user.User.UnlockVoiceCredit:output_type -> google.protobuf.Empty
+	26, // 111: api.user.User.UnlockPictureCredit:output_type -> google.protobuf.Empty
+	26, // 112: api.user.User.MatchingCredit:output_type -> google.protobuf.Empty
+	67, // 113: api.user.User.FindMemeByType:output_type -> api.common.MemeList
+	68, // 114: api.user.User.FindChatTopic:output_type -> api.common.ChatTopicList
+	69, // 115: api.user.User.RandomMeme:output_type -> api.common.CommonTextList
+	69, // 116: api.user.User.RandomSwiftMessage:output_type -> api.common.CommonTextList
+	70, // 117: api.user.User.FindMemeTitle:output_type -> api.common.MemeTitleList
+	26, // 118: api.user.User.UserSetBlackChat:output_type -> google.protobuf.Empty
+	26, // 119: api.user.User.UserDeleteChat:output_type -> google.protobuf.Empty
+	70, // 120: api.user.User.FindChatTopicTitle:output_type -> api.common.MemeTitleList
+	18, // 121: api.user.User.UserRecharge:output_type -> api.user.PayInfo
+	9,  // 122: api.user.User.FindRechargeList:output_type -> api.user.RechargeList
+	20, // 123: api.user.User.FindPayList:output_type -> api.user.PayOrderList
+	26, // 124: api.user.User.Report:output_type -> google.protobuf.Empty
+	55, // 125: api.user.User.FindRecommendUserDBList:output_type -> api.common.PersonDBReply
+	60, // 126: api.user.User.FindRecommendPersonList:output_type -> api.common.RecommendPersonListReply
+	71, // 127: api.user.User.FindOverSevenDayAvatar:output_type -> api.common.FindOverSevenDayAvatarReply
+	6,  // 128: api.user.User.FindMatchingAvatarAndNum:output_type -> api.user.FindMatchingAvatarAndNumReply
+	72, // 129: api.user.User.CreateScrip:output_type -> api.common.ScripID
+	26, // 130: api.user.User.DeleteScrip:output_type -> google.protobuf.Empty
+	73, // 131: api.user.User.FindMyScrip:output_type -> api.common.ScripReply
+	73, // 132: api.user.User.FindOtherScrip:output_type -> api.common.ScripReply
+	73, // 133: api.user.User.FindRecommendScrip:output_type -> api.common.ScripReply
+	26, // 134: api.user.User.PersonLookScrip:output_type -> google.protobuf.Empty
+	74, // 135: api.user.User.PersonClickLookBack:output_type -> api.common.ScripInfo
+	75, // 136: api.user.User.PersonReplyScrip:output_type -> api.common.ChatRecordInfo
+	26, // 137: api.user.User.UpdateLastScripID:output_type -> google.protobuf.Empty
+	26, // 138: api.user.User.UpdateLastScripIDDB:output_type -> google.protobuf.Empty
+	76, // 139: api.user.User.GetWindowInfo:output_type -> api.chat.WindowInfo
+	0,  // 140: api.user.User.GetUserFreeNum:output_type -> api.user.UserFreeNum
+	77, // 141: api.user.User.GetRandomMatching:output_type -> api.chat.GetRandomMatchingReply
+	26, // 142: api.user.User.UpdateUserLastLoginTime:output_type -> google.protobuf.Empty
+	74, // [74:143] is the sub-list for method output_type
+	5,  // [5:74] is the sub-list for method input_type
 	5,  // [5:5] is the sub-list for extension type_name
 	5,  // [5:5] is the sub-list for extension extendee
 	0,  // [0:5] is the sub-list for field type_name

+ 2 - 0
api/user/user.proto

@@ -414,6 +414,8 @@ service User {
       body:"*"
     };
   };
+  // 对内更新
+  rpc UpdateLastScripIDDB (common.UpdateLastScripIDDBRequest) returns (google.protobuf.Empty){};
   // 获取假弹窗
   rpc GetWindowInfo (google.protobuf.Empty) returns (chat.WindowInfo){
     option (google.api.http) = {

+ 38 - 0
api/user/user_grpc.pb.go

@@ -150,6 +150,8 @@ type UserClient interface {
 	PersonReplyScrip(ctx context.Context, in *ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
 	// 更新上次访问的小纸条
 	UpdateLastScripID(ctx context.Context, in *common.UpdateLastScripIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
+	// 对内更新
+	UpdateLastScripIDDB(ctx context.Context, in *common.UpdateLastScripIDDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	// 获取假弹窗
 	GetWindowInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.WindowInfo, error)
 	// 用户的每日免费数
@@ -744,6 +746,15 @@ func (c *userClient) UpdateLastScripID(ctx context.Context, in *common.UpdateLas
 	return out, nil
 }
 
+func (c *userClient) UpdateLastScripIDDB(ctx context.Context, in *common.UpdateLastScripIDDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+	out := new(emptypb.Empty)
+	err := c.cc.Invoke(ctx, "/api.user.User/UpdateLastScripIDDB", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 func (c *userClient) GetWindowInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*chat.WindowInfo, error) {
 	out := new(chat.WindowInfo)
 	err := c.cc.Invoke(ctx, "/api.user.User/GetWindowInfo", in, out, opts...)
@@ -912,6 +923,8 @@ type UserServer interface {
 	PersonReplyScrip(context.Context, *ReplyScripRequest) (*common.ChatRecordInfo, error)
 	// 更新上次访问的小纸条
 	UpdateLastScripID(context.Context, *common.UpdateLastScripIDRequest) (*emptypb.Empty, error)
+	// 对内更新
+	UpdateLastScripIDDB(context.Context, *common.UpdateLastScripIDDBRequest) (*emptypb.Empty, error)
 	// 获取假弹窗
 	GetWindowInfo(context.Context, *emptypb.Empty) (*chat.WindowInfo, error)
 	// 用户的每日免费数
@@ -1119,6 +1132,9 @@ func (UnimplementedUserServer) PersonReplyScrip(context.Context, *ReplyScripRequ
 func (UnimplementedUserServer) UpdateLastScripID(context.Context, *common.UpdateLastScripIDRequest) (*emptypb.Empty, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method UpdateLastScripID not implemented")
 }
+func (UnimplementedUserServer) UpdateLastScripIDDB(context.Context, *common.UpdateLastScripIDDBRequest) (*emptypb.Empty, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method UpdateLastScripIDDB not implemented")
+}
 func (UnimplementedUserServer) GetWindowInfo(context.Context, *emptypb.Empty) (*chat.WindowInfo, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method GetWindowInfo not implemented")
 }
@@ -2296,6 +2312,24 @@ func _User_UpdateLastScripID_Handler(srv interface{}, ctx context.Context, dec f
 	return interceptor(ctx, in, info, handler)
 }
 
+func _User_UpdateLastScripIDDB_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(common.UpdateLastScripIDDBRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(UserServer).UpdateLastScripIDDB(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.user.User/UpdateLastScripIDDB",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(UserServer).UpdateLastScripIDDB(ctx, req.(*common.UpdateLastScripIDDBRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 func _User_GetWindowInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(emptypb.Empty)
 	if err := dec(in); err != nil {
@@ -2631,6 +2665,10 @@ var User_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "UpdateLastScripID",
 			Handler:    _User_UpdateLastScripID_Handler,
 		},
+		{
+			MethodName: "UpdateLastScripIDDB",
+			Handler:    _User_UpdateLastScripIDDB_Handler,
+		},
 		{
 			MethodName: "GetWindowInfo",
 			Handler:    _User_GetWindowInfo_Handler,

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

@@ -663,6 +663,11 @@ export interface UpdateLastScripIDRequest{
     /**  纸条id */
     scripId?:number;
 }
+export interface UpdateLastScripIDDBRequest{
+    personId?:string;
+    /**  纸条id */
+    scripId?:number;
+}
 export interface MatchingRequest{
     /**  查询目标的ID */
     personId?:string;

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

@@ -1,7 +1,7 @@
 // @ts-ignore
 import request from '@/libs/request';
 import {PartnerInfo,PartnerBalance,PartnerDBBalance,PartnerMessage,GetRandomPartnerRequest,RandomPartnerInfo,AddPartnerBalanceRequest,LevelTable,PartnerGetAwardRequest,PartnerUpdateWorkingStatusRequest,PartnerApplyWithdrawRequest,PartnerWithdrawTemplateListReply,PartnerWithdrawRecordListReply} from "./partner_pb";
-import {PartnerIDParam,PersonIDParam,PersonMsg,SendPhoneCodeRequest,CheckPhoneCodeRequest,AddFriendMessageInfo,UpdateInformationRequest,PersonParam,HomeInfo,LookedAndLikedNum,ListPageRequest,PersonIDList,PersonDBReply,WxConfReq,WxConfResponse,CreateChatRoomParam,SexReq,TagListReply,ListPage2Request,RecommendPersonListReply,FindChatRecordListRequest,ChatRecordListReply,FindChatRoomMsgRequest,ChatRoomMsg,IsLike,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex,MemeTitleList,PartnerChatCardInfo,ReportChatRequest,FindRecommendRequest,FindOverSevenDayAvatarReply,UpdateLastScripIDRequest} from "../common/common_pb";
+import {PartnerIDParam,PersonIDParam,PersonMsg,SendPhoneCodeRequest,CheckPhoneCodeRequest,AddFriendMessageInfo,UpdateInformationRequest,PersonParam,HomeInfo,LookedAndLikedNum,ListPageRequest,PersonIDList,PersonDBReply,WxConfReq,WxConfResponse,CreateChatRoomParam,SexReq,TagListReply,ListPage2Request,RecommendPersonListReply,FindChatRecordListRequest,ChatRecordListReply,FindChatRoomMsgRequest,ChatRoomMsg,IsLike,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex,MemeTitleList,PartnerChatCardInfo,ReportChatRequest,FindRecommendRequest,FindOverSevenDayAvatarReply,UpdateLastScripIDRequest,UpdateLastScripIDDBRequest} from "../common/common_pb";
 import {LookMessageReply,LookAndLikeListReply} from "../statistics/statistics_pb";
 import {RoomReply,PartnerFindRoomListReply,FindNotReplyNumReply} from "../chat/chat_pb";
 

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

@@ -1,6 +1,6 @@
 // @ts-ignore
 import request from '@/libs/request';
-import {UpdateInformationRequest,PersonIDParam,PersonMsg,SendPhoneCodeRequest,CheckPhoneCodeRequest,PartnerIDParam,CreateChatRoomParam,AddFriendMessageInfo,PersonParam,HomeInfo,PersonIDList,PersonDBReply,ListPageRequest,WxConfReq,WxConfResponse,SexReq,TagListReply,ListPage2Request,RecommendPersonListReply,LookedAndLikedNum,FindChatRecordListRequest,ChatRecordListReply,FindChatRoomMsgRequest,ChatRoomMsg,IsLike,ChatCardInfo,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex,MemeTitleList,RoomIDRequest,ReportChatRequest,FindRecommendRequest,FindOverSevenDayAvatarReply,ScripID,ScripReply,FindScripRequest,ScripInfo,ChatRecordInfo,UpdateLastScripIDRequest} from "../common/common_pb";
+import {UpdateInformationRequest,PersonIDParam,PersonMsg,SendPhoneCodeRequest,CheckPhoneCodeRequest,PartnerIDParam,CreateChatRoomParam,AddFriendMessageInfo,PersonParam,HomeInfo,PersonIDList,PersonDBReply,ListPageRequest,WxConfReq,WxConfResponse,SexReq,TagListReply,ListPage2Request,RecommendPersonListReply,LookedAndLikedNum,FindChatRecordListRequest,ChatRecordListReply,FindChatRoomMsgRequest,ChatRoomMsg,IsLike,ChatCardInfo,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex,MemeTitleList,RoomIDRequest,ReportChatRequest,FindRecommendRequest,FindOverSevenDayAvatarReply,ScripID,ScripReply,FindScripRequest,ScripInfo,ChatRecordInfo,UpdateLastScripIDRequest,UpdateLastScripIDDBRequest} from "../common/common_pb";
 import {UserInfo,KeyRequest,UserFindChatListReply,UserBalance,InformationStatus,UserRechargeRequest,PayInfo,RechargeList,FindPayOrderListRequest,PayOrderList,FindRecommendPersonListRequest,FindMatchingAvatarAndNumReply,CreateScripRequest,DeleteScripRequest,UserFindScripRequest,PersonLookScripRequest,ReplyScripRequest,UserFreeNum} from "./user_pb";
 import {CheckUserPartnerIsRelationshipReply,RoomReply,WindowInfo,GetRandomMatchingReply} from "../chat/chat_pb";
 import {LookAndLikeListReply,LookAndLikeMessageReply,LookMessageReply} from "../statistics/statistics_pb";