feat: rebind mobile
CI / changes (push) Successful in 1m57s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 26s
CI / chore (push) Successful in 26s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 1s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 1s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 28s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / changes (push) Successful in 1m57s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 26s
CI / chore (push) Successful in 26s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 1s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 1s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 28s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
This commit is contained in:
@@ -44,6 +44,7 @@ type (
|
||||
PasswordReq = user.PasswordReq
|
||||
QrcodeLoginReq = user.QrcodeLoginReq
|
||||
QrcodeScanReq = user.QrcodeScanReq
|
||||
RebindMobileReq = user.RebindMobileReq
|
||||
Response = user.Response
|
||||
UpdateReq = user.UpdateReq
|
||||
UserBriefItem = user.UserBriefItem
|
||||
@@ -60,6 +61,7 @@ type (
|
||||
Password(ctx context.Context, in *PasswordReq, opts ...grpc.CallOption) (*Response, error)
|
||||
GetOpenid(ctx context.Context, in *GetOpenidReq, opts ...grpc.CallOption) (*Response, error)
|
||||
BindMobile(ctx context.Context, in *BindMobileReq, opts ...grpc.CallOption) (*Response, error)
|
||||
RebindMobile(ctx context.Context, in *RebindMobileReq, opts ...grpc.CallOption) (*Response, error)
|
||||
Client(ctx context.Context, in *ClientReq, opts ...grpc.CallOption) (*Response, error)
|
||||
UserItems(ctx context.Context, in *UserItemsReq, opts ...grpc.CallOption) (*Response, error)
|
||||
UserStatus(ctx context.Context, in *UserStatusReq, opts ...grpc.CallOption) (*Response, error)
|
||||
@@ -131,6 +133,11 @@ func (m *defaultUser) BindMobile(ctx context.Context, in *BindMobileReq, opts ..
|
||||
return client.BindMobile(ctx, in, opts...)
|
||||
}
|
||||
|
||||
func (m *defaultUser) RebindMobile(ctx context.Context, in *RebindMobileReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
client := user.NewUserClient(m.cli.Conn())
|
||||
return client.RebindMobile(ctx, in, opts...)
|
||||
}
|
||||
|
||||
func (m *defaultUser) Client(ctx context.Context, in *ClientReq, opts ...grpc.CallOption) (*Response, error) {
|
||||
client := user.NewUserClient(m.cli.Conn())
|
||||
return client.Client(ctx, in, opts...)
|
||||
|
||||
Reference in New Issue
Block a user