From 28fb78f3fa0e4f629ff7d49f8305f5120cdafd15 Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期一, 28 八月 2023 14:16:39 +0800
Subject: [PATCH] fix

---
 proto/product/product_grpc.pb.go |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/proto/product/product_grpc.pb.go b/proto/product/product_grpc.pb.go
index 16e851e..bd6fa0d 100644
--- a/proto/product/product_grpc.pb.go
+++ b/proto/product/product_grpc.pb.go
@@ -1,8 +1,4 @@
 // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
-// versions:
-// - protoc-gen-go-grpc v1.3.0
-// - protoc             v3.19.0
-// source: product.proto
 
 package product
 
@@ -17,11 +13,6 @@
 // is compatible with the grpc package it is being compiled against.
 // Requires gRPC-Go v1.32.0 or later.
 const _ = grpc.SupportPackageIsVersion7
-
-const (
-	ProductService_GetProductInfo_FullMethodName = "/productService/GetProductInfo"
-	ProductService_GetProductList_FullMethodName = "/productService/GetProductList"
-)
 
 // ProductServiceClient is the client API for ProductService service.
 //
@@ -41,7 +32,7 @@
 
 func (c *productServiceClient) GetProductInfo(ctx context.Context, in *GetProductInfoRequest, opts ...grpc.CallOption) (*GetProductInfoResponse, error) {
 	out := new(GetProductInfoResponse)
-	err := c.cc.Invoke(ctx, ProductService_GetProductInfo_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, "/productService/GetProductInfo", in, out, opts...)
 	if err != nil {
 		return nil, err
 	}
@@ -50,7 +41,7 @@
 
 func (c *productServiceClient) GetProductList(ctx context.Context, in *GetProductListRequest, opts ...grpc.CallOption) (*GetProductListResponse, error) {
 	out := new(GetProductListResponse)
-	err := c.cc.Invoke(ctx, ProductService_GetProductList_FullMethodName, in, out, opts...)
+	err := c.cc.Invoke(ctx, "/productService/GetProductList", in, out, opts...)
 	if err != nil {
 		return nil, err
 	}
@@ -99,7 +90,7 @@
 	}
 	info := &grpc.UnaryServerInfo{
 		Server:     srv,
-		FullMethod: ProductService_GetProductInfo_FullMethodName,
+		FullMethod: "/productService/GetProductInfo",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 		return srv.(ProductServiceServer).GetProductInfo(ctx, req.(*GetProductInfoRequest))
@@ -117,7 +108,7 @@
 	}
 	info := &grpc.UnaryServerInfo{
 		Server:     srv,
-		FullMethod: ProductService_GetProductList_FullMethodName,
+		FullMethod: "/productService/GetProductList",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 		return srv.(ProductServiceServer).GetProductList(ctx, req.(*GetProductListRequest))

--
Gitblit v1.8.0