From 2030ec81f18f4ec9ea1800f13046acafff6d50f7 Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期四, 26 九月 2024 00:48:59 +0800 Subject: [PATCH] 添加grpc方法:客户信息维护 --- proto/code/code_grpc.pb.go | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/proto/code/code_grpc.pb.go b/proto/code/code_grpc.pb.go index eafdff8..0242c86 100644 --- a/proto/code/code_grpc.pb.go +++ b/proto/code/code_grpc.pb.go @@ -1,4 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc v3.19.0 +// source: code.proto package code @@ -13,6 +17,10 @@ // is compatible with the grpc package it is being compiled against. // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 + +const ( + CodeService_GetCodeList_FullMethodName = "/codeService/GetCodeList" +) // CodeServiceClient is the client API for CodeService service. // @@ -31,7 +39,7 @@ func (c *codeServiceClient) GetCodeList(ctx context.Context, in *GetCodeListRequest, opts ...grpc.CallOption) (*GetCodeListResponse, error) { out := new(GetCodeListResponse) - err := c.cc.Invoke(ctx, "/codeService/GetCodeList", in, out, opts...) + err := c.cc.Invoke(ctx, CodeService_GetCodeList_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -76,7 +84,7 @@ } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/codeService/GetCodeList", + FullMethod: CodeService_GetCodeList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CodeServiceServer).GetCodeList(ctx, req.(*GetCodeListRequest)) -- Gitblit v1.8.0