|
|
@@ -41,8 +41,6 @@ type UserClient interface {
|
|
|
UserGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error)
|
|
|
// 9、查看看过我的列表
|
|
|
FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
|
|
|
- // 10、微信SDK初始化
|
|
|
- WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error)
|
|
|
// 11、获取标签列表
|
|
|
FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error)
|
|
|
// 12、获取在线列表
|
|
|
@@ -322,15 +320,6 @@ func (c *userClient) FindLookList(ctx context.Context, in *common.ListPageReques
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
-func (c *userClient) WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error) {
|
|
|
- out := new(common.WxConfResponse)
|
|
|
- err := c.cc.Invoke(ctx, "/api.user.User/WxConf", in, out, opts...)
|
|
|
- if err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- return out, nil
|
|
|
-}
|
|
|
-
|
|
|
func (c *userClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) {
|
|
|
out := new(common.TagListReply)
|
|
|
err := c.cc.Invoke(ctx, "/api.user.User/FindTagListBySex", in, out, opts...)
|
|
|
@@ -1155,8 +1144,6 @@ type UserServer interface {
|
|
|
UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error)
|
|
|
// 9、查看看过我的列表
|
|
|
FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
|
|
|
- // 10、微信SDK初始化
|
|
|
- WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error)
|
|
|
// 11、获取标签列表
|
|
|
FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
|
|
|
// 12、获取在线列表
|
|
|
@@ -1373,9 +1360,6 @@ func (UnimplementedUserServer) UserGetPersonLikedAndLooked(context.Context, *com
|
|
|
func (UnimplementedUserServer) FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindLookList not implemented")
|
|
|
}
|
|
|
-func (UnimplementedUserServer) WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error) {
|
|
|
- return nil, status.Errorf(codes.Unimplemented, "method WxConf not implemented")
|
|
|
-}
|
|
|
func (UnimplementedUserServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented")
|
|
|
}
|
|
|
@@ -1836,24 +1820,6 @@ func _User_FindLookList_Handler(srv interface{}, ctx context.Context, dec func(i
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
-func _User_WxConf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
- in := new(common.WxConfReq)
|
|
|
- if err := dec(in); err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- if interceptor == nil {
|
|
|
- return srv.(UserServer).WxConf(ctx, in)
|
|
|
- }
|
|
|
- info := &grpc.UnaryServerInfo{
|
|
|
- Server: srv,
|
|
|
- FullMethod: "/api.user.User/WxConf",
|
|
|
- }
|
|
|
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
- return srv.(UserServer).WxConf(ctx, req.(*common.WxConfReq))
|
|
|
- }
|
|
|
- return interceptor(ctx, in, info, handler)
|
|
|
-}
|
|
|
-
|
|
|
func _User_FindTagListBySex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(common.SexReq)
|
|
|
if err := dec(in); err != nil {
|
|
|
@@ -3503,10 +3469,6 @@ var User_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "FindLookList",
|
|
|
Handler: _User_FindLookList_Handler,
|
|
|
},
|
|
|
- {
|
|
|
- MethodName: "WxConf",
|
|
|
- Handler: _User_WxConf_Handler,
|
|
|
- },
|
|
|
{
|
|
|
MethodName: "FindTagListBySex",
|
|
|
Handler: _User_FindTagListBySex_Handler,
|