|
|
@@ -129,7 +129,7 @@ type UserClient interface {
|
|
|
// 用户充值记录列表
|
|
|
FindPayList(ctx context.Context, in *FindPayOrderListRequest, opts ...grpc.CallOption) (*PayOrderList, error)
|
|
|
// 查询推荐人的列表
|
|
|
- FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
|
|
|
+ FindRecommendPersonList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
|
|
|
// 获取匹配的头像数组以及数量
|
|
|
FindMatchingAvatarAndNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FindMatchingAvatarAndNumReply, error)
|
|
|
// 获取假弹窗
|
|
|
@@ -645,7 +645,7 @@ func (c *userClient) FindPayList(ctx context.Context, in *FindPayOrderListReques
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
-func (c *userClient) FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
|
|
|
+func (c *userClient) FindRecommendPersonList(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
|
|
|
out := new(common.RecommendPersonListReply)
|
|
|
err := c.cc.Invoke(ctx, "/api.user.User/FindRecommendPersonList", in, out, opts...)
|
|
|
if err != nil {
|
|
|
@@ -927,7 +927,7 @@ type UserServer interface {
|
|
|
// 用户充值记录列表
|
|
|
FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error)
|
|
|
// 查询推荐人的列表
|
|
|
- FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error)
|
|
|
+ FindRecommendPersonList(context.Context, *emptypb.Empty) (*common.RecommendPersonListReply, error)
|
|
|
// 获取匹配的头像数组以及数量
|
|
|
FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error)
|
|
|
// 获取假弹窗
|
|
|
@@ -1128,7 +1128,7 @@ func (UnimplementedUserServer) FindRechargeList(context.Context, *emptypb.Empty)
|
|
|
func (UnimplementedUserServer) FindPayList(context.Context, *FindPayOrderListRequest) (*PayOrderList, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindPayList not implemented")
|
|
|
}
|
|
|
-func (UnimplementedUserServer) FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error) {
|
|
|
+func (UnimplementedUserServer) FindRecommendPersonList(context.Context, *emptypb.Empty) (*common.RecommendPersonListReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPersonList not implemented")
|
|
|
}
|
|
|
func (UnimplementedUserServer) FindMatchingAvatarAndNum(context.Context, *emptypb.Empty) (*FindMatchingAvatarAndNumReply, error) {
|
|
|
@@ -2135,7 +2135,7 @@ func _User_FindPayList_Handler(srv interface{}, ctx context.Context, dec func(in
|
|
|
}
|
|
|
|
|
|
func _User_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(FindRecommendPersonListRequest)
|
|
|
+ in := new(emptypb.Empty)
|
|
|
if err := dec(in); err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
@@ -2147,7 +2147,7 @@ func _User_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context,
|
|
|
FullMethod: "/api.user.User/FindRecommendPersonList",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(UserServer).FindRecommendPersonList(ctx, req.(*FindRecommendPersonListRequest))
|
|
|
+ return srv.(UserServer).FindRecommendPersonList(ctx, req.(*emptypb.Empty))
|
|
|
}
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|