UserManagerServiceBase constructor
UserManagerServiceBase()
Implementation
UserManagerServiceBase() {
$addMethod($grpc.ServiceMethod<$8.LoginInfo, $0.OperationResponse>(
'RegisterUserWithLoginInfo',
registerUserWithLoginInfo_Pre,
false,
false,
($core.List<$core.int> value) => $8.LoginInfo.fromBuffer(value),
($0.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$8.LoginInfo, $8.UserLoginResponse>(
'LoginWithUserLoginInfo',
loginWithUserLoginInfo_Pre,
false,
false,
($core.List<$core.int> value) => $8.LoginInfo.fromBuffer(value),
($8.UserLoginResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.StringValue, $8.UserLoginResponse>(
'LoginWithWechatCode',
loginWithWechatCode_Pre,
false,
false,
($core.List<$core.int> value) => $0.StringValue.fromBuffer(value),
($8.UserLoginResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.StringValue, $0.OperationResponse>(
'BindWithWechatCode',
bindWithWechatCode_Pre,
false,
false,
($core.List<$core.int> value) => $0.StringValue.fromBuffer(value),
($0.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $0.OperationResponse>(
'UnbindWechat',
unbindWechat_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($0.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $0.UserInfo>(
'GetUserInfo',
getUserInfo_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($0.UserInfo value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.StringValue, $0.WechatUserInfo>(
'GetUserWechatInfoByCode',
getUserWechatInfoByCode_Pre,
false,
false,
($core.List<$core.int> value) => $0.StringValue.fromBuffer(value),
($0.WechatUserInfo value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.StringValue, $0.OperationResponse>(
'UpdateUserName',
updateUserName_Pre,
false,
false,
($core.List<$core.int> value) => $0.StringValue.fromBuffer(value),
($0.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.StringValue, $0.OperationResponse>(
'UpdateUserEmail',
updateUserEmail_Pre,
false,
false,
($core.List<$core.int> value) => $0.StringValue.fromBuffer(value),
($0.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.StringValue, $0.OperationResponse>(
'UpdateUserMobile',
updateUserMobile_Pre,
false,
false,
($core.List<$core.int> value) => $0.StringValue.fromBuffer(value),
($0.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.StringValue, $0.OperationResponse>(
'UpdateUserPassword',
updateUserPassword_Pre,
false,
false,
($core.List<$core.int> value) => $0.StringValue.fromBuffer(value),
($0.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$8.UpdateAvatar, $0.OperationResponse>(
'UpdateUserAvatar',
updateUserAvatar_Pre,
false,
false,
($core.List<$core.int> value) => $8.UpdateAvatar.fromBuffer(value),
($0.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $0.StringValue>(
'GetAllConfig',
getAllConfig_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($0.StringValue value) => value.writeToBuffer()));
}