|
@@ -0,0 +1,1033 @@
|
|
|
+// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
|
+// versions:
|
|
|
+// - protoc-gen-go-grpc v1.5.1
|
|
|
+// - protoc v5.29.3
|
|
|
+// source: biService.proto
|
|
|
+
|
|
|
+package pb
|
|
|
+
|
|
|
+import (
|
|
|
+ context "context"
|
|
|
+ grpc "google.golang.org/grpc"
|
|
|
+ codes "google.golang.org/grpc/codes"
|
|
|
+ status "google.golang.org/grpc/status"
|
|
|
+)
|
|
|
+
|
|
|
+// This is a compile-time assertion to ensure that this generated file
|
|
|
+// is compatible with the grpc package it is being compiled against.
|
|
|
+// Requires gRPC-Go v1.64.0 or later.
|
|
|
+const _ = grpc.SupportPackageIsVersion9
|
|
|
+
|
|
|
+const (
|
|
|
+ BiService_MyDataAsset_FullMethodName = "/BiService/myDataAsset"
|
|
|
+ BiService_AddProject_FullMethodName = "/BiService/addProject"
|
|
|
+ BiService_GetInfoId_FullMethodName = "/BiService/getInfoId"
|
|
|
+ BiService_DrawClue_FullMethodName = "/BiService/drawClue"
|
|
|
+ BiService_Call_FullMethodName = "/BiService/Call"
|
|
|
+ BiService_DistributeClue_FullMethodName = "/BiService/distributeClue"
|
|
|
+ BiService_ClueImport_FullMethodName = "/BiService/clueImport"
|
|
|
+ BiService_ClueAdd_FullMethodName = "/BiService/clueAdd"
|
|
|
+ BiService_ClueImportTt_FullMethodName = "/BiService/clueImportTt"
|
|
|
+ BiService_AutoFollow_FullMethodName = "/BiService/autoFollow"
|
|
|
+ BiService_SqlManage_FullMethodName = "/BiService/sqlManage"
|
|
|
+ BiService_MyInfo_FullMethodName = "/BiService/myInfo"
|
|
|
+ BiService_AllInfoExport_FullMethodName = "/BiService/allInfoExport"
|
|
|
+ BiService_AllProjectExport_FullMethodName = "/BiService/allProjectExport"
|
|
|
+ BiService_InfoOperate_FullMethodName = "/BiService/infoOperate"
|
|
|
+ BiService_GetCompanyType_FullMethodName = "/BiService/getCompanyType"
|
|
|
+ BiService_DistributeClueShow_FullMethodName = "/BiService/distributeClueShow"
|
|
|
+ BiService_SendMail_FullMethodName = "/BiService/sendMail"
|
|
|
+ BiService_UpFile_FullMethodName = "/BiService/upFile"
|
|
|
+ BiService_SendCommonMail_FullMethodName = "/BiService/sendCommonMail"
|
|
|
+ BiService_AddAcceptance_FullMethodName = "/BiService/addAcceptance"
|
|
|
+ BiService_CreateClueByPhone_FullMethodName = "/BiService/createClueByPhone"
|
|
|
+ BiService_TransferClueByPhone_FullMethodName = "/BiService/transferClueByPhone"
|
|
|
+ BiService_FindClueInfo_FullMethodName = "/BiService/findClueInfo"
|
|
|
+ BiService_GetClueInfoList_FullMethodName = "/BiService/getClueInfoList"
|
|
|
+)
|
|
|
+
|
|
|
+// BiServiceClient is the client API for BiService service.
|
|
|
+//
|
|
|
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
|
+type BiServiceClient interface {
|
|
|
+ MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error)
|
|
|
+ AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error)
|
|
|
+ GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error)
|
|
|
+ DrawClue(ctx context.Context, in *DrawClueReq, opts ...grpc.CallOption) (*AddProjectResp, error)
|
|
|
+ Call(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*BiResp, error)
|
|
|
+ DistributeClue(ctx context.Context, in *DistributeClueReq, opts ...grpc.CallOption) (*AddProjectResp, error)
|
|
|
+ ClueImport(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error)
|
|
|
+ ClueAdd(ctx context.Context, in *ClueAddReq, opts ...grpc.CallOption) (*AddProjectResp, error)
|
|
|
+ ClueImportTt(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error)
|
|
|
+ AutoFollow(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*ClueImportResp, error)
|
|
|
+ SqlManage(ctx context.Context, in *SqlManageReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+ MyInfo(ctx context.Context, in *MyInfoReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+ AllInfoExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+ AllProjectExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+ InfoOperate(ctx context.Context, in *OperateReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+ GetCompanyType(ctx context.Context, in *CompanyReq, opts ...grpc.CallOption) (*CompanyResp, error)
|
|
|
+ DistributeClueShow(ctx context.Context, in *DistributeClueShowReq, opts ...grpc.CallOption) (*DistributeClueShowResp, error)
|
|
|
+ SendMail(ctx context.Context, in *ExportByDbReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+ UpFile(ctx context.Context, in *UpFileReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+ SendCommonMail(ctx context.Context, in *SendMailReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+ AddAcceptance(ctx context.Context, in *AcceptanceReq, opts ...grpc.CallOption) (*AcceptanceResp, error)
|
|
|
+ CreateClueByPhone(ctx context.Context, in *CreateCuleReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+ TransferClueByPhone(ctx context.Context, in *TransferClueReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+ FindClueInfo(ctx context.Context, in *FindClueInfoReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+ GetClueInfoList(ctx context.Context, in *ClueInfoReq, opts ...grpc.CallOption) (*BiReply, error)
|
|
|
+}
|
|
|
+
|
|
|
+type biServiceClient struct {
|
|
|
+ cc grpc.ClientConnInterface
|
|
|
+}
|
|
|
+
|
|
|
+func NewBiServiceClient(cc grpc.ClientConnInterface) BiServiceClient {
|
|
|
+ return &biServiceClient{cc}
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) MyDataAsset(ctx context.Context, in *MyDataAssetReq, opts ...grpc.CallOption) (*MyDataAssetResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(MyDataAssetResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_MyDataAsset_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) AddProject(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(AddProjectResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_AddProject_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) GetInfoId(ctx context.Context, in *AddProjectReq, opts ...grpc.CallOption) (*GetInfoIdResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(GetInfoIdResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_GetInfoId_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) DrawClue(ctx context.Context, in *DrawClueReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(AddProjectResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_DrawClue_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) Call(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*BiResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_Call_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) DistributeClue(ctx context.Context, in *DistributeClueReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(AddProjectResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_DistributeClue_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) ClueImport(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(ClueImportResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_ClueImport_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) ClueAdd(ctx context.Context, in *ClueAddReq, opts ...grpc.CallOption) (*AddProjectResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(AddProjectResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_ClueAdd_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) ClueImportTt(ctx context.Context, in *ClueImportReq, opts ...grpc.CallOption) (*ClueImportResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(ClueImportResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_ClueImportTt_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) AutoFollow(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*ClueImportResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(ClueImportResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_AutoFollow_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) SqlManage(ctx context.Context, in *SqlManageReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_SqlManage_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) MyInfo(ctx context.Context, in *MyInfoReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_MyInfo_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) AllInfoExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_AllInfoExport_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) AllProjectExport(ctx context.Context, in *ExportReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_AllProjectExport_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) InfoOperate(ctx context.Context, in *OperateReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_InfoOperate_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) GetCompanyType(ctx context.Context, in *CompanyReq, opts ...grpc.CallOption) (*CompanyResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(CompanyResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_GetCompanyType_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) DistributeClueShow(ctx context.Context, in *DistributeClueShowReq, opts ...grpc.CallOption) (*DistributeClueShowResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(DistributeClueShowResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_DistributeClueShow_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) SendMail(ctx context.Context, in *ExportByDbReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_SendMail_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) UpFile(ctx context.Context, in *UpFileReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_UpFile_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) SendCommonMail(ctx context.Context, in *SendMailReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_SendCommonMail_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) AddAcceptance(ctx context.Context, in *AcceptanceReq, opts ...grpc.CallOption) (*AcceptanceResp, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(AcceptanceResp)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_AddAcceptance_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) CreateClueByPhone(ctx context.Context, in *CreateCuleReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_CreateClueByPhone_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) TransferClueByPhone(ctx context.Context, in *TransferClueReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_TransferClueByPhone_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) FindClueInfo(ctx context.Context, in *FindClueInfoReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_FindClueInfo_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *biServiceClient) GetClueInfoList(ctx context.Context, in *ClueInfoReq, opts ...grpc.CallOption) (*BiReply, error) {
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
+ out := new(BiReply)
|
|
|
+ err := c.cc.Invoke(ctx, BiService_GetClueInfoList_FullMethodName, in, out, cOpts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+// BiServiceServer is the server API for BiService service.
|
|
|
+// All implementations must embed UnimplementedBiServiceServer
|
|
|
+// for forward compatibility.
|
|
|
+type BiServiceServer interface {
|
|
|
+ MyDataAsset(context.Context, *MyDataAssetReq) (*MyDataAssetResp, error)
|
|
|
+ AddProject(context.Context, *AddProjectReq) (*AddProjectResp, error)
|
|
|
+ GetInfoId(context.Context, *AddProjectReq) (*GetInfoIdResp, error)
|
|
|
+ DrawClue(context.Context, *DrawClueReq) (*AddProjectResp, error)
|
|
|
+ Call(context.Context, *CallReq) (*BiResp, error)
|
|
|
+ DistributeClue(context.Context, *DistributeClueReq) (*AddProjectResp, error)
|
|
|
+ ClueImport(context.Context, *ClueImportReq) (*ClueImportResp, error)
|
|
|
+ ClueAdd(context.Context, *ClueAddReq) (*AddProjectResp, error)
|
|
|
+ ClueImportTt(context.Context, *ClueImportReq) (*ClueImportResp, error)
|
|
|
+ AutoFollow(context.Context, *CallReq) (*ClueImportResp, error)
|
|
|
+ SqlManage(context.Context, *SqlManageReq) (*BiReply, error)
|
|
|
+ MyInfo(context.Context, *MyInfoReq) (*BiReply, error)
|
|
|
+ AllInfoExport(context.Context, *ExportReq) (*BiReply, error)
|
|
|
+ AllProjectExport(context.Context, *ExportReq) (*BiReply, error)
|
|
|
+ InfoOperate(context.Context, *OperateReq) (*BiReply, error)
|
|
|
+ GetCompanyType(context.Context, *CompanyReq) (*CompanyResp, error)
|
|
|
+ DistributeClueShow(context.Context, *DistributeClueShowReq) (*DistributeClueShowResp, error)
|
|
|
+ SendMail(context.Context, *ExportByDbReq) (*BiReply, error)
|
|
|
+ UpFile(context.Context, *UpFileReq) (*BiReply, error)
|
|
|
+ SendCommonMail(context.Context, *SendMailReq) (*BiReply, error)
|
|
|
+ AddAcceptance(context.Context, *AcceptanceReq) (*AcceptanceResp, error)
|
|
|
+ CreateClueByPhone(context.Context, *CreateCuleReq) (*BiReply, error)
|
|
|
+ TransferClueByPhone(context.Context, *TransferClueReq) (*BiReply, error)
|
|
|
+ FindClueInfo(context.Context, *FindClueInfoReq) (*BiReply, error)
|
|
|
+ GetClueInfoList(context.Context, *ClueInfoReq) (*BiReply, error)
|
|
|
+ mustEmbedUnimplementedBiServiceServer()
|
|
|
+}
|
|
|
+
|
|
|
+// UnimplementedBiServiceServer must be embedded to have
|
|
|
+// forward compatible implementations.
|
|
|
+//
|
|
|
+// NOTE: this should be embedded by value instead of pointer to avoid a nil
|
|
|
+// pointer dereference when methods are called.
|
|
|
+type UnimplementedBiServiceServer struct{}
|
|
|
+
|
|
|
+func (UnimplementedBiServiceServer) MyDataAsset(context.Context, *MyDataAssetReq) (*MyDataAssetResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method MyDataAsset not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) AddProject(context.Context, *AddProjectReq) (*AddProjectResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method AddProject not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) GetInfoId(context.Context, *AddProjectReq) (*GetInfoIdResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method GetInfoId not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) DrawClue(context.Context, *DrawClueReq) (*AddProjectResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method DrawClue not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) Call(context.Context, *CallReq) (*BiResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method Call not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) DistributeClue(context.Context, *DistributeClueReq) (*AddProjectResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method DistributeClue not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) ClueImport(context.Context, *ClueImportReq) (*ClueImportResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ClueImport not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) ClueAdd(context.Context, *ClueAddReq) (*AddProjectResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ClueAdd not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) ClueImportTt(context.Context, *ClueImportReq) (*ClueImportResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ClueImportTt not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) AutoFollow(context.Context, *CallReq) (*ClueImportResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method AutoFollow not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) SqlManage(context.Context, *SqlManageReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method SqlManage not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) MyInfo(context.Context, *MyInfoReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method MyInfo not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) AllInfoExport(context.Context, *ExportReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method AllInfoExport not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) AllProjectExport(context.Context, *ExportReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method AllProjectExport not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) InfoOperate(context.Context, *OperateReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method InfoOperate not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) GetCompanyType(context.Context, *CompanyReq) (*CompanyResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method GetCompanyType not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) DistributeClueShow(context.Context, *DistributeClueShowReq) (*DistributeClueShowResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method DistributeClueShow not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) SendMail(context.Context, *ExportByDbReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method SendMail not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) UpFile(context.Context, *UpFileReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UpFile not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) SendCommonMail(context.Context, *SendMailReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method SendCommonMail not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) AddAcceptance(context.Context, *AcceptanceReq) (*AcceptanceResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method AddAcceptance not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) CreateClueByPhone(context.Context, *CreateCuleReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method CreateClueByPhone not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) TransferClueByPhone(context.Context, *TransferClueReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method TransferClueByPhone not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) FindClueInfo(context.Context, *FindClueInfoReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method FindClueInfo not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) GetClueInfoList(context.Context, *ClueInfoReq) (*BiReply, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method GetClueInfoList not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBiServiceServer) mustEmbedUnimplementedBiServiceServer() {}
|
|
|
+func (UnimplementedBiServiceServer) testEmbeddedByValue() {}
|
|
|
+
|
|
|
+// UnsafeBiServiceServer may be embedded to opt out of forward compatibility for this service.
|
|
|
+// Use of this interface is not recommended, as added methods to BiServiceServer will
|
|
|
+// result in compilation errors.
|
|
|
+type UnsafeBiServiceServer interface {
|
|
|
+ mustEmbedUnimplementedBiServiceServer()
|
|
|
+}
|
|
|
+
|
|
|
+func RegisterBiServiceServer(s grpc.ServiceRegistrar, srv BiServiceServer) {
|
|
|
+ // If the following call pancis, it indicates UnimplementedBiServiceServer was
|
|
|
+ // embedded by pointer and is nil. This will cause panics if an
|
|
|
+ // unimplemented method is ever invoked, so we test this at initialization
|
|
|
+ // time to prevent it from happening at runtime later due to I/O.
|
|
|
+ if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
|
|
|
+ t.testEmbeddedByValue()
|
|
|
+ }
|
|
|
+ s.RegisterService(&BiService_ServiceDesc, srv)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_MyDataAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(MyDataAssetReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).MyDataAsset(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_MyDataAsset_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).MyDataAsset(ctx, req.(*MyDataAssetReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_AddProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(AddProjectReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).AddProject(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_AddProject_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).AddProject(ctx, req.(*AddProjectReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_GetInfoId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(AddProjectReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).GetInfoId(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_GetInfoId_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).GetInfoId(ctx, req.(*AddProjectReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_DrawClue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(DrawClueReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).DrawClue(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_DrawClue_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).DrawClue(ctx, req.(*DrawClueReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_Call_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(CallReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).Call(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_Call_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).Call(ctx, req.(*CallReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_DistributeClue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(DistributeClueReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).DistributeClue(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_DistributeClue_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).DistributeClue(ctx, req.(*DistributeClueReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_ClueImport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ClueImportReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).ClueImport(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_ClueImport_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).ClueImport(ctx, req.(*ClueImportReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_ClueAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ClueAddReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).ClueAdd(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_ClueAdd_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).ClueAdd(ctx, req.(*ClueAddReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_ClueImportTt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ClueImportReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).ClueImportTt(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_ClueImportTt_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).ClueImportTt(ctx, req.(*ClueImportReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_AutoFollow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(CallReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).AutoFollow(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_AutoFollow_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).AutoFollow(ctx, req.(*CallReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_SqlManage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(SqlManageReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).SqlManage(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_SqlManage_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).SqlManage(ctx, req.(*SqlManageReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_MyInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(MyInfoReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).MyInfo(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_MyInfo_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).MyInfo(ctx, req.(*MyInfoReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_AllInfoExport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ExportReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).AllInfoExport(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_AllInfoExport_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).AllInfoExport(ctx, req.(*ExportReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_AllProjectExport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ExportReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).AllProjectExport(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_AllProjectExport_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).AllProjectExport(ctx, req.(*ExportReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_InfoOperate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(OperateReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).InfoOperate(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_InfoOperate_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).InfoOperate(ctx, req.(*OperateReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_GetCompanyType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(CompanyReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).GetCompanyType(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_GetCompanyType_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).GetCompanyType(ctx, req.(*CompanyReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_DistributeClueShow_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(DistributeClueShowReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).DistributeClueShow(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_DistributeClueShow_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).DistributeClueShow(ctx, req.(*DistributeClueShowReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_SendMail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ExportByDbReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).SendMail(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_SendMail_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).SendMail(ctx, req.(*ExportByDbReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_UpFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(UpFileReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).UpFile(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_UpFile_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).UpFile(ctx, req.(*UpFileReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_SendCommonMail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(SendMailReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).SendCommonMail(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_SendCommonMail_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).SendCommonMail(ctx, req.(*SendMailReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_AddAcceptance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(AcceptanceReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).AddAcceptance(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_AddAcceptance_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).AddAcceptance(ctx, req.(*AcceptanceReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_CreateClueByPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(CreateCuleReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).CreateClueByPhone(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_CreateClueByPhone_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).CreateClueByPhone(ctx, req.(*CreateCuleReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_TransferClueByPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(TransferClueReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).TransferClueByPhone(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_TransferClueByPhone_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).TransferClueByPhone(ctx, req.(*TransferClueReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_FindClueInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(FindClueInfoReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).FindClueInfo(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_FindClueInfo_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).FindClueInfo(ctx, req.(*FindClueInfoReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _BiService_GetClueInfoList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ClueInfoReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BiServiceServer).GetClueInfoList(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: BiService_GetClueInfoList_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BiServiceServer).GetClueInfoList(ctx, req.(*ClueInfoReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+// BiService_ServiceDesc is the grpc.ServiceDesc for BiService service.
|
|
|
+// It's only intended for direct use with grpc.RegisterService,
|
|
|
+// and not to be introspected or modified (even as a copy)
|
|
|
+var BiService_ServiceDesc = grpc.ServiceDesc{
|
|
|
+ ServiceName: "BiService",
|
|
|
+ HandlerType: (*BiServiceServer)(nil),
|
|
|
+ Methods: []grpc.MethodDesc{
|
|
|
+ {
|
|
|
+ MethodName: "myDataAsset",
|
|
|
+ Handler: _BiService_MyDataAsset_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "addProject",
|
|
|
+ Handler: _BiService_AddProject_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "getInfoId",
|
|
|
+ Handler: _BiService_GetInfoId_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "drawClue",
|
|
|
+ Handler: _BiService_DrawClue_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "Call",
|
|
|
+ Handler: _BiService_Call_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "distributeClue",
|
|
|
+ Handler: _BiService_DistributeClue_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "clueImport",
|
|
|
+ Handler: _BiService_ClueImport_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "clueAdd",
|
|
|
+ Handler: _BiService_ClueAdd_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "clueImportTt",
|
|
|
+ Handler: _BiService_ClueImportTt_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "autoFollow",
|
|
|
+ Handler: _BiService_AutoFollow_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "sqlManage",
|
|
|
+ Handler: _BiService_SqlManage_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "myInfo",
|
|
|
+ Handler: _BiService_MyInfo_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "allInfoExport",
|
|
|
+ Handler: _BiService_AllInfoExport_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "allProjectExport",
|
|
|
+ Handler: _BiService_AllProjectExport_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "infoOperate",
|
|
|
+ Handler: _BiService_InfoOperate_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "getCompanyType",
|
|
|
+ Handler: _BiService_GetCompanyType_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "distributeClueShow",
|
|
|
+ Handler: _BiService_DistributeClueShow_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "sendMail",
|
|
|
+ Handler: _BiService_SendMail_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "upFile",
|
|
|
+ Handler: _BiService_UpFile_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "sendCommonMail",
|
|
|
+ Handler: _BiService_SendCommonMail_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "addAcceptance",
|
|
|
+ Handler: _BiService_AddAcceptance_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "createClueByPhone",
|
|
|
+ Handler: _BiService_CreateClueByPhone_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "transferClueByPhone",
|
|
|
+ Handler: _BiService_TransferClueByPhone_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "findClueInfo",
|
|
|
+ Handler: _BiService_FindClueInfo_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "getClueInfoList",
|
|
|
+ Handler: _BiService_GetClueInfoList_Handler,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ Streams: []grpc.StreamDesc{},
|
|
|
+ Metadata: "biService.proto",
|
|
|
+}
|