|
|
@@ -135,6 +135,8 @@ type PartnerClient interface {
|
|
|
ExaminePartner(ctx context.Context, in *ExaminePartnerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
|
|
|
// 管理员登录
|
|
|
ManagerLogin(ctx context.Context, in *common.ManagerLoginRequest, opts ...grpc.CallOption) (*common.LoginToken, error)
|
|
|
+ // 审核记录列表
|
|
|
+ FindExamineRecordList(ctx context.Context, in *FindExamineRecordListRequest, opts ...grpc.CallOption) (*FindExamineRecordListReply, error)
|
|
|
// ---rpc---
|
|
|
// 1、获取用户详情
|
|
|
GetPartnerDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error)
|
|
|
@@ -666,6 +668,15 @@ func (c *partnerClient) ManagerLogin(ctx context.Context, in *common.ManagerLogi
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
+func (c *partnerClient) FindExamineRecordList(ctx context.Context, in *FindExamineRecordListRequest, opts ...grpc.CallOption) (*FindExamineRecordListReply, error) {
|
|
|
+ out := new(FindExamineRecordListReply)
|
|
|
+ err := c.cc.Invoke(ctx, "/api.partner.Partner/FindExamineRecordList", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
func (c *partnerClient) GetPartnerDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) {
|
|
|
out := new(common.PersonMsg)
|
|
|
err := c.cc.Invoke(ctx, "/api.partner.Partner/GetPartnerDBMsg", in, out, opts...)
|
|
|
@@ -855,6 +866,8 @@ type PartnerServer interface {
|
|
|
ExaminePartner(context.Context, *ExaminePartnerRequest) (*emptypb.Empty, error)
|
|
|
// 管理员登录
|
|
|
ManagerLogin(context.Context, *common.ManagerLoginRequest) (*common.LoginToken, error)
|
|
|
+ // 审核记录列表
|
|
|
+ FindExamineRecordList(context.Context, *FindExamineRecordListRequest) (*FindExamineRecordListReply, error)
|
|
|
// ---rpc---
|
|
|
// 1、获取用户详情
|
|
|
GetPartnerDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error)
|
|
|
@@ -1047,6 +1060,9 @@ func (UnimplementedPartnerServer) ExaminePartner(context.Context, *ExaminePartne
|
|
|
func (UnimplementedPartnerServer) ManagerLogin(context.Context, *common.ManagerLoginRequest) (*common.LoginToken, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ManagerLogin not implemented")
|
|
|
}
|
|
|
+func (UnimplementedPartnerServer) FindExamineRecordList(context.Context, *FindExamineRecordListRequest) (*FindExamineRecordListReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method FindExamineRecordList not implemented")
|
|
|
+}
|
|
|
func (UnimplementedPartnerServer) GetPartnerDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetPartnerDBMsg not implemented")
|
|
|
}
|
|
|
@@ -2092,6 +2108,24 @@ func _Partner_ManagerLogin_Handler(srv interface{}, ctx context.Context, dec fun
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
+func _Partner_FindExamineRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(FindExamineRecordListRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(PartnerServer).FindExamineRecordList(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/api.partner.Partner/FindExamineRecordList",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(PartnerServer).FindExamineRecordList(ctx, req.(*FindExamineRecordListRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
func _Partner_GetPartnerDBMsg_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 {
|
|
|
@@ -2467,6 +2501,10 @@ var Partner_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "ManagerLogin",
|
|
|
Handler: _Partner_ManagerLogin_Handler,
|
|
|
},
|
|
|
+ {
|
|
|
+ MethodName: "FindExamineRecordList",
|
|
|
+ Handler: _Partner_FindExamineRecordList_Handler,
|
|
|
+ },
|
|
|
{
|
|
|
MethodName: "GetPartnerDBMsg",
|
|
|
Handler: _Partner_GetPartnerDBMsg_Handler,
|