|
|
@@ -155,6 +155,8 @@ type UserClient interface {
|
|
|
ManagerFindUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error)
|
|
|
// 管理员查询完善过资料的用户列表
|
|
|
ManagerFindInformationUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error)
|
|
|
+ // 管理员查询已审核过信息的列表
|
|
|
+ ManagerFindIsCheckQualityUserList(ctx context.Context, in *ManagerFindIsCheckQualityUserListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply2, error)
|
|
|
// 管理员查询优质用户列表
|
|
|
ManagerFindHighQualityUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error)
|
|
|
// 管理员标记优质用户
|
|
|
@@ -212,8 +214,6 @@ type UserClient interface {
|
|
|
SendNewMessageUnreadReminder(ctx context.Context, in *SendNewMessageUnreadReminderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
|
|
// 好友访问提醒
|
|
|
SendNewVisitorTemplateReminder(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
|
|
- // // 更新今日被匹配数
|
|
|
- // rpc UpdateUserMatchedNum (UpdateUserMatchedNumRequest) returns (google.protobuf.Empty){};
|
|
|
// 更新今日被匹配数并返回用户信息
|
|
|
UpdateUserMatchedNumAndReturnUserMsg(ctx context.Context, in *UpdateUserMatchedNumRequest, opts ...grpc.CallOption) (*UpdateUserMatchedNumAndReturnUserMsgReply, error)
|
|
|
// 获取未匹配的离线用户
|
|
|
@@ -813,6 +813,15 @@ func (c *userClient) ManagerFindInformationUserList(ctx context.Context, in *com
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
+func (c *userClient) ManagerFindIsCheckQualityUserList(ctx context.Context, in *ManagerFindIsCheckQualityUserListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply2, error) {
|
|
|
+ out := new(common.ManagerFindPersonListReply2)
|
|
|
+ err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindIsCheckQualityUserList", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
func (c *userClient) ManagerFindHighQualityUserList(ctx context.Context, in *common.ManagerFindPersonListRequest, opts ...grpc.CallOption) (*common.ManagerFindPersonListReply, error) {
|
|
|
out := new(common.ManagerFindPersonListReply)
|
|
|
err := c.cc.Invoke(ctx, "/api.user.User/ManagerFindHighQualityUserList", in, out, opts...)
|
|
|
@@ -1220,6 +1229,8 @@ type UserServer interface {
|
|
|
ManagerFindUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
|
|
|
// 管理员查询完善过资料的用户列表
|
|
|
ManagerFindInformationUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
|
|
|
+ // 管理员查询已审核过信息的列表
|
|
|
+ ManagerFindIsCheckQualityUserList(context.Context, *ManagerFindIsCheckQualityUserListRequest) (*common.ManagerFindPersonListReply2, error)
|
|
|
// 管理员查询优质用户列表
|
|
|
ManagerFindHighQualityUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error)
|
|
|
// 管理员标记优质用户
|
|
|
@@ -1277,8 +1288,6 @@ type UserServer interface {
|
|
|
SendNewMessageUnreadReminder(context.Context, *SendNewMessageUnreadReminderRequest) (*emptypb.Empty, error)
|
|
|
// 好友访问提醒
|
|
|
SendNewVisitorTemplateReminder(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
|
|
|
- // // 更新今日被匹配数
|
|
|
- // rpc UpdateUserMatchedNum (UpdateUserMatchedNumRequest) returns (google.protobuf.Empty){};
|
|
|
// 更新今日被匹配数并返回用户信息
|
|
|
UpdateUserMatchedNumAndReturnUserMsg(context.Context, *UpdateUserMatchedNumRequest) (*UpdateUserMatchedNumAndReturnUserMsgReply, error)
|
|
|
// 获取未匹配的离线用户
|
|
|
@@ -1485,6 +1494,9 @@ func (UnimplementedUserServer) ManagerFindUserList(context.Context, *common.Mana
|
|
|
func (UnimplementedUserServer) ManagerFindInformationUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ManagerFindInformationUserList not implemented")
|
|
|
}
|
|
|
+func (UnimplementedUserServer) ManagerFindIsCheckQualityUserList(context.Context, *ManagerFindIsCheckQualityUserListRequest) (*common.ManagerFindPersonListReply2, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ManagerFindIsCheckQualityUserList not implemented")
|
|
|
+}
|
|
|
func (UnimplementedUserServer) ManagerFindHighQualityUserList(context.Context, *common.ManagerFindPersonListRequest) (*common.ManagerFindPersonListReply, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ManagerFindHighQualityUserList not implemented")
|
|
|
}
|
|
|
@@ -2758,6 +2770,24 @@ func _User_ManagerFindInformationUserList_Handler(srv interface{}, ctx context.C
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
+func _User_ManagerFindIsCheckQualityUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ManagerFindIsCheckQualityUserListRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(UserServer).ManagerFindIsCheckQualityUserList(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/api.user.User/ManagerFindIsCheckQualityUserList",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(UserServer).ManagerFindIsCheckQualityUserList(ctx, req.(*ManagerFindIsCheckQualityUserListRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
func _User_ManagerFindHighQualityUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
in := new(common.ManagerFindPersonListRequest)
|
|
|
if err := dec(in); err != nil {
|
|
|
@@ -3565,6 +3595,10 @@ var User_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "ManagerFindInformationUserList",
|
|
|
Handler: _User_ManagerFindInformationUserList_Handler,
|
|
|
},
|
|
|
+ {
|
|
|
+ MethodName: "ManagerFindIsCheckQualityUserList",
|
|
|
+ Handler: _User_ManagerFindIsCheckQualityUserList_Handler,
|
|
|
+ },
|
|
|
{
|
|
|
MethodName: "ManagerFindHighQualityUserList",
|
|
|
Handler: _User_ManagerFindHighQualityUserList_Handler,
|