|
@ -105,6 +105,7 @@ type OrderService interface { |
|
|
Get(in *Request, out *Response) error |
|
|
Get(in *Request, out *Response) error |
|
|
GetUserBuyTotal(in *Request, out *Response) error |
|
|
GetUserBuyTotal(in *Request, out *Response) error |
|
|
GetUserBuyNum(in *Request, out *Response) error |
|
|
GetUserBuyNum(in *Request, out *Response) error |
|
|
|
|
|
Payed(in *Request, out *Response) error |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// AcceptOrderServiceClient accepts connections on the listener and serves requests
|
|
|
// AcceptOrderServiceClient accepts connections on the listener and serves requests
|
|
@ -197,6 +198,9 @@ func (c *OrderServiceClient) GetUserBuyTotal(in *Request, out *Response) error { |
|
|
func (c *OrderServiceClient) GetUserBuyNum(in *Request, out *Response) error { |
|
|
func (c *OrderServiceClient) GetUserBuyNum(in *Request, out *Response) error { |
|
|
return c.Call("OrderService.GetUserBuyNum", in, out) |
|
|
return c.Call("OrderService.GetUserBuyNum", in, out) |
|
|
} |
|
|
} |
|
|
|
|
|
func (c *OrderServiceClient) Payed(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("OrderService.Payed", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// DialOrderService connects to an OrderService at the specified network address.
|
|
|
// DialOrderService connects to an OrderService at the specified network address.
|
|
|
func DialOrderService(network, addr string) (*OrderServiceClient, *rpc.Client, error) { |
|
|
func DialOrderService(network, addr string) (*OrderServiceClient, *rpc.Client, error) { |
|
|