|
|
@ -536,6 +536,7 @@ type UserService interface { |
|
|
|
AddUserRedEnvelopeLog(in *Request, out *Response) error |
|
|
|
AddUserCoupon(in *Request, out *Response) error |
|
|
|
UpdateUserCoupon(in *Request, out *Response) error |
|
|
|
FavoriteProduct(in *Request, out *Response) error |
|
|
|
} |
|
|
|
|
|
|
|
// AcceptUserServiceClient accepts connections on the listener and serves requests
|
|
|
@ -679,6 +680,9 @@ func (c *UserServiceClient) AddUserCoupon(in *Request, out *Response) error { |
|
|
|
func (c *UserServiceClient) UpdateUserCoupon(in *Request, out *Response) error { |
|
|
|
return c.Call("UserService.UpdateUserCoupon", in, out) |
|
|
|
} |
|
|
|
func (c *UserServiceClient) FavoriteProduct(in *Request, out *Response) error { |
|
|
|
return c.Call("UserService.FavoriteProduct", in, out) |
|
|
|
} |
|
|
|
|
|
|
|
// DialUserService connects to an UserService at the specified network address.
|
|
|
|
func DialUserService(network, addr string) (*UserServiceClient, *rpc.Client, error) { |
|
|
|