Browse Source

增加v2版获取第三方openid接口

master v0.7.0
guzeng 3 years ago
parent
commit
cae5a2e11a
2 changed files with 5 additions and 0 deletions
  1. +4
    -0
      user.pb.go
  2. +1
    -0
      user.proto

+ 4
- 0
user.pb.go View File

@ -478,6 +478,7 @@ type UserService interface {
GetByUsercode(in *UserInfoByUsercode, out *UserResponse) error
BindThird(in *Request, out *Response) error
GetThird(in *Request, out *Response) error
GetUserThird(in *Request, out *Response) error
GetBusiness(in *Request, out *Response) error
GetById(in *Request, out *Response) error
GetBusinessInfo(in *Request, out *Response) error
@ -571,6 +572,9 @@ func (c *UserServiceClient) BindThird(in *Request, out *Response) error {
func (c *UserServiceClient) GetThird(in *Request, out *Response) error {
return c.Call("UserService.GetThird", in, out)
}
func (c *UserServiceClient) GetUserThird(in *Request, out *Response) error {
return c.Call("UserService.GetUserThird", in, out)
}
func (c *UserServiceClient) GetBusiness(in *Request, out *Response) error {
return c.Call("UserService.GetBusiness", in, out)
}


+ 1
- 0
user.proto View File

@ -88,6 +88,7 @@ service UserService {
rpc getByUsercode (UserInfoByUsercode) returns (UserResponse); // 使usercode查询用户
rpc bindThird (Request) returns (Response); //
rpc getThird(Request) returns (Response); //
rpc getUserThird(Request) returns (Response); // v2
rpc getBusiness(Request) returns (Response); //
rpc getById(Request) returns (Response); //
rpc getBusinessInfo(Request) returns (Response); //


Loading…
Cancel
Save