From 0cbfce0db4f1932b44d73b47af66bd7477f0fa25 Mon Sep 17 00:00:00 2001 From: guzeng Date: Tue, 7 Sep 2021 18:42:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0Get380Star=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supplier.pb.go | 4 ++++ supplier.proto | 1 + 2 files changed, 5 insertions(+) diff --git a/supplier.pb.go b/supplier.pb.go index c3f89c8..6b1bacb 100644 --- a/supplier.pb.go +++ b/supplier.pb.go @@ -101,6 +101,7 @@ type SupplierService interface { Get(in *Request, out *Response) error GetByUuid(in *Request, out *Response) error IsOpen(in *Request, out *Response) error + Get380Star(in *Request, out *Response) error } // AcceptSupplierServiceClient accepts connections on the listener and serves requests @@ -181,6 +182,9 @@ func (c *SupplierServiceClient) GetByUuid(in *Request, out *Response) error { func (c *SupplierServiceClient) IsOpen(in *Request, out *Response) error { return c.Call("SupplierService.IsOpen", in, out) } +func (c *SupplierServiceClient) Get380Star(in *Request, out *Response) error { + return c.Call("SupplierService.Get380Star", in, out) +} // DialSupplierService connects to an SupplierService at the specified network address. func DialSupplierService(network, addr string) (*SupplierServiceClient, *rpc.Client, error) { diff --git a/supplier.proto b/supplier.proto index 6714836..60772bf 100644 --- a/supplier.proto +++ b/supplier.proto @@ -20,4 +20,5 @@ service SupplierService { rpc Get (Request) returns (Response); // 使用id查询 rpc GetByUuid (Request) returns (Response); // 使用uuid查询 rpc IsOpen (Request) returns (Response); // 是否营业中 + rpc Get380Star (Request) returns (Response); // 查询380star供应商数据 } \ No newline at end of file