From fdd0b662e2f5e59ded8d00e056f722bd6ad1952f Mon Sep 17 00:00:00 2001 From: guzeng Date: Thu, 30 Sep 2021 14:19:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0pb.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- user.pb.go | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/user.pb.go b/user.pb.go index ad39e55..cff92c8 100644 --- a/user.pb.go +++ b/user.pb.go @@ -525,6 +525,17 @@ type UserService interface { GetAddressInfo(in *Request, out *Response) error GetUserScore(in *Request, out *Response) error GetUserRedEnvelope(in *Request, out *Response) error + AddUserScore(in *Request, out *Response) error + UpdateUserScore(in *Request, out *Response) error + AddUserScoreLog(in *Request, out *Response) error + AddUserUpgrade(in *Request, out *Response) error + UpdateUserUpgrade(in *Request, out *Response) error + AddUserUpgradeLog(in *Request, out *Response) error + AddUserRedEnvelope(in *Request, out *Response) error + UpdateUserRedEnvelope(in *Request, out *Response) error + AddUserRedEnvelopeLog(in *Request, out *Response) error + AddUserCoupon(in *Request, out *Response) error + UpdateUserCoupon(in *Request, out *Response) error } // AcceptUserServiceClient accepts connections on the listener and serves requests @@ -635,6 +646,39 @@ func (c *UserServiceClient) GetUserScore(in *Request, out *Response) error { func (c *UserServiceClient) GetUserRedEnvelope(in *Request, out *Response) error { return c.Call("UserService.GetUserRedEnvelope", in, out) } +func (c *UserServiceClient) AddUserScore(in *Request, out *Response) error { + return c.Call("UserService.AddUserScore", in, out) +} +func (c *UserServiceClient) UpdateUserScore(in *Request, out *Response) error { + return c.Call("UserService.UpdateUserScore", in, out) +} +func (c *UserServiceClient) AddUserScoreLog(in *Request, out *Response) error { + return c.Call("UserService.AddUserScoreLog", in, out) +} +func (c *UserServiceClient) AddUserUpgrade(in *Request, out *Response) error { + return c.Call("UserService.AddUserUpgrade", in, out) +} +func (c *UserServiceClient) UpdateUserUpgrade(in *Request, out *Response) error { + return c.Call("UserService.UpdateUserUpgrade", in, out) +} +func (c *UserServiceClient) AddUserUpgradeLog(in *Request, out *Response) error { + return c.Call("UserService.AddUserUpgradeLog", in, out) +} +func (c *UserServiceClient) AddUserRedEnvelope(in *Request, out *Response) error { + return c.Call("UserService.AddUserRedEnvelope", in, out) +} +func (c *UserServiceClient) UpdateUserRedEnvelope(in *Request, out *Response) error { + return c.Call("UserService.UpdateUserRedEnvelope", in, out) +} +func (c *UserServiceClient) AddUserRedEnvelopeLog(in *Request, out *Response) error { + return c.Call("UserService.AddUserRedEnvelopeLog", in, out) +} +func (c *UserServiceClient) AddUserCoupon(in *Request, out *Response) error { + return c.Call("UserService.AddUserCoupon", in, out) +} +func (c *UserServiceClient) UpdateUserCoupon(in *Request, out *Response) error { + return c.Call("UserService.UpdateUserCoupon", in, out) +} // DialUserService connects to an UserService at the specified network address. func DialUserService(network, addr string) (*UserServiceClient, *rpc.Client, error) {