wfz 3 ani în urmă
părinte
comite
bfacfa8360

Fișier diff suprimat deoarece este prea mare
+ 223 - 749
api/account/account.pb.go


+ 6 - 51
api/account/account.proto

@@ -71,62 +71,17 @@ service Account {
   // 随机打招呼
   rpc RandomSwiftMessage (common.RandomNumAndSex) returns (common.CommonTextList){};
   // 创建纸条
-  rpc CreateScrip (CreateScripRequest) returns (ScripID){};
+  rpc CreateScrip (common.CreateScripRequest) returns (common.ScripID){};
   // 删除纸条
-  rpc DeleteScrip (DeleteScripRequest) returns (google.protobuf.Empty){};
+  rpc DeleteScrip (common.DeleteScripRequest) returns (google.protobuf.Empty){};
   // 查询自己的小纸条
-  rpc FindMyScrip (FindScripRequest) returns (ScripReply){};
+  rpc FindMyScrip (common.FindScripRequest) returns (common.ScripReply){};
   // 查询随机纸条列表
-  rpc FindRecommendScrip (FindScripRequest) returns (ScripReply){};
+  rpc FindRecommendScrip (common.FindScripRequest) returns (common.ScripReply){};
   // 用户查看纸条
-  rpc PersonLookScrip (PersonLookScripRequest) returns (google.protobuf.Empty){};
+  rpc PersonLookScrip (common.PersonLookScripRequest) returns (google.protobuf.Empty){};
   // 用户点击回看
-  rpc PersonClickLookBack (common.PersonParam) returns (ScripInfo){};
-}
-message PersonLookScripRequest{
-  string personId = 1;
-  string personType = 2;
-  int64 scripId = 3;// 纸条id
-}
-
-message FindScripRequest {
-  string personId = 1;
-  string personType = 2;
-  int64 nextId = 3;
-  int64 offset = 4;
-}
-
-message ScripReply {
-  repeated ScripInfo list = 1;
-  int64 nextId = 2;
-}
-
-message ScripInfo {
-  string personId = 1;// 创建者ID
-  string personType = 2;// 创建者类型
-  string text = 3;// 纸条内容
-  string pictureUrl = 4;// 纸条配图
-  string personName = 5;// 创建者名称
-  int64 personSex = 6;// 创建者性别
-  string personAvatar = 7;// 创建者头像
-  int64 createTime = 8;// 创建时间
-}
-
-message DeleteScripRequest {
-  int64 id = 1;
-  string personId = 2;
-  string personType = 3;
-}
-
-message CreateScripRequest {
-  string personId = 1;
-  string personType = 2;
-  string text = 3;
-  string pictureUrl = 4;
-}
-
-message ScripID {
-    int64 id = 1;
+  rpc PersonClickLookBack (common.PersonParam) returns (common.ScripInfo){};
 }
 
 message MediaID{

+ 38 - 38
api/account/account_grpc.pb.go

@@ -48,17 +48,17 @@ type AccountClient interface {
 	// 随机打招呼
 	RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error)
 	// 创建纸条
-	CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...grpc.CallOption) (*ScripID, error)
+	CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error)
 	// 删除纸条
-	DeleteScrip(ctx context.Context, in *DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
+	DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	// 查询自己的小纸条
-	FindMyScrip(ctx context.Context, in *FindScripRequest, opts ...grpc.CallOption) (*ScripReply, error)
+	FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
 	// 查询随机纸条列表
-	FindRecommendScrip(ctx context.Context, in *FindScripRequest, opts ...grpc.CallOption) (*ScripReply, error)
+	FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
 	// 用户查看纸条
-	PersonLookScrip(ctx context.Context, in *PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
+	PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
 	// 用户点击回看
-	PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*ScripInfo, error)
+	PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error)
 }
 
 type accountClient struct {
@@ -213,8 +213,8 @@ func (c *accountClient) RandomSwiftMessage(ctx context.Context, in *common.Rando
 	return out, nil
 }
 
-func (c *accountClient) CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...grpc.CallOption) (*ScripID, error) {
-	out := new(ScripID)
+func (c *accountClient) CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error) {
+	out := new(common.ScripID)
 	err := c.cc.Invoke(ctx, "/api.account.Account/CreateScrip", in, out, opts...)
 	if err != nil {
 		return nil, err
@@ -222,7 +222,7 @@ func (c *accountClient) CreateScrip(ctx context.Context, in *CreateScripRequest,
 	return out, nil
 }
 
-func (c *accountClient) DeleteScrip(ctx context.Context, in *DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+func (c *accountClient) DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
 	out := new(emptypb.Empty)
 	err := c.cc.Invoke(ctx, "/api.account.Account/DeleteScrip", in, out, opts...)
 	if err != nil {
@@ -231,8 +231,8 @@ func (c *accountClient) DeleteScrip(ctx context.Context, in *DeleteScripRequest,
 	return out, nil
 }
 
-func (c *accountClient) FindMyScrip(ctx context.Context, in *FindScripRequest, opts ...grpc.CallOption) (*ScripReply, error) {
-	out := new(ScripReply)
+func (c *accountClient) FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
+	out := new(common.ScripReply)
 	err := c.cc.Invoke(ctx, "/api.account.Account/FindMyScrip", in, out, opts...)
 	if err != nil {
 		return nil, err
@@ -240,8 +240,8 @@ func (c *accountClient) FindMyScrip(ctx context.Context, in *FindScripRequest, o
 	return out, nil
 }
 
-func (c *accountClient) FindRecommendScrip(ctx context.Context, in *FindScripRequest, opts ...grpc.CallOption) (*ScripReply, error) {
-	out := new(ScripReply)
+func (c *accountClient) FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
+	out := new(common.ScripReply)
 	err := c.cc.Invoke(ctx, "/api.account.Account/FindRecommendScrip", in, out, opts...)
 	if err != nil {
 		return nil, err
@@ -249,7 +249,7 @@ func (c *accountClient) FindRecommendScrip(ctx context.Context, in *FindScripReq
 	return out, nil
 }
 
-func (c *accountClient) PersonLookScrip(ctx context.Context, in *PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+func (c *accountClient) PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
 	out := new(emptypb.Empty)
 	err := c.cc.Invoke(ctx, "/api.account.Account/PersonLookScrip", in, out, opts...)
 	if err != nil {
@@ -258,8 +258,8 @@ func (c *accountClient) PersonLookScrip(ctx context.Context, in *PersonLookScrip
 	return out, nil
 }
 
-func (c *accountClient) PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*ScripInfo, error) {
-	out := new(ScripInfo)
+func (c *accountClient) PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error) {
+	out := new(common.ScripInfo)
 	err := c.cc.Invoke(ctx, "/api.account.Account/PersonClickLookBack", in, out, opts...)
 	if err != nil {
 		return nil, err
@@ -299,17 +299,17 @@ type AccountServer interface {
 	// 随机打招呼
 	RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error)
 	// 创建纸条
-	CreateScrip(context.Context, *CreateScripRequest) (*ScripID, error)
+	CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error)
 	// 删除纸条
-	DeleteScrip(context.Context, *DeleteScripRequest) (*emptypb.Empty, error)
+	DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error)
 	// 查询自己的小纸条
-	FindMyScrip(context.Context, *FindScripRequest) (*ScripReply, error)
+	FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
 	// 查询随机纸条列表
-	FindRecommendScrip(context.Context, *FindScripRequest) (*ScripReply, error)
+	FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
 	// 用户查看纸条
-	PersonLookScrip(context.Context, *PersonLookScripRequest) (*emptypb.Empty, error)
+	PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error)
 	// 用户点击回看
-	PersonClickLookBack(context.Context, *common.PersonParam) (*ScripInfo, error)
+	PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error)
 	mustEmbedUnimplementedAccountServer()
 }
 
@@ -365,22 +365,22 @@ func (UnimplementedAccountServer) RandomMeme(context.Context, *common.RandomNum)
 func (UnimplementedAccountServer) RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method RandomSwiftMessage not implemented")
 }
-func (UnimplementedAccountServer) CreateScrip(context.Context, *CreateScripRequest) (*ScripID, error) {
+func (UnimplementedAccountServer) CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method CreateScrip not implemented")
 }
-func (UnimplementedAccountServer) DeleteScrip(context.Context, *DeleteScripRequest) (*emptypb.Empty, error) {
+func (UnimplementedAccountServer) DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method DeleteScrip not implemented")
 }
-func (UnimplementedAccountServer) FindMyScrip(context.Context, *FindScripRequest) (*ScripReply, error) {
+func (UnimplementedAccountServer) FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindMyScrip not implemented")
 }
-func (UnimplementedAccountServer) FindRecommendScrip(context.Context, *FindScripRequest) (*ScripReply, error) {
+func (UnimplementedAccountServer) FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindRecommendScrip not implemented")
 }
-func (UnimplementedAccountServer) PersonLookScrip(context.Context, *PersonLookScripRequest) (*emptypb.Empty, error) {
+func (UnimplementedAccountServer) PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method PersonLookScrip not implemented")
 }
-func (UnimplementedAccountServer) PersonClickLookBack(context.Context, *common.PersonParam) (*ScripInfo, error) {
+func (UnimplementedAccountServer) PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method PersonClickLookBack not implemented")
 }
 func (UnimplementedAccountServer) mustEmbedUnimplementedAccountServer() {}
@@ -685,7 +685,7 @@ func _Account_RandomSwiftMessage_Handler(srv interface{}, ctx context.Context, d
 }
 
 func _Account_CreateScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(CreateScripRequest)
+	in := new(common.CreateScripRequest)
 	if err := dec(in); err != nil {
 		return nil, err
 	}
@@ -697,13 +697,13 @@ func _Account_CreateScrip_Handler(srv interface{}, ctx context.Context, dec func
 		FullMethod: "/api.account.Account/CreateScrip",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).CreateScrip(ctx, req.(*CreateScripRequest))
+		return srv.(AccountServer).CreateScrip(ctx, req.(*common.CreateScripRequest))
 	}
 	return interceptor(ctx, in, info, handler)
 }
 
 func _Account_DeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(DeleteScripRequest)
+	in := new(common.DeleteScripRequest)
 	if err := dec(in); err != nil {
 		return nil, err
 	}
@@ -715,13 +715,13 @@ func _Account_DeleteScrip_Handler(srv interface{}, ctx context.Context, dec func
 		FullMethod: "/api.account.Account/DeleteScrip",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).DeleteScrip(ctx, req.(*DeleteScripRequest))
+		return srv.(AccountServer).DeleteScrip(ctx, req.(*common.DeleteScripRequest))
 	}
 	return interceptor(ctx, in, info, handler)
 }
 
 func _Account_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(FindScripRequest)
+	in := new(common.FindScripRequest)
 	if err := dec(in); err != nil {
 		return nil, err
 	}
@@ -733,13 +733,13 @@ func _Account_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func
 		FullMethod: "/api.account.Account/FindMyScrip",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).FindMyScrip(ctx, req.(*FindScripRequest))
+		return srv.(AccountServer).FindMyScrip(ctx, req.(*common.FindScripRequest))
 	}
 	return interceptor(ctx, in, info, handler)
 }
 
 func _Account_FindRecommendScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(FindScripRequest)
+	in := new(common.FindScripRequest)
 	if err := dec(in); err != nil {
 		return nil, err
 	}
@@ -751,13 +751,13 @@ func _Account_FindRecommendScrip_Handler(srv interface{}, ctx context.Context, d
 		FullMethod: "/api.account.Account/FindRecommendScrip",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).FindRecommendScrip(ctx, req.(*FindScripRequest))
+		return srv.(AccountServer).FindRecommendScrip(ctx, req.(*common.FindScripRequest))
 	}
 	return interceptor(ctx, in, info, handler)
 }
 
 func _Account_PersonLookScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(PersonLookScripRequest)
+	in := new(common.PersonLookScripRequest)
 	if err := dec(in); err != nil {
 		return nil, err
 	}
@@ -769,7 +769,7 @@ func _Account_PersonLookScrip_Handler(srv interface{}, ctx context.Context, dec
 		FullMethod: "/api.account.Account/PersonLookScrip",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(AccountServer).PersonLookScrip(ctx, req.(*PersonLookScripRequest))
+		return srv.(AccountServer).PersonLookScrip(ctx, req.(*common.PersonLookScripRequest))
 	}
 	return interceptor(ctx, in, info, handler)
 }

+ 630 - 12
api/common/common.pb.go

@@ -4337,6 +4337,479 @@ func (x *IdentifyIdRequest) GetIdentifyId() string {
 	return ""
 }
 
+type PersonLookScripRequest struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	PersonId   string `protobuf:"bytes,1,opt,name=personId,proto3" json:"personId"`
+	PersonType string `protobuf:"bytes,2,opt,name=personType,proto3" json:"personType"`
+	ScripId    int64  `protobuf:"varint,3,opt,name=scripId,proto3" json:"scripId"` // 纸条id
+}
+
+func (x *PersonLookScripRequest) Reset() {
+	*x = PersonLookScripRequest{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[61]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *PersonLookScripRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PersonLookScripRequest) ProtoMessage() {}
+
+func (x *PersonLookScripRequest) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[61]
+	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 PersonLookScripRequest.ProtoReflect.Descriptor instead.
+func (*PersonLookScripRequest) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{61}
+}
+
+func (x *PersonLookScripRequest) GetPersonId() string {
+	if x != nil {
+		return x.PersonId
+	}
+	return ""
+}
+
+func (x *PersonLookScripRequest) GetPersonType() string {
+	if x != nil {
+		return x.PersonType
+	}
+	return ""
+}
+
+func (x *PersonLookScripRequest) GetScripId() int64 {
+	if x != nil {
+		return x.ScripId
+	}
+	return 0
+}
+
+type FindScripRequest struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	PersonId   string `protobuf:"bytes,1,opt,name=personId,proto3" json:"personId"`
+	PersonType string `protobuf:"bytes,2,opt,name=personType,proto3" json:"personType"`
+	NextId     int64  `protobuf:"varint,3,opt,name=nextId,proto3" json:"nextId"`
+	Offset     int64  `protobuf:"varint,4,opt,name=offset,proto3" json:"offset"`
+}
+
+func (x *FindScripRequest) Reset() {
+	*x = FindScripRequest{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[62]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *FindScripRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FindScripRequest) ProtoMessage() {}
+
+func (x *FindScripRequest) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[62]
+	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 FindScripRequest.ProtoReflect.Descriptor instead.
+func (*FindScripRequest) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{62}
+}
+
+func (x *FindScripRequest) GetPersonId() string {
+	if x != nil {
+		return x.PersonId
+	}
+	return ""
+}
+
+func (x *FindScripRequest) GetPersonType() string {
+	if x != nil {
+		return x.PersonType
+	}
+	return ""
+}
+
+func (x *FindScripRequest) GetNextId() int64 {
+	if x != nil {
+		return x.NextId
+	}
+	return 0
+}
+
+func (x *FindScripRequest) GetOffset() int64 {
+	if x != nil {
+		return x.Offset
+	}
+	return 0
+}
+
+type ScripReply struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	List   []*ScripInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
+	NextId int64        `protobuf:"varint,2,opt,name=nextId,proto3" json:"nextId"`
+}
+
+func (x *ScripReply) Reset() {
+	*x = ScripReply{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[63]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *ScripReply) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ScripReply) ProtoMessage() {}
+
+func (x *ScripReply) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[63]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use ScripReply.ProtoReflect.Descriptor instead.
+func (*ScripReply) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{63}
+}
+
+func (x *ScripReply) GetList() []*ScripInfo {
+	if x != nil {
+		return x.List
+	}
+	return nil
+}
+
+func (x *ScripReply) GetNextId() int64 {
+	if x != nil {
+		return x.NextId
+	}
+	return 0
+}
+
+type ScripInfo struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	PersonId     string `protobuf:"bytes,1,opt,name=personId,proto3" json:"personId"`         // 创建者ID
+	PersonType   string `protobuf:"bytes,2,opt,name=personType,proto3" json:"personType"`     // 创建者类型
+	Text         string `protobuf:"bytes,3,opt,name=text,proto3" json:"text"`                 // 纸条内容
+	PictureUrl   string `protobuf:"bytes,4,opt,name=pictureUrl,proto3" json:"pictureUrl"`     // 纸条配图
+	PersonName   string `protobuf:"bytes,5,opt,name=personName,proto3" json:"personName"`     // 创建者名称
+	PersonSex    int64  `protobuf:"varint,6,opt,name=personSex,proto3" json:"personSex"`      // 创建者性别
+	PersonAvatar string `protobuf:"bytes,7,opt,name=personAvatar,proto3" json:"personAvatar"` // 创建者头像
+	CreateTime   int64  `protobuf:"varint,8,opt,name=createTime,proto3" json:"createTime"`    // 创建时间
+}
+
+func (x *ScripInfo) Reset() {
+	*x = ScripInfo{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[64]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *ScripInfo) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ScripInfo) ProtoMessage() {}
+
+func (x *ScripInfo) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[64]
+	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 ScripInfo.ProtoReflect.Descriptor instead.
+func (*ScripInfo) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{64}
+}
+
+func (x *ScripInfo) GetPersonId() string {
+	if x != nil {
+		return x.PersonId
+	}
+	return ""
+}
+
+func (x *ScripInfo) GetPersonType() string {
+	if x != nil {
+		return x.PersonType
+	}
+	return ""
+}
+
+func (x *ScripInfo) GetText() string {
+	if x != nil {
+		return x.Text
+	}
+	return ""
+}
+
+func (x *ScripInfo) GetPictureUrl() string {
+	if x != nil {
+		return x.PictureUrl
+	}
+	return ""
+}
+
+func (x *ScripInfo) GetPersonName() string {
+	if x != nil {
+		return x.PersonName
+	}
+	return ""
+}
+
+func (x *ScripInfo) GetPersonSex() int64 {
+	if x != nil {
+		return x.PersonSex
+	}
+	return 0
+}
+
+func (x *ScripInfo) GetPersonAvatar() string {
+	if x != nil {
+		return x.PersonAvatar
+	}
+	return ""
+}
+
+func (x *ScripInfo) GetCreateTime() int64 {
+	if x != nil {
+		return x.CreateTime
+	}
+	return 0
+}
+
+type DeleteScripRequest struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
+	PersonId   string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"`
+	PersonType string `protobuf:"bytes,3,opt,name=personType,proto3" json:"personType"`
+}
+
+func (x *DeleteScripRequest) Reset() {
+	*x = DeleteScripRequest{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[65]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *DeleteScripRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*DeleteScripRequest) ProtoMessage() {}
+
+func (x *DeleteScripRequest) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[65]
+	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 DeleteScripRequest.ProtoReflect.Descriptor instead.
+func (*DeleteScripRequest) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{65}
+}
+
+func (x *DeleteScripRequest) GetId() int64 {
+	if x != nil {
+		return x.Id
+	}
+	return 0
+}
+
+func (x *DeleteScripRequest) GetPersonId() string {
+	if x != nil {
+		return x.PersonId
+	}
+	return ""
+}
+
+func (x *DeleteScripRequest) GetPersonType() string {
+	if x != nil {
+		return x.PersonType
+	}
+	return ""
+}
+
+type CreateScripRequest struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	PersonId   string `protobuf:"bytes,1,opt,name=personId,proto3" json:"personId"`
+	PersonType string `protobuf:"bytes,2,opt,name=personType,proto3" json:"personType"`
+	Text       string `protobuf:"bytes,3,opt,name=text,proto3" json:"text"`
+	PictureUrl string `protobuf:"bytes,4,opt,name=pictureUrl,proto3" json:"pictureUrl"`
+}
+
+func (x *CreateScripRequest) Reset() {
+	*x = CreateScripRequest{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[66]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *CreateScripRequest) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CreateScripRequest) ProtoMessage() {}
+
+func (x *CreateScripRequest) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[66]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use CreateScripRequest.ProtoReflect.Descriptor instead.
+func (*CreateScripRequest) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{66}
+}
+
+func (x *CreateScripRequest) GetPersonId() string {
+	if x != nil {
+		return x.PersonId
+	}
+	return ""
+}
+
+func (x *CreateScripRequest) GetPersonType() string {
+	if x != nil {
+		return x.PersonType
+	}
+	return ""
+}
+
+func (x *CreateScripRequest) GetText() string {
+	if x != nil {
+		return x.Text
+	}
+	return ""
+}
+
+func (x *CreateScripRequest) GetPictureUrl() string {
+	if x != nil {
+		return x.PictureUrl
+	}
+	return ""
+}
+
+type ScripID struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
+}
+
+func (x *ScripID) Reset() {
+	*x = ScripID{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_common_proto_msgTypes[67]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *ScripID) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ScripID) ProtoMessage() {}
+
+func (x *ScripID) ProtoReflect() protoreflect.Message {
+	mi := &file_common_proto_msgTypes[67]
+	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 ScripID.ProtoReflect.Descriptor instead.
+func (*ScripID) Descriptor() ([]byte, []int) {
+	return file_common_proto_rawDescGZIP(), []int{67}
+}
+
+func (x *ScripID) GetId() int64 {
+	if x != nil {
+		return x.Id
+	}
+	return 0
+}
+
 var File_common_proto protoreflect.FileDescriptor
 
 var file_common_proto_rawDesc = []byte{
@@ -4845,11 +5318,64 @@ var file_common_proto_rawDesc = []byte{
 	0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
 	0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64, 0x18, 0x01,
 	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x49, 0x64,
-	0x42, 0x43, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x01,
-	0x5a, 0x33, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d,
-	0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f,
-	0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x63,
-	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+	0x22, 0x6e, 0x0a, 0x16, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x6f, 0x6f, 0x6b, 0x53, 0x63,
+	0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
+	0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73,
+	0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x49,
+	0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x49, 0x64,
+	0x22, 0x7e, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71,
+	0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
+	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64,
+	0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
+	0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
+	0x52, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73,
+	0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
+	0x22, 0x4f, 0x0a, 0x0a, 0x53, 0x63, 0x72, 0x69, 0x70, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x29,
+	0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61,
+	0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49,
+	0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65, 0x78,
+	0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x65, 0x78, 0x74, 0x49,
+	0x64, 0x22, 0xfd, 0x01, 0x0a, 0x09, 0x53, 0x63, 0x72, 0x69, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12,
+	0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+	0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70,
+	0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+	0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74,
+	0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12,
+	0x1e, 0x0a, 0x0a, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x04, 0x20,
+	0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x12,
+	0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20,
+	0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12,
+	0x1c, 0x0a, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x53, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01,
+	0x28, 0x03, 0x52, 0x09, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x53, 0x65, 0x78, 0x12, 0x22, 0x0a,
+	0x0c, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x07, 0x20,
+	0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x41, 0x76, 0x61, 0x74, 0x61,
+	0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18,
+	0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
+	0x65, 0x22, 0x60, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x63, 0x72, 0x69, 0x70,
+	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
+	0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f,
+	0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f,
+	0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70,
+	0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x54,
+	0x79, 0x70, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x63,
+	0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65,
+	0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e,
+	0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x73,
+	0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x69,
+	0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
+	0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x19, 0x0a, 0x07, 0x53, 0x63,
+	0x72, 0x69, 0x70, 0x49, 0x44, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+	0x03, 0x52, 0x02, 0x69, 0x64, 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 (
@@ -4864,7 +5390,7 @@ func file_common_proto_rawDescGZIP() []byte {
 	return file_common_proto_rawDescData
 }
 
-var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 61)
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 68)
 var file_common_proto_goTypes = []interface{}{
 	(*UserAndPartnerIdentifyIdParam)(nil), // 0: api.common.UserAndPartnerIdentifyIdParam
 	(*UserAndPartnerParam)(nil),           // 1: api.common.UserAndPartnerParam
@@ -4927,6 +5453,13 @@ var file_common_proto_goTypes = []interface{}{
 	(*FindRecommendRequest)(nil),          // 58: api.common.FindRecommendRequest
 	(*FindOverSevenDayAvatarReply)(nil),   // 59: api.common.FindOverSevenDayAvatarReply
 	(*IdentifyIdRequest)(nil),             // 60: api.common.IdentifyIdRequest
+	(*PersonLookScripRequest)(nil),        // 61: api.common.PersonLookScripRequest
+	(*FindScripRequest)(nil),              // 62: api.common.FindScripRequest
+	(*ScripReply)(nil),                    // 63: api.common.ScripReply
+	(*ScripInfo)(nil),                     // 64: api.common.ScripInfo
+	(*DeleteScripRequest)(nil),            // 65: api.common.DeleteScripRequest
+	(*CreateScripRequest)(nil),            // 66: api.common.CreateScripRequest
+	(*ScripID)(nil),                       // 67: api.common.ScripID
 }
 var file_common_proto_depIdxs = []int32{
 	29, // 0: api.common.ChatCardInfo.tagList:type_name -> api.common.TagList
@@ -4939,11 +5472,12 @@ var file_common_proto_depIdxs = []int32{
 	39, // 7: api.common.ChatRecordInfo.message:type_name -> api.common.Message
 	50, // 8: api.common.MemeTitleList.list:type_name -> api.common.MemeTitle
 	57, // 9: api.common.RecommendPersonListReply.list:type_name -> api.common.RecommendPersonInfo
-	10, // [10:10] is the sub-list for method output_type
-	10, // [10:10] is the sub-list for method input_type
-	10, // [10:10] is the sub-list for extension type_name
-	10, // [10:10] is the sub-list for extension extendee
-	0,  // [0:10] is the sub-list for field type_name
+	64, // 10: api.common.ScripReply.list:type_name -> api.common.ScripInfo
+	11, // [11:11] is the sub-list for method output_type
+	11, // [11:11] is the sub-list for method input_type
+	11, // [11:11] is the sub-list for extension type_name
+	11, // [11:11] is the sub-list for extension extendee
+	0,  // [0:11] is the sub-list for field type_name
 }
 
 func init() { file_common_proto_init() }
@@ -5684,6 +6218,90 @@ func file_common_proto_init() {
 				return nil
 			}
 		}
+		file_common_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*PersonLookScripRequest); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_common_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*FindScripRequest); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_common_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*ScripReply); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_common_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*ScripInfo); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_common_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*DeleteScripRequest); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_common_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*CreateScripRequest); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_common_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*ScripID); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
 	}
 	type x struct{}
 	out := protoimpl.TypeBuilder{
@@ -5691,7 +6309,7 @@ func file_common_proto_init() {
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: file_common_proto_rawDesc,
 			NumEnums:      0,
-			NumMessages:   61,
+			NumMessages:   68,
 			NumExtensions: 0,
 			NumServices:   0,
 		},

+ 46 - 0
api/common/common.proto

@@ -436,4 +436,50 @@ message FindOverSevenDayAvatarReply{
 
 message IdentifyIdRequest{
   string identifyId = 1;// 发起举报的人的身份ID
+}
+
+message PersonLookScripRequest{
+  string personId = 1;
+  string personType = 2;
+  int64 scripId = 3;// 纸条id
+}
+
+message FindScripRequest {
+  string personId = 1;
+  string personType = 2;
+  int64 nextId = 3;
+  int64 offset = 4;
+}
+
+message ScripReply {
+  repeated ScripInfo list = 1;
+  int64 nextId = 2;
+}
+
+message ScripInfo {
+  string personId = 1;// 创建者ID
+  string personType = 2;// 创建者类型
+  string text = 3;// 纸条内容
+  string pictureUrl = 4;// 纸条配图
+  string personName = 5;// 创建者名称
+  int64 personSex = 6;// 创建者性别
+  string personAvatar = 7;// 创建者头像
+  int64 createTime = 8;// 创建时间
+}
+
+message DeleteScripRequest {
+  int64 id = 1;
+  string personId = 2;
+  string personType = 3;
+}
+
+message CreateScripRequest {
+  string personId = 1;
+  string personType = 2;
+  string text = 3;
+  string pictureUrl = 4;
+}
+
+message ScripID {
+  int64 id = 1;
 }

Fișier diff suprimat deoarece este prea mare
+ 775 - 516
api/user/user.pb.go


+ 60 - 0
api/user/user.proto

@@ -338,6 +338,66 @@ service User {
       body:"*"
     };
   };
+  // 创建纸条
+  rpc CreateScrip (CreateScripRequest) returns (common.ScripID){
+    option (google.api.http) = {
+      post: "/api/user/scrip/create",
+      body:"*"
+    };
+  };
+  // 删除纸条
+  rpc DeleteScrip (DeleteScripRequest) returns (google.protobuf.Empty){
+    option (google.api.http) = {
+      post: "/api/user/scrip/delete",
+      body:"*"
+    };
+  };
+  // 查询自己的小纸条
+  rpc FindMyScrip (FindScripRequest) returns (common.ScripReply){
+    option (google.api.http) = {
+      post: "/api/user/scrip/find/self",
+      body:"*"
+    };
+  };
+  // 查询随机纸条列表
+  rpc FindRecommendScrip (FindScripRequest) returns (common.ScripReply){
+    option (google.api.http) = {
+      post: "/api/user/scrip/find/recommend",
+      body:"*"
+    };
+  };
+  // 用户查看纸条
+  rpc PersonLookScrip (PersonLookScripRequest) returns (google.protobuf.Empty){
+    option (google.api.http) = {
+      post: "/api/user/scrip/look",
+      body:"*"
+    };
+  };
+  // 用户点击回看
+  rpc PersonClickLookBack (common.PersonParam) returns (common.ScripInfo){
+    option (google.api.http) = {
+      post: "/api/user/scrip/look/back",
+      body:"*"
+    };
+  };
+}
+
+message PersonLookScripRequest{
+  int64 scripId = 3;// 纸条id
+}
+
+message FindScripRequest {
+  int64 nextId = 3;
+  int64 offset = 4;
+}
+
+message DeleteScripRequest {
+  int64 scripId = 1;// 纸条id
+}
+
+message CreateScripRequest {
+  string text = 1;// 纸条内容
+  string pictureUrl = 2; // 纸条背景图
 }
 
 message FindMatchingAvatarAndNumReply{

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

@@ -119,6 +119,18 @@ type UserClient interface {
 	FindOverSevenDayAvatar(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.FindOverSevenDayAvatarReply, error)
 	// 获取匹配的头像数组以及数量
 	FindMatchingAvatarAndNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FindMatchingAvatarAndNumReply, error)
+	// 创建纸条
+	CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error)
+	// 删除纸条
+	DeleteScrip(ctx context.Context, in *DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
+	// 查询自己的小纸条
+	FindMyScrip(ctx context.Context, in *FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
+	// 查询随机纸条列表
+	FindRecommendScrip(ctx context.Context, in *FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
+	// 用户查看纸条
+	PersonLookScrip(ctx context.Context, in *PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
+	// 用户点击回看
+	PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error)
 }
 
 type userClient struct {
@@ -570,6 +582,60 @@ func (c *userClient) FindMatchingAvatarAndNum(ctx context.Context, in *emptypb.E
 	return out, nil
 }
 
+func (c *userClient) CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error) {
+	out := new(common.ScripID)
+	err := c.cc.Invoke(ctx, "/api.user.User/CreateScrip", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
+func (c *userClient) DeleteScrip(ctx context.Context, in *DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+	out := new(emptypb.Empty)
+	err := c.cc.Invoke(ctx, "/api.user.User/DeleteScrip", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
+func (c *userClient) FindMyScrip(ctx context.Context, in *FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
+	out := new(common.ScripReply)
+	err := c.cc.Invoke(ctx, "/api.user.User/FindMyScrip", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
+func (c *userClient) FindRecommendScrip(ctx context.Context, in *FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
+	out := new(common.ScripReply)
+	err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendScrip", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
+func (c *userClient) PersonLookScrip(ctx context.Context, in *PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
+	out := new(emptypb.Empty)
+	err := c.cc.Invoke(ctx, "/api.user.User/PersonLookScrip", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
+func (c *userClient) PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error) {
+	out := new(common.ScripInfo)
+	err := c.cc.Invoke(ctx, "/api.user.User/PersonClickLookBack", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 // UserServer is the server API for User service.
 // All implementations must embed UnimplementedUserServer
 // for forward compatibility
@@ -671,6 +737,18 @@ type UserServer interface {
 	FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error)
 	// 获取匹配的头像数组以及数量
 	FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error)
+	// 创建纸条
+	CreateScrip(context.Context, *CreateScripRequest) (*common.ScripID, error)
+	// 删除纸条
+	DeleteScrip(context.Context, *DeleteScripRequest) (*emptypb.Empty, error)
+	// 查询自己的小纸条
+	FindMyScrip(context.Context, *FindScripRequest) (*common.ScripReply, error)
+	// 查询随机纸条列表
+	FindRecommendScrip(context.Context, *FindScripRequest) (*common.ScripReply, error)
+	// 用户查看纸条
+	PersonLookScrip(context.Context, *PersonLookScripRequest) (*emptypb.Empty, error)
+	// 用户点击回看
+	PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error)
 	mustEmbedUnimplementedUserServer()
 }
 
@@ -825,6 +903,24 @@ func (UnimplementedUserServer) FindOverSevenDayAvatar(context.Context, *emptypb.
 func (UnimplementedUserServer) FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method FindMatchingAvatarAndNum not implemented")
 }
+func (UnimplementedUserServer) CreateScrip(context.Context, *CreateScripRequest) (*common.ScripID, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method CreateScrip not implemented")
+}
+func (UnimplementedUserServer) DeleteScrip(context.Context, *DeleteScripRequest) (*emptypb.Empty, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method DeleteScrip not implemented")
+}
+func (UnimplementedUserServer) FindMyScrip(context.Context, *FindScripRequest) (*common.ScripReply, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method FindMyScrip not implemented")
+}
+func (UnimplementedUserServer) FindRecommendScrip(context.Context, *FindScripRequest) (*common.ScripReply, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method FindRecommendScrip not implemented")
+}
+func (UnimplementedUserServer) PersonLookScrip(context.Context, *PersonLookScripRequest) (*emptypb.Empty, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method PersonLookScrip not implemented")
+}
+func (UnimplementedUserServer) PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method PersonClickLookBack not implemented")
+}
 func (UnimplementedUserServer) mustEmbedUnimplementedUserServer() {}
 
 // UnsafeUserServer may be embedded to opt out of forward compatibility for this service.
@@ -1720,6 +1816,114 @@ func _User_FindMatchingAvatarAndNum_Handler(srv interface{}, ctx context.Context
 	return interceptor(ctx, in, info, handler)
 }
 
+func _User_CreateScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(CreateScripRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(UserServer).CreateScrip(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.user.User/CreateScrip",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(UserServer).CreateScrip(ctx, req.(*CreateScripRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
+func _User_DeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(DeleteScripRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(UserServer).DeleteScrip(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.user.User/DeleteScrip",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(UserServer).DeleteScrip(ctx, req.(*DeleteScripRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
+func _User_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(FindScripRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(UserServer).FindMyScrip(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.user.User/FindMyScrip",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(UserServer).FindMyScrip(ctx, req.(*FindScripRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
+func _User_FindRecommendScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(FindScripRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(UserServer).FindRecommendScrip(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.user.User/FindRecommendScrip",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(UserServer).FindRecommendScrip(ctx, req.(*FindScripRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
+func _User_PersonLookScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(PersonLookScripRequest)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(UserServer).PersonLookScrip(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.user.User/PersonLookScrip",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(UserServer).PersonLookScrip(ctx, req.(*PersonLookScripRequest))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
+func _User_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.(UserServer).PersonClickLookBack(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/api.user.User/PersonClickLookBack",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(UserServer).PersonClickLookBack(ctx, req.(*common.PersonParam))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 // User_ServiceDesc is the grpc.ServiceDesc for User service.
 // It's only intended for direct use with grpc.RegisterService,
 // and not to be introspected or modified (even as a copy)
@@ -1923,6 +2127,30 @@ var User_ServiceDesc = grpc.ServiceDesc{
 			MethodName: "FindMatchingAvatarAndNum",
 			Handler:    _User_FindMatchingAvatarAndNum_Handler,
 		},
+		{
+			MethodName: "CreateScrip",
+			Handler:    _User_CreateScrip_Handler,
+		},
+		{
+			MethodName: "DeleteScrip",
+			Handler:    _User_DeleteScrip_Handler,
+		},
+		{
+			MethodName: "FindMyScrip",
+			Handler:    _User_FindMyScrip_Handler,
+		},
+		{
+			MethodName: "FindRecommendScrip",
+			Handler:    _User_FindRecommendScrip_Handler,
+		},
+		{
+			MethodName: "PersonLookScrip",
+			Handler:    _User_PersonLookScrip_Handler,
+		},
+		{
+			MethodName: "PersonClickLookBack",
+			Handler:    _User_PersonClickLookBack_Handler,
+		},
 	},
 	Streams:  []grpc.StreamDesc{},
 	Metadata: "user.proto",

+ 258 - 0
api/user/user_http.pb.go

@@ -32,7 +32,9 @@ const _ = http.SupportPackageIsVersion1
 type UserHTTPServer interface {
 	CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)
 	CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error)
+	CreateScrip(context.Context, *CreateScripRequest) (*common.ScripID, error)
 	CreateUserPersonRoom(context.Context, *common.CreateChatRoomParam) (*chat.RoomReply, error)
+	DeleteScrip(context.Context, *DeleteScripRequest) (*emptypb.Empty, error)
 	FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error)
 	FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
 	FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error)
@@ -43,12 +45,14 @@ type UserHTTPServer interface {
 	FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error)
 	FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
 	FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
+	FindMyScrip(context.Context, *FindScripRequest) (*common.ScripReply, error)
 	FindOnlineList(context.Context, *common.ListPage2Request) (*common.RecommendPersonListReply, error)
 	FindOverSevenDayAvatar(context.Context, *emptypb.Empty) (*common.FindOverSevenDayAvatarReply, error)
 	FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
 	FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error)
 	FindRechargeList(context.Context, *emptypb.Empty) (*RechargeList, error)
 	FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error)
+	FindRecommendScrip(context.Context, *FindScripRequest) (*common.ScripReply, error)
 	FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
 	FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
 	GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error)
@@ -57,6 +61,8 @@ type UserHTTPServer interface {
 	GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error)
 	GetUserIsLike(context.Context, *common.PersonParam) (*common.IsLike, error)
 	GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error)
+	PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error)
+	PersonLookScrip(context.Context, *PersonLookScripRequest) (*emptypb.Empty, error)
 	RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error)
 	RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error)
 	Report(context.Context, *common.ReportChatRequest) (*emptypb.Empty, error)
@@ -124,6 +130,12 @@ func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer) {
 	r.POST("/api/user/list/recommend", _User_FindRecommendPersonList0_HTTP_Handler(srv))
 	r.POST("/api/user/over/avatar/list", _User_FindOverSevenDayAvatar0_HTTP_Handler(srv))
 	r.POST("/api/user/matching/message", _User_FindMatchingAvatarAndNum0_HTTP_Handler(srv))
+	r.POST("/api/user/scrip/create", _User_CreateScrip0_HTTP_Handler(srv))
+	r.POST("/api/user/scrip/delete", _User_DeleteScrip0_HTTP_Handler(srv))
+	r.POST("/api/user/scrip/find/self", _User_FindMyScrip0_HTTP_Handler(srv))
+	r.POST("/api/user/scrip/find/recommend", _User_FindRecommendScrip0_HTTP_Handler(srv))
+	r.POST("/api/user/scrip/look", _User_PersonLookScrip0_HTTP_Handler(srv))
+	r.POST("/api/user/scrip/look/back", _User_PersonClickLookBack0_HTTP_Handler(srv))
 }
 
 func _User_UpdateUserInformation0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
@@ -1341,10 +1353,174 @@ func _User_FindMatchingAvatarAndNum0_HTTP_Handler(srv UserHTTPServer) func(ctx h
 	}
 }
 
+func _User_CreateScrip0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
+	return func(ctx http.Context) error {
+		var in CreateScripRequest
+		if err := ctx.Bind(&in); err != nil {
+			return err
+		}
+		if err := ctx.BindQuery(&in); err != nil {
+			return err
+		}
+		http.SetOperation(ctx, "/api.user.User/CreateScrip")
+		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
+			return srv.CreateScrip(ctx, req.(*CreateScripRequest))
+		})
+		out, err := h(ctx, &in)
+		if err != nil {
+			return err
+		}
+		success := &reply.SuccessReply{
+			Code: 0,
+		}
+		if out != nil {
+			success.Data = out
+		}
+		return ctx.Result(200, success)
+	}
+}
+
+func _User_DeleteScrip0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
+	return func(ctx http.Context) error {
+		var in DeleteScripRequest
+		if err := ctx.Bind(&in); err != nil {
+			return err
+		}
+		if err := ctx.BindQuery(&in); err != nil {
+			return err
+		}
+		http.SetOperation(ctx, "/api.user.User/DeleteScrip")
+		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
+			return srv.DeleteScrip(ctx, req.(*DeleteScripRequest))
+		})
+		out, err := h(ctx, &in)
+		if err != nil {
+			return err
+		}
+		success := &reply.SuccessReply{
+			Code: 0,
+		}
+		if out != nil {
+			success.Data = out
+		}
+		return ctx.Result(200, success)
+	}
+}
+
+func _User_FindMyScrip0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
+	return func(ctx http.Context) error {
+		var in FindScripRequest
+		if err := ctx.Bind(&in); err != nil {
+			return err
+		}
+		if err := ctx.BindQuery(&in); err != nil {
+			return err
+		}
+		http.SetOperation(ctx, "/api.user.User/FindMyScrip")
+		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
+			return srv.FindMyScrip(ctx, req.(*FindScripRequest))
+		})
+		out, err := h(ctx, &in)
+		if err != nil {
+			return err
+		}
+		success := &reply.SuccessReply{
+			Code: 0,
+		}
+		if out != nil {
+			success.Data = out
+		}
+		return ctx.Result(200, success)
+	}
+}
+
+func _User_FindRecommendScrip0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
+	return func(ctx http.Context) error {
+		var in FindScripRequest
+		if err := ctx.Bind(&in); err != nil {
+			return err
+		}
+		if err := ctx.BindQuery(&in); err != nil {
+			return err
+		}
+		http.SetOperation(ctx, "/api.user.User/FindRecommendScrip")
+		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
+			return srv.FindRecommendScrip(ctx, req.(*FindScripRequest))
+		})
+		out, err := h(ctx, &in)
+		if err != nil {
+			return err
+		}
+		success := &reply.SuccessReply{
+			Code: 0,
+		}
+		if out != nil {
+			success.Data = out
+		}
+		return ctx.Result(200, success)
+	}
+}
+
+func _User_PersonLookScrip0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
+	return func(ctx http.Context) error {
+		var in PersonLookScripRequest
+		if err := ctx.Bind(&in); err != nil {
+			return err
+		}
+		if err := ctx.BindQuery(&in); err != nil {
+			return err
+		}
+		http.SetOperation(ctx, "/api.user.User/PersonLookScrip")
+		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
+			return srv.PersonLookScrip(ctx, req.(*PersonLookScripRequest))
+		})
+		out, err := h(ctx, &in)
+		if err != nil {
+			return err
+		}
+		success := &reply.SuccessReply{
+			Code: 0,
+		}
+		if out != nil {
+			success.Data = out
+		}
+		return ctx.Result(200, success)
+	}
+}
+
+func _User_PersonClickLookBack0_HTTP_Handler(srv UserHTTPServer) func(ctx http.Context) error {
+	return func(ctx http.Context) error {
+		var in common.PersonParam
+		if err := ctx.Bind(&in); err != nil {
+			return err
+		}
+		if err := ctx.BindQuery(&in); err != nil {
+			return err
+		}
+		http.SetOperation(ctx, "/api.user.User/PersonClickLookBack")
+		h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
+			return srv.PersonClickLookBack(ctx, req.(*common.PersonParam))
+		})
+		out, err := h(ctx, &in)
+		if err != nil {
+			return err
+		}
+		success := &reply.SuccessReply{
+			Code: 0,
+		}
+		if out != nil {
+			success.Data = out
+		}
+		return ctx.Result(200, success)
+	}
+}
+
 type UserHTTPClient interface {
 	CheckPhoneCode(ctx context.Context, req *common.CheckPhoneCodeRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	CheckUserPartnerIsRelationship(ctx context.Context, req *common.PartnerIDParam, opts ...http.CallOption) (rsp *chat.CheckUserPartnerIsRelationshipReply, err error)
+	CreateScrip(ctx context.Context, req *CreateScripRequest, opts ...http.CallOption) (rsp *common.ScripID, err error)
 	CreateUserPersonRoom(ctx context.Context, req *common.CreateChatRoomParam, opts ...http.CallOption) (rsp *chat.RoomReply, err error)
+	DeleteScrip(ctx context.Context, req *DeleteScripRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	FindChatRecordList(ctx context.Context, req *common.FindChatRecordListRequest, opts ...http.CallOption) (rsp *common.ChatRecordListReply, err error)
 	FindChatRoomMsg(ctx context.Context, req *common.FindChatRoomMsgRequest, opts ...http.CallOption) (rsp *common.ChatRoomMsg, err error)
 	FindChatTopic(ctx context.Context, req *common.FindChatTopicRequest, opts ...http.CallOption) (rsp *common.ChatTopicList, err error)
@@ -1355,12 +1531,14 @@ type UserHTTPClient interface {
 	FindMatchingAvatarAndNum(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *FindMatchingAvatarAndNumReply, err error)
 	FindMemeByType(ctx context.Context, req *common.MemeRequest, opts ...http.CallOption) (rsp *common.MemeList, err error)
 	FindMemeTitle(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.MemeTitleList, err error)
+	FindMyScrip(ctx context.Context, req *FindScripRequest, opts ...http.CallOption) (rsp *common.ScripReply, err error)
 	FindOnlineList(ctx context.Context, req *common.ListPage2Request, opts ...http.CallOption) (rsp *common.RecommendPersonListReply, err error)
 	FindOverSevenDayAvatar(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.FindOverSevenDayAvatarReply, err error)
 	FindOverSevenDayRoomList(ctx context.Context, req *common.ListPageRequest, opts ...http.CallOption) (rsp *UserFindChatListReply, err error)
 	FindPayList(ctx context.Context, req *FindPayOrderListRequest, opts ...http.CallOption) (rsp *PayOrderList, err error)
 	FindRechargeList(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *RechargeList, err error)
 	FindRecommendPersonList(ctx context.Context, req *FindRecommendPersonListRequest, opts ...http.CallOption) (rsp *common.RecommendPersonListReply, err error)
+	FindRecommendScrip(ctx context.Context, req *FindScripRequest, opts ...http.CallOption) (rsp *common.ScripReply, err error)
 	FindTagListBySex(ctx context.Context, req *common.SexReq, opts ...http.CallOption) (rsp *common.TagListReply, err error)
 	FindWithinSevenDayRoomList(ctx context.Context, req *common.ListPageRequest, opts ...http.CallOption) (rsp *UserFindChatListReply, err error)
 	GetLookAndLikeStatisticsMessage(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *statistics.LookAndLikeMessageReply, err error)
@@ -1369,6 +1547,8 @@ type UserHTTPClient interface {
 	GetUserInfo(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *UserInfo, err error)
 	GetUserIsLike(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *common.IsLike, err error)
 	GetUserLookNum(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *statistics.LookMessageReply, err error)
+	PersonClickLookBack(ctx context.Context, req *common.PersonParam, opts ...http.CallOption) (rsp *common.ScripInfo, err error)
+	PersonLookScrip(ctx context.Context, req *PersonLookScripRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
 	RandomMeme(ctx context.Context, req *common.RandomNum, opts ...http.CallOption) (rsp *common.CommonTextList, err error)
 	RandomSwiftMessage(ctx context.Context, req *common.RandomNumAndSex, opts ...http.CallOption) (rsp *common.CommonTextList, err error)
 	Report(ctx context.Context, req *common.ReportChatRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
@@ -1423,6 +1603,19 @@ func (c *UserHTTPClientImpl) CheckUserPartnerIsRelationship(ctx context.Context,
 	return &out, err
 }
 
+func (c *UserHTTPClientImpl) CreateScrip(ctx context.Context, in *CreateScripRequest, opts ...http.CallOption) (*common.ScripID, error) {
+	var out common.ScripID
+	pattern := "/api/user/scrip/create"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.user.User/CreateScrip"))
+	opts = append(opts, http.PathTemplate(pattern))
+	err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return &out, err
+}
+
 func (c *UserHTTPClientImpl) CreateUserPersonRoom(ctx context.Context, in *common.CreateChatRoomParam, opts ...http.CallOption) (*chat.RoomReply, error) {
 	var out chat.RoomReply
 	pattern := "/api/user/create/room"
@@ -1436,6 +1629,19 @@ func (c *UserHTTPClientImpl) CreateUserPersonRoom(ctx context.Context, in *commo
 	return &out, err
 }
 
+func (c *UserHTTPClientImpl) DeleteScrip(ctx context.Context, in *DeleteScripRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
+	var out emptypb.Empty
+	pattern := "/api/user/scrip/delete"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.user.User/DeleteScrip"))
+	opts = append(opts, http.PathTemplate(pattern))
+	err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return &out, err
+}
+
 func (c *UserHTTPClientImpl) FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...http.CallOption) (*common.ChatRecordListReply, error) {
 	var out common.ChatRecordListReply
 	pattern := "/api/user/chat/record"
@@ -1566,6 +1772,19 @@ func (c *UserHTTPClientImpl) FindMemeTitle(ctx context.Context, in *emptypb.Empt
 	return &out, err
 }
 
+func (c *UserHTTPClientImpl) FindMyScrip(ctx context.Context, in *FindScripRequest, opts ...http.CallOption) (*common.ScripReply, error) {
+	var out common.ScripReply
+	pattern := "/api/user/scrip/find/self"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.user.User/FindMyScrip"))
+	opts = append(opts, http.PathTemplate(pattern))
+	err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return &out, err
+}
+
 func (c *UserHTTPClientImpl) FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...http.CallOption) (*common.RecommendPersonListReply, error) {
 	var out common.RecommendPersonListReply
 	pattern := "/api/user/list/online"
@@ -1644,6 +1863,19 @@ func (c *UserHTTPClientImpl) FindRecommendPersonList(ctx context.Context, in *Fi
 	return &out, err
 }
 
+func (c *UserHTTPClientImpl) FindRecommendScrip(ctx context.Context, in *FindScripRequest, opts ...http.CallOption) (*common.ScripReply, error) {
+	var out common.ScripReply
+	pattern := "/api/user/scrip/find/recommend"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.user.User/FindRecommendScrip"))
+	opts = append(opts, http.PathTemplate(pattern))
+	err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return &out, err
+}
+
 func (c *UserHTTPClientImpl) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...http.CallOption) (*common.TagListReply, error) {
 	var out common.TagListReply
 	pattern := "/api/user/list/tag"
@@ -1748,6 +1980,32 @@ func (c *UserHTTPClientImpl) GetUserLookNum(ctx context.Context, in *emptypb.Emp
 	return &out, err
 }
 
+func (c *UserHTTPClientImpl) PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...http.CallOption) (*common.ScripInfo, error) {
+	var out common.ScripInfo
+	pattern := "/api/user/scrip/look/back"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.user.User/PersonClickLookBack"))
+	opts = append(opts, http.PathTemplate(pattern))
+	err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return &out, err
+}
+
+func (c *UserHTTPClientImpl) PersonLookScrip(ctx context.Context, in *PersonLookScripRequest, opts ...http.CallOption) (*emptypb.Empty, error) {
+	var out emptypb.Empty
+	pattern := "/api/user/scrip/look"
+	path := binding.EncodeURL(pattern, in, false)
+	opts = append(opts, http.Operation("/api.user.User/PersonLookScrip"))
+	opts = append(opts, http.PathTemplate(pattern))
+	err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return &out, err
+}
+
 func (c *UserHTTPClientImpl) RandomMeme(ctx context.Context, in *common.RandomNum, opts ...http.CallOption) (*common.CommonTextList, error) {
 	var out common.CommonTextList
 	pattern := "/api/user/find/meme/random"

+ 2 - 2
js/api/account/account_http_pb.ts

@@ -1,7 +1,7 @@
 // @ts-ignore
 import request from '@/libs/request';
-import {DebugLoginRequest,TokenReply,AuthorizationRequest,RandomNicknameReply,RandomAvatarReply,RandomAvatarListReply,OpenIDAndAppIDRequest,IdentityInfo,MediaID,MaterialLink,CreateScripRequest,ScripID,DeleteScripRequest,FindScripRequest,ScripReply,PersonLookScripRequest,ScripInfo} from "./account_pb";
-import {SexReq,PersonParam,TagListReply,Ids,RandomIntroduceReply,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex} from "../common/common_pb";
+import {DebugLoginRequest,TokenReply,AuthorizationRequest,RandomNicknameReply,RandomAvatarReply,RandomAvatarListReply,OpenIDAndAppIDRequest,IdentityInfo,MediaID,MaterialLink} from "./account_pb";
+import {SexReq,PersonParam,TagListReply,Ids,RandomIntroduceReply,MemeRequest,MemeList,FindChatTopicRequest,ChatTopicList,RandomNum,CommonTextList,RandomNumAndSex,CreateScripRequest,ScripID,DeleteScripRequest,FindScripRequest,ScripReply,PersonLookScripRequest,ScripInfo} from "../common/common_pb";
 
 const AccountService = {
   DebugLogin: async (req?: DebugLoginRequest) => {

+ 0 - 48
js/api/account/account_pb.ts

@@ -1,51 +1,3 @@
-export interface PersonLookScripRequest{
-    personId?:string;
-    personType?:string;
-    /**  纸条id */
-    scripId?:number;
-}
-export interface FindScripRequest{
-    personId?:string;
-    personType?:string;
-    nextId?:number;
-    offset?:number;
-}
-export interface ScripReply{
-    list?:Array<ScripInfo>;
-    nextId?:number;
-}
-export interface ScripInfo{
-    /**  创建者ID */
-    personId?:string;
-    /**  创建者类型 */
-    personType?:string;
-    /**  纸条内容 */
-    text?:string;
-    /**  纸条配图 */
-    pictureUrl?:string;
-    /**  创建者名称 */
-    personName?:string;
-    /**  创建者性别 */
-    personSex?:number;
-    /**  创建者头像 */
-    personAvatar?:string;
-    /**  创建时间 */
-    createTime?:number;
-}
-export interface DeleteScripRequest{
-    id?:number;
-    personId?:string;
-    personType?:string;
-}
-export interface CreateScripRequest{
-    personId?:string;
-    personType?:string;
-    text?:string;
-    pictureUrl?:string;
-}
-export interface ScripID{
-    id?:number;
-}
 export interface MediaID{
     mediaId?:string;
 }

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

@@ -564,4 +564,52 @@ export interface IdentifyIdRequest{
     /**  发起举报的人的身份ID */
     identifyId?:string;
 }
+export interface PersonLookScripRequest{
+    personId?:string;
+    personType?:string;
+    /**  纸条id */
+    scripId?:number;
+}
+export interface FindScripRequest{
+    personId?:string;
+    personType?:string;
+    nextId?:number;
+    offset?:number;
+}
+export interface ScripReply{
+    list?:Array<ScripInfo>;
+    nextId?:number;
+}
+export interface ScripInfo{
+    /**  创建者ID */
+    personId?:string;
+    /**  创建者类型 */
+    personType?:string;
+    /**  纸条内容 */
+    text?:string;
+    /**  纸条配图 */
+    pictureUrl?:string;
+    /**  创建者名称 */
+    personName?:string;
+    /**  创建者性别 */
+    personSex?:number;
+    /**  创建者头像 */
+    personAvatar?:string;
+    /**  创建时间 */
+    createTime?:number;
+}
+export interface DeleteScripRequest{
+    id?:number;
+    personId?:string;
+    personType?:string;
+}
+export interface CreateScripRequest{
+    personId?:string;
+    personType?:string;
+    text?:string;
+    pictureUrl?:string;
+}
+export interface ScripID{
+    id?:number;
+}
 

+ 32 - 2
js/api/user/user_http_pb.ts

@@ -1,7 +1,7 @@
 // @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} from "../common/common_pb";
-import {UserInfo,KeyRequest,UserFindChatListReply,UserBalance,InformationStatus,UserRechargeRequest,PayInfo,RechargeList,FindPayOrderListRequest,PayOrderList,FindRecommendPersonListRequest,FindMatchingAvatarAndNumReply} from "./user_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,ScripInfo} from "../common/common_pb";
+import {UserInfo,KeyRequest,UserFindChatListReply,UserBalance,InformationStatus,UserRechargeRequest,PayInfo,RechargeList,FindPayOrderListRequest,PayOrderList,FindRecommendPersonListRequest,FindMatchingAvatarAndNumReply,CreateScripRequest,DeleteScripRequest,FindScripRequest,PersonLookScripRequest} from "./user_pb";
 import {CheckUserPartnerIsRelationshipReply,RoomReply} from "../chat/chat_pb";
 import {LookAndLikeListReply,LookAndLikeMessageReply,LookMessageReply} from "../statistics/statistics_pb";
 
@@ -231,6 +231,36 @@ const UserService = {
 	const res = await request.post<{ data: FindMatchingAvatarAndNumReply, code: string, message: string }>('/api/user/matching/message', req);
     return res.data.data;
   },
+  /**  创建纸条 */
+  CreateScrip: async (req?: CreateScripRequest) => {
+	const res = await request.post<{ data: ScripID, code: string, message: string }>('/api/user/scrip/create', req);
+    return res.data.data;
+  },
+  /**  删除纸条 */
+  DeleteScrip: async (req?: DeleteScripRequest) => {
+	const res = await request.post('/api/user/scrip/delete', req);
+    return res.data.data;
+  },
+  /**  查询自己的小纸条 */
+  FindMyScrip: async (req?: FindScripRequest) => {
+	const res = await request.post<{ data: ScripReply, code: string, message: string }>('/api/user/scrip/find/self', req);
+    return res.data.data;
+  },
+  /**  查询随机纸条列表 */
+  FindRecommendScrip: async (req?: FindScripRequest) => {
+	const res = await request.post<{ data: ScripReply, code: string, message: string }>('/api/user/scrip/find/recommend', req);
+    return res.data.data;
+  },
+  /**  用户查看纸条 */
+  PersonLookScrip: async (req?: PersonLookScripRequest) => {
+	const res = await request.post('/api/user/scrip/look', req);
+    return res.data.data;
+  },
+  /**  用户点击回看 */
+  PersonClickLookBack: async (req?: PersonParam) => {
+	const res = await request.post<{ data: ScripInfo, code: string, message: string }>('/api/user/scrip/look/back', req);
+    return res.data.data;
+  },
 
 };
 

+ 18 - 0
js/api/user/user_pb.ts

@@ -1,3 +1,21 @@
+export interface PersonLookScripRequest{
+    /**  纸条id */
+    scripId?:number;
+}
+export interface FindScripRequest{
+    nextId?:number;
+    offset?:number;
+}
+export interface DeleteScripRequest{
+    /**  纸条id */
+    scripId?:number;
+}
+export interface CreateScripRequest{
+    /**  纸条内容 */
+    text?:string;
+    /**  纸条背景图 */
+    pictureUrl?:string;
+}
 export interface FindMatchingAvatarAndNumReply{
     /**  匹配人数 */
     num?:number;

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff