|
@ -452,6 +452,7 @@ type UserService interface { |
|
|
GetByUsercode(in *UserInfoByUsercode, out *UserResponse) error |
|
|
GetByUsercode(in *UserInfoByUsercode, out *UserResponse) error |
|
|
BindThird(in *Request, out *Response) error |
|
|
BindThird(in *Request, out *Response) error |
|
|
GetThird(in *Request, out *Response) error |
|
|
GetThird(in *Request, out *Response) error |
|
|
|
|
|
GetBusiness(in *Request, out *Response) error |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// AcceptUserServiceClient accepts connections on the listener and serves requests
|
|
|
// AcceptUserServiceClient accepts connections on the listener and serves requests
|
|
@ -541,6 +542,9 @@ func (c *UserServiceClient) BindThird(in *Request, out *Response) error { |
|
|
func (c *UserServiceClient) GetThird(in *Request, out *Response) error { |
|
|
func (c *UserServiceClient) GetThird(in *Request, out *Response) error { |
|
|
return c.Call("UserService.GetThird", in, out) |
|
|
return c.Call("UserService.GetThird", in, out) |
|
|
} |
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) GetBusiness(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.GetBusiness", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// DialUserService connects to an UserService at the specified network address.
|
|
|
// DialUserService connects to an UserService at the specified network address.
|
|
|
func DialUserService(network, addr string) (*UserServiceClient, *rpc.Client, error) { |
|
|
func DialUserService(network, addr string) (*UserServiceClient, *rpc.Client, error) { |
|
|