2022-07-17 10:59:55 +08:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.25.0
|
|
|
|
|
// protoc v3.19.4
|
|
|
|
|
// source: service_user_identity.proto
|
|
|
|
|
|
|
|
|
|
package pb
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
context "context"
|
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
|
codes "google.golang.org/grpc/codes"
|
|
|
|
|
status "google.golang.org/grpc/status"
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
reflect "reflect"
|
|
|
|
|
sync "sync"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
|
|
// of the legacy proto package is being used.
|
|
|
|
|
const _ = proto.ProtoPackageIsVersion4
|
|
|
|
|
|
2022-07-24 10:08:13 +08:00
|
|
|
// 创建实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
type CreateUserIdentityRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
OrgType string `protobuf:"bytes,1,opt,name=orgType,proto3" json:"orgType,omitempty"`
|
|
|
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
|
RealName string `protobuf:"bytes,3,opt,name=realName,proto3" json:"realName,omitempty"`
|
|
|
|
|
Number string `protobuf:"bytes,4,opt,name=number,proto3" json:"number,omitempty"`
|
|
|
|
|
FileIds []int64 `protobuf:"varint,5,rep,packed,name=fileIds,proto3" json:"fileIds,omitempty"`
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUserIdentityRequest) Reset() {
|
|
|
|
|
*x = CreateUserIdentityRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUserIdentityRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateUserIdentityRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[0]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CreateUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateUserIdentityRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (x *CreateUserIdentityRequest) GetOrgType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.OrgType
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-17 10:59:55 +08:00
|
|
|
func (x *CreateUserIdentityRequest) GetType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUserIdentityRequest) GetRealName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RealName
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUserIdentityRequest) GetNumber() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Number
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUserIdentityRequest) GetFileIds() []int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.FileIds
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CreateUserIdentityResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUserIdentityResponse) Reset() {
|
|
|
|
|
*x = CreateUserIdentityResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUserIdentityResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateUserIdentityResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUserIdentityResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[1]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CreateUserIdentityResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateUserIdentityResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateUserIdentityResponse) GetUserIdentityId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserIdentityId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 10:08:13 +08:00
|
|
|
// 查找单个实名认证信息
|
2022-07-24 09:56:34 +08:00
|
|
|
type FindEnabledUserIdentityRequest struct {
|
2022-07-17 10:59:55 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (x *FindEnabledUserIdentityRequest) Reset() {
|
|
|
|
|
*x = FindEnabledUserIdentityRequest{}
|
2022-07-17 10:59:55 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (x *FindEnabledUserIdentityRequest) String() string {
|
2022-07-17 10:59:55 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (*FindEnabledUserIdentityRequest) ProtoMessage() {}
|
2022-07-17 10:59:55 +08:00
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (x *FindEnabledUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
2022-07-17 10:59:55 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[2]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
// Deprecated: Use FindEnabledUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindEnabledUserIdentityRequest) Descriptor() ([]byte, []int) {
|
2022-07-17 10:59:55 +08:00
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (x *FindEnabledUserIdentityRequest) GetUserIdentityId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserIdentityId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FindEnabledUserIdentityResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserIdentity *UserIdentity `protobuf:"bytes,1,opt,name=userIdentity,proto3" json:"userIdentity,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledUserIdentityResponse) Reset() {
|
|
|
|
|
*x = FindEnabledUserIdentityResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledUserIdentityResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindEnabledUserIdentityResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledUserIdentityResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[3]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindEnabledUserIdentityResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindEnabledUserIdentityResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledUserIdentityResponse) GetUserIdentity() *UserIdentity {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserIdentity
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 10:08:13 +08:00
|
|
|
// 查看某个类型的实名认证信息
|
2022-07-24 09:56:34 +08:00
|
|
|
type FindEnabledUserIdentityWithOrgTypeRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户端不需要设置此参数
|
|
|
|
|
OrgType string `protobuf:"bytes,2,opt,name=orgType,proto3" json:"orgType,omitempty"` // 阻止类型
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeRequest) Reset() {
|
|
|
|
|
*x = FindEnabledUserIdentityWithOrgTypeRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[4]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*FindEnabledUserIdentityWithOrgTypeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[4]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use FindEnabledUserIdentityWithOrgTypeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindEnabledUserIdentityWithOrgTypeRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeRequest) GetUserId() int64 {
|
2022-07-17 10:59:55 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.UserId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeRequest) GetOrgType() string {
|
2022-07-17 10:59:55 +08:00
|
|
|
if x != nil {
|
2022-07-24 09:56:34 +08:00
|
|
|
return x.OrgType
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
type FindEnabledUserIdentityWithOrgTypeResponse struct {
|
2022-07-17 10:59:55 +08:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserIdentity *UserIdentity `protobuf:"bytes,1,opt,name=userIdentity,proto3" json:"userIdentity,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeResponse) Reset() {
|
|
|
|
|
*x = FindEnabledUserIdentityWithOrgTypeResponse{}
|
2022-07-17 10:59:55 +08:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-07-24 09:56:34 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[5]
|
2022-07-17 10:59:55 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeResponse) String() string {
|
2022-07-17 10:59:55 +08:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (*FindEnabledUserIdentityWithOrgTypeResponse) ProtoMessage() {}
|
2022-07-17 10:59:55 +08:00
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[5]
|
2022-07-17 10:59:55 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
// Deprecated: Use FindEnabledUserIdentityWithOrgTypeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FindEnabledUserIdentityWithOrgTypeResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{5}
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (x *FindEnabledUserIdentityWithOrgTypeResponse) GetUserIdentity() *UserIdentity {
|
2022-07-17 10:59:55 +08:00
|
|
|
if x != nil {
|
|
|
|
|
return x.UserIdentity
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 10:08:13 +08:00
|
|
|
// 修改实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
type UpdateUserIdentityRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
|
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
|
RealName string `protobuf:"bytes,3,opt,name=realName,proto3" json:"realName,omitempty"`
|
|
|
|
|
Number string `protobuf:"bytes,4,opt,name=number,proto3" json:"number,omitempty"`
|
|
|
|
|
FileIds []int64 `protobuf:"varint,5,rep,packed,name=fileIds,proto3" json:"fileIds,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateUserIdentityRequest) Reset() {
|
|
|
|
|
*x = UpdateUserIdentityRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-07-24 09:56:34 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[6]
|
2022-07-17 10:59:55 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateUserIdentityRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UpdateUserIdentityRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
2022-07-24 09:56:34 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[6]
|
2022-07-17 10:59:55 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpdateUserIdentityRequest) Descriptor() ([]byte, []int) {
|
2022-07-24 09:56:34 +08:00
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{6}
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateUserIdentityRequest) GetUserIdentityId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserIdentityId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateUserIdentityRequest) GetType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateUserIdentityRequest) GetRealName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RealName
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateUserIdentityRequest) GetNumber() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Number
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpdateUserIdentityRequest) GetFileIds() []int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.FileIds
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 10:08:13 +08:00
|
|
|
// 提交审核实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
type SubmitUserIdentityRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SubmitUserIdentityRequest) Reset() {
|
|
|
|
|
*x = SubmitUserIdentityRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-07-24 09:56:34 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[7]
|
2022-07-17 10:59:55 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SubmitUserIdentityRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SubmitUserIdentityRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SubmitUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
2022-07-24 09:56:34 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[7]
|
2022-07-17 10:59:55 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SubmitUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SubmitUserIdentityRequest) Descriptor() ([]byte, []int) {
|
2022-07-24 09:56:34 +08:00
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{7}
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SubmitUserIdentityRequest) GetUserIdentityId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserIdentityId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 取消提交身份审核认证信息
|
|
|
|
|
type CancelUserIdentityRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CancelUserIdentityRequest) Reset() {
|
|
|
|
|
*x = CancelUserIdentityRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-07-24 09:56:34 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[8]
|
2022-07-17 10:59:55 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CancelUserIdentityRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CancelUserIdentityRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CancelUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
2022-07-24 09:56:34 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[8]
|
2022-07-17 10:59:55 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CancelUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CancelUserIdentityRequest) Descriptor() ([]byte, []int) {
|
2022-07-24 09:56:34 +08:00
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{8}
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CancelUserIdentityRequest) GetUserIdentityId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserIdentityId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 10:08:13 +08:00
|
|
|
// 重置用户实名认证信息
|
|
|
|
|
type ResetUserIdentityRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ResetUserIdentityRequest) Reset() {
|
|
|
|
|
*x = ResetUserIdentityRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[9]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ResetUserIdentityRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ResetUserIdentityRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ResetUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_user_identity_proto_msgTypes[9]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ResetUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ResetUserIdentityRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ResetUserIdentityRequest) GetUserIdentityId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserIdentityId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 拒绝用户实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
type RejectUserIdentityRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
|
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RejectUserIdentityRequest) Reset() {
|
|
|
|
|
*x = RejectUserIdentityRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-07-24 10:08:13 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[10]
|
2022-07-17 10:59:55 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RejectUserIdentityRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*RejectUserIdentityRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *RejectUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
2022-07-24 10:08:13 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[10]
|
2022-07-17 10:59:55 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use RejectUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*RejectUserIdentityRequest) Descriptor() ([]byte, []int) {
|
2022-07-24 10:08:13 +08:00
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{10}
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RejectUserIdentityRequest) GetUserIdentityId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserIdentityId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (x *RejectUserIdentityRequest) GetReason() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Reason
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 10:08:13 +08:00
|
|
|
// 通过用户实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
type VerifyUserIdentityRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserIdentityId int64 `protobuf:"varint,1,opt,name=userIdentityId,proto3" json:"userIdentityId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *VerifyUserIdentityRequest) Reset() {
|
|
|
|
|
*x = VerifyUserIdentityRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-07-24 10:08:13 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[11]
|
2022-07-17 10:59:55 +08:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *VerifyUserIdentityRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*VerifyUserIdentityRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *VerifyUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
2022-07-24 10:08:13 +08:00
|
|
|
mi := &file_service_user_identity_proto_msgTypes[11]
|
2022-07-17 10:59:55 +08:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use VerifyUserIdentityRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*VerifyUserIdentityRequest) Descriptor() ([]byte, []int) {
|
2022-07-24 10:08:13 +08:00
|
|
|
return file_service_user_identity_proto_rawDescGZIP(), []int{11}
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *VerifyUserIdentityRequest) GetUserIdentityId() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UserIdentityId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var File_service_user_identity_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_service_user_identity_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x1b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
|
|
|
|
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70,
|
|
|
|
|
0x62, 0x1a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72,
|
|
|
|
|
0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x5f,
|
2022-07-24 09:56:34 +08:00
|
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97,
|
|
|
|
|
0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65,
|
|
|
|
|
0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07,
|
|
|
|
|
0x6f, 0x72, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f,
|
|
|
|
|
0x72, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65,
|
|
|
|
|
0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65,
|
|
|
|
|
0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
|
|
|
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18,
|
|
|
|
|
0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52,
|
|
|
|
|
0x07, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x22, 0x44, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61,
|
|
|
|
|
0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e,
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x48,
|
|
|
|
|
0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65,
|
|
|
|
|
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
|
|
|
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x57, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64,
|
|
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74,
|
|
|
|
|
0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x0c, 0x75,
|
|
|
|
|
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74,
|
|
|
|
|
0x69, 0x74, 0x79, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
|
|
|
|
0x79, 0x22, 0x5d, 0x0a, 0x29, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
2022-07-17 10:59:55 +08:00
|
|
|
0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x57, 0x69, 0x74, 0x68,
|
2022-07-24 09:56:34 +08:00
|
|
|
0x4f, 0x72, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
|
|
|
|
|
0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
|
|
|
|
0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x67, 0x54, 0x79, 0x70,
|
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x67, 0x54, 0x79, 0x70, 0x65,
|
|
|
|
|
0x22, 0x62, 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55,
|
|
|
|
|
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x4f,
|
|
|
|
|
0x72, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34,
|
|
|
|
|
0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
|
|
|
|
|
0x74, 0x69, 0x74, 0x79, 0x22, 0xa5, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
|
|
|
|
|
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
|
|
|
0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
|
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79,
|
|
|
|
|
0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a,
|
|
|
|
|
0x0a, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75,
|
|
|
|
|
0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62,
|
|
|
|
|
0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x18, 0x05, 0x20,
|
|
|
|
|
0x03, 0x28, 0x03, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x22, 0x43, 0x0a, 0x19,
|
|
|
|
|
0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
|
|
|
0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65,
|
|
|
|
|
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49,
|
|
|
|
|
0x64, 0x22, 0x43, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
|
|
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
|
|
|
|
|
0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
|
2022-07-24 10:08:13 +08:00
|
|
|
0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x74, 0x55,
|
|
|
|
|
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
|
|
|
0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
|
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x19, 0x52, 0x65,
|
|
|
|
|
0x6a, 0x65, 0x63, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49,
|
|
|
|
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12,
|
|
|
|
|
0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x43, 0x0a, 0x19, 0x56, 0x65, 0x72, 0x69, 0x66,
|
|
|
|
|
0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
|
|
|
|
|
0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x32, 0xf0, 0x05, 0x0a,
|
|
|
|
|
0x13, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72,
|
|
|
|
|
0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73,
|
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
|
|
|
0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
|
|
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
|
|
|
|
0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e,
|
|
|
|
|
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
|
|
|
|
|
0x74, 0x69, 0x74, 0x79, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
2022-07-24 09:56:34 +08:00
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
2022-07-24 10:08:13 +08:00
|
|
|
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
2022-07-24 09:56:34 +08:00
|
|
|
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65,
|
2022-07-24 10:08:13 +08:00
|
|
|
0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01,
|
|
|
|
|
0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65,
|
|
|
|
|
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x72, 0x67,
|
|
|
|
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
|
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
|
|
|
|
0x79, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x72, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
|
|
|
|
|
0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
|
|
|
0x57, 0x69, 0x74, 0x68, 0x4f, 0x72, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
|
|
|
|
|
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x55,
|
|
|
|
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
2022-07-17 10:59:55 +08:00
|
|
|
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
|
2022-07-24 10:08:13 +08:00
|
|
|
0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x6d,
|
|
|
|
|
0x69, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d,
|
|
|
|
|
0x2e, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
|
|
|
|
|
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e,
|
|
|
|
|
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a,
|
|
|
|
|
0x12, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74,
|
|
|
|
|
0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55,
|
|
|
|
|
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
|
0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65,
|
|
|
|
|
0x73, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
|
|
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73,
|
|
|
|
|
0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65,
|
|
|
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
|
|
|
|
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x55,
|
|
|
|
|
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62,
|
|
|
|
|
0x2e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74,
|
|
|
|
|
0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
|
|
0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x76, 0x65,
|
|
|
|
|
0x72, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
|
|
|
0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72,
|
|
|
|
|
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
|
|
0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42,
|
|
|
|
|
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
file_service_user_identity_proto_rawDescOnce sync.Once
|
|
|
|
|
file_service_user_identity_proto_rawDescData = file_service_user_identity_proto_rawDesc
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func file_service_user_identity_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_service_user_identity_proto_rawDescOnce.Do(func() {
|
|
|
|
|
file_service_user_identity_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_user_identity_proto_rawDescData)
|
|
|
|
|
})
|
|
|
|
|
return file_service_user_identity_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 10:08:13 +08:00
|
|
|
var file_service_user_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
2022-07-17 10:59:55 +08:00
|
|
|
var file_service_user_identity_proto_goTypes = []interface{}{
|
2022-07-24 09:56:34 +08:00
|
|
|
(*CreateUserIdentityRequest)(nil), // 0: pb.CreateUserIdentityRequest
|
|
|
|
|
(*CreateUserIdentityResponse)(nil), // 1: pb.CreateUserIdentityResponse
|
|
|
|
|
(*FindEnabledUserIdentityRequest)(nil), // 2: pb.FindEnabledUserIdentityRequest
|
|
|
|
|
(*FindEnabledUserIdentityResponse)(nil), // 3: pb.FindEnabledUserIdentityResponse
|
|
|
|
|
(*FindEnabledUserIdentityWithOrgTypeRequest)(nil), // 4: pb.FindEnabledUserIdentityWithOrgTypeRequest
|
|
|
|
|
(*FindEnabledUserIdentityWithOrgTypeResponse)(nil), // 5: pb.FindEnabledUserIdentityWithOrgTypeResponse
|
|
|
|
|
(*UpdateUserIdentityRequest)(nil), // 6: pb.UpdateUserIdentityRequest
|
|
|
|
|
(*SubmitUserIdentityRequest)(nil), // 7: pb.SubmitUserIdentityRequest
|
|
|
|
|
(*CancelUserIdentityRequest)(nil), // 8: pb.CancelUserIdentityRequest
|
2022-07-24 10:08:13 +08:00
|
|
|
(*ResetUserIdentityRequest)(nil), // 9: pb.ResetUserIdentityRequest
|
|
|
|
|
(*RejectUserIdentityRequest)(nil), // 10: pb.RejectUserIdentityRequest
|
|
|
|
|
(*VerifyUserIdentityRequest)(nil), // 11: pb.VerifyUserIdentityRequest
|
|
|
|
|
(*UserIdentity)(nil), // 12: pb.UserIdentity
|
|
|
|
|
(*RPCSuccess)(nil), // 13: pb.RPCSuccess
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
var file_service_user_identity_proto_depIdxs = []int32{
|
2022-07-24 10:08:13 +08:00
|
|
|
12, // 0: pb.FindEnabledUserIdentityResponse.userIdentity:type_name -> pb.UserIdentity
|
|
|
|
|
12, // 1: pb.FindEnabledUserIdentityWithOrgTypeResponse.userIdentity:type_name -> pb.UserIdentity
|
2022-07-24 09:56:34 +08:00
|
|
|
0, // 2: pb.UserIdentityService.createUserIdentity:input_type -> pb.CreateUserIdentityRequest
|
|
|
|
|
2, // 3: pb.UserIdentityService.findEnabledUserIdentity:input_type -> pb.FindEnabledUserIdentityRequest
|
|
|
|
|
4, // 4: pb.UserIdentityService.findEnabledUserIdentityWithOrgType:input_type -> pb.FindEnabledUserIdentityWithOrgTypeRequest
|
|
|
|
|
6, // 5: pb.UserIdentityService.updateUserIdentity:input_type -> pb.UpdateUserIdentityRequest
|
|
|
|
|
7, // 6: pb.UserIdentityService.submitUserIdentity:input_type -> pb.SubmitUserIdentityRequest
|
|
|
|
|
8, // 7: pb.UserIdentityService.cancelUserIdentity:input_type -> pb.CancelUserIdentityRequest
|
2022-07-24 10:08:13 +08:00
|
|
|
9, // 8: pb.UserIdentityService.resetUserIdentity:input_type -> pb.ResetUserIdentityRequest
|
|
|
|
|
10, // 9: pb.UserIdentityService.rejectUserIdentity:input_type -> pb.RejectUserIdentityRequest
|
|
|
|
|
11, // 10: pb.UserIdentityService.verifyUserIdentity:input_type -> pb.VerifyUserIdentityRequest
|
|
|
|
|
1, // 11: pb.UserIdentityService.createUserIdentity:output_type -> pb.CreateUserIdentityResponse
|
|
|
|
|
3, // 12: pb.UserIdentityService.findEnabledUserIdentity:output_type -> pb.FindEnabledUserIdentityResponse
|
|
|
|
|
5, // 13: pb.UserIdentityService.findEnabledUserIdentityWithOrgType:output_type -> pb.FindEnabledUserIdentityWithOrgTypeResponse
|
|
|
|
|
13, // 14: pb.UserIdentityService.updateUserIdentity:output_type -> pb.RPCSuccess
|
|
|
|
|
13, // 15: pb.UserIdentityService.submitUserIdentity:output_type -> pb.RPCSuccess
|
|
|
|
|
13, // 16: pb.UserIdentityService.cancelUserIdentity:output_type -> pb.RPCSuccess
|
|
|
|
|
13, // 17: pb.UserIdentityService.resetUserIdentity:output_type -> pb.RPCSuccess
|
|
|
|
|
13, // 18: pb.UserIdentityService.rejectUserIdentity:output_type -> pb.RPCSuccess
|
|
|
|
|
13, // 19: pb.UserIdentityService.verifyUserIdentity:output_type -> pb.RPCSuccess
|
|
|
|
|
11, // [11:20] is the sub-list for method output_type
|
|
|
|
|
2, // [2:11] is the sub-list for method input_type
|
2022-07-24 09:56:34 +08:00
|
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
|
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:2] is the sub-list for field type_name
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_service_user_identity_proto_init() }
|
|
|
|
|
func file_service_user_identity_proto_init() {
|
|
|
|
|
if File_service_user_identity_proto != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
file_models_model_user_identity_proto_init()
|
|
|
|
|
file_models_rpc_messages_proto_init()
|
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
file_service_user_identity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CreateUserIdentityRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_user_identity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*CreateUserIdentityResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_user_identity_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2022-07-24 09:56:34 +08:00
|
|
|
switch v := v.(*FindEnabledUserIdentityRequest); i {
|
2022-07-17 10:59:55 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_user_identity_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2022-07-24 09:56:34 +08:00
|
|
|
switch v := v.(*FindEnabledUserIdentityResponse); i {
|
2022-07-17 10:59:55 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_user_identity_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2022-07-24 09:56:34 +08:00
|
|
|
switch v := v.(*FindEnabledUserIdentityWithOrgTypeRequest); i {
|
2022-07-17 10:59:55 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_user_identity_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2022-07-24 09:56:34 +08:00
|
|
|
switch v := v.(*FindEnabledUserIdentityWithOrgTypeResponse); i {
|
2022-07-17 10:59:55 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_user_identity_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2022-07-24 09:56:34 +08:00
|
|
|
switch v := v.(*UpdateUserIdentityRequest); i {
|
2022-07-17 10:59:55 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_user_identity_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2022-07-24 09:56:34 +08:00
|
|
|
switch v := v.(*SubmitUserIdentityRequest); i {
|
2022-07-17 10:59:55 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_user_identity_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2022-07-24 09:56:34 +08:00
|
|
|
switch v := v.(*CancelUserIdentityRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_user_identity_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2022-07-24 10:08:13 +08:00
|
|
|
switch v := v.(*ResetUserIdentityRequest); i {
|
2022-07-24 09:56:34 +08:00
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_user_identity_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
2022-07-24 10:08:13 +08:00
|
|
|
switch v := v.(*RejectUserIdentityRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_service_user_identity_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2022-07-17 10:59:55 +08:00
|
|
|
switch v := v.(*VerifyUserIdentityRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_service_user_identity_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
2022-07-24 10:08:13 +08:00
|
|
|
NumMessages: 12,
|
2022-07-17 10:59:55 +08:00
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
},
|
|
|
|
|
GoTypes: file_service_user_identity_proto_goTypes,
|
|
|
|
|
DependencyIndexes: file_service_user_identity_proto_depIdxs,
|
|
|
|
|
MessageInfos: file_service_user_identity_proto_msgTypes,
|
|
|
|
|
}.Build()
|
|
|
|
|
File_service_user_identity_proto = out.File
|
|
|
|
|
file_service_user_identity_proto_rawDesc = nil
|
|
|
|
|
file_service_user_identity_proto_goTypes = nil
|
|
|
|
|
file_service_user_identity_proto_depIdxs = nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
|
var _ context.Context
|
|
|
|
|
var _ grpc.ClientConnInterface
|
|
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
|
|
|
|
const _ = grpc.SupportPackageIsVersion6
|
|
|
|
|
|
|
|
|
|
// UserIdentityServiceClient is the client API for UserIdentityService service.
|
|
|
|
|
//
|
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
|
type UserIdentityServiceClient interface {
|
2022-07-24 10:08:13 +08:00
|
|
|
// 创建实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
CreateUserIdentity(ctx context.Context, in *CreateUserIdentityRequest, opts ...grpc.CallOption) (*CreateUserIdentityResponse, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 查找单个实名认证信息
|
2022-07-24 09:56:34 +08:00
|
|
|
FindEnabledUserIdentity(ctx context.Context, in *FindEnabledUserIdentityRequest, opts ...grpc.CallOption) (*FindEnabledUserIdentityResponse, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 查看某个类型的实名认证信息
|
2022-07-24 09:56:34 +08:00
|
|
|
FindEnabledUserIdentityWithOrgType(ctx context.Context, in *FindEnabledUserIdentityWithOrgTypeRequest, opts ...grpc.CallOption) (*FindEnabledUserIdentityWithOrgTypeResponse, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 修改实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
UpdateUserIdentity(ctx context.Context, in *UpdateUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 提交审核实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
SubmitUserIdentity(ctx context.Context, in *SubmitUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 取消提交实名审核认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
CancelUserIdentity(ctx context.Context, in *CancelUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 重置用户实名认证信息
|
|
|
|
|
ResetUserIdentity(ctx context.Context, in *ResetUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
// 拒绝用户实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
RejectUserIdentity(ctx context.Context, in *RejectUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 通过用户实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
VerifyUserIdentity(ctx context.Context, in *VerifyUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type userIdentityServiceClient struct {
|
|
|
|
|
cc grpc.ClientConnInterface
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func NewUserIdentityServiceClient(cc grpc.ClientConnInterface) UserIdentityServiceClient {
|
|
|
|
|
return &userIdentityServiceClient{cc}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *userIdentityServiceClient) CreateUserIdentity(ctx context.Context, in *CreateUserIdentityRequest, opts ...grpc.CallOption) (*CreateUserIdentityResponse, error) {
|
|
|
|
|
out := new(CreateUserIdentityResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/createUserIdentity", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func (c *userIdentityServiceClient) FindEnabledUserIdentity(ctx context.Context, in *FindEnabledUserIdentityRequest, opts ...grpc.CallOption) (*FindEnabledUserIdentityResponse, error) {
|
|
|
|
|
out := new(FindEnabledUserIdentityResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/findEnabledUserIdentity", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *userIdentityServiceClient) FindEnabledUserIdentityWithOrgType(ctx context.Context, in *FindEnabledUserIdentityWithOrgTypeRequest, opts ...grpc.CallOption) (*FindEnabledUserIdentityWithOrgTypeResponse, error) {
|
|
|
|
|
out := new(FindEnabledUserIdentityWithOrgTypeResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/findEnabledUserIdentityWithOrgType", in, out, opts...)
|
2022-07-17 10:59:55 +08:00
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *userIdentityServiceClient) UpdateUserIdentity(ctx context.Context, in *UpdateUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/updateUserIdentity", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *userIdentityServiceClient) SubmitUserIdentity(ctx context.Context, in *SubmitUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/submitUserIdentity", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *userIdentityServiceClient) CancelUserIdentity(ctx context.Context, in *CancelUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/cancelUserIdentity", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 10:08:13 +08:00
|
|
|
func (c *userIdentityServiceClient) ResetUserIdentity(ctx context.Context, in *ResetUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/resetUserIdentity", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-17 10:59:55 +08:00
|
|
|
func (c *userIdentityServiceClient) RejectUserIdentity(ctx context.Context, in *RejectUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/rejectUserIdentity", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *userIdentityServiceClient) VerifyUserIdentity(ctx context.Context, in *VerifyUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
|
|
|
|
out := new(RPCSuccess)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/verifyUserIdentity", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UserIdentityServiceServer is the server API for UserIdentityService service.
|
|
|
|
|
type UserIdentityServiceServer interface {
|
2022-07-24 10:08:13 +08:00
|
|
|
// 创建实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
CreateUserIdentity(context.Context, *CreateUserIdentityRequest) (*CreateUserIdentityResponse, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 查找单个实名认证信息
|
2022-07-24 09:56:34 +08:00
|
|
|
FindEnabledUserIdentity(context.Context, *FindEnabledUserIdentityRequest) (*FindEnabledUserIdentityResponse, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 查看某个类型的实名认证信息
|
2022-07-24 09:56:34 +08:00
|
|
|
FindEnabledUserIdentityWithOrgType(context.Context, *FindEnabledUserIdentityWithOrgTypeRequest) (*FindEnabledUserIdentityWithOrgTypeResponse, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 修改实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
UpdateUserIdentity(context.Context, *UpdateUserIdentityRequest) (*RPCSuccess, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 提交审核实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
SubmitUserIdentity(context.Context, *SubmitUserIdentityRequest) (*RPCSuccess, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 取消提交实名审核认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
CancelUserIdentity(context.Context, *CancelUserIdentityRequest) (*RPCSuccess, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 重置用户实名认证信息
|
|
|
|
|
ResetUserIdentity(context.Context, *ResetUserIdentityRequest) (*RPCSuccess, error)
|
|
|
|
|
// 拒绝用户实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
RejectUserIdentity(context.Context, *RejectUserIdentityRequest) (*RPCSuccess, error)
|
2022-07-24 10:08:13 +08:00
|
|
|
// 通过用户实名认证信息
|
2022-07-17 10:59:55 +08:00
|
|
|
VerifyUserIdentity(context.Context, *VerifyUserIdentityRequest) (*RPCSuccess, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnimplementedUserIdentityServiceServer can be embedded to have forward compatible implementations.
|
|
|
|
|
type UnimplementedUserIdentityServiceServer struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UnimplementedUserIdentityServiceServer) CreateUserIdentity(context.Context, *CreateUserIdentityRequest) (*CreateUserIdentityResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateUserIdentity not implemented")
|
|
|
|
|
}
|
2022-07-24 09:56:34 +08:00
|
|
|
func (*UnimplementedUserIdentityServiceServer) FindEnabledUserIdentity(context.Context, *FindEnabledUserIdentityRequest) (*FindEnabledUserIdentityResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledUserIdentity not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedUserIdentityServiceServer) FindEnabledUserIdentityWithOrgType(context.Context, *FindEnabledUserIdentityWithOrgTypeRequest) (*FindEnabledUserIdentityWithOrgTypeResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledUserIdentityWithOrgType not implemented")
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
func (*UnimplementedUserIdentityServiceServer) UpdateUserIdentity(context.Context, *UpdateUserIdentityRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateUserIdentity not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedUserIdentityServiceServer) SubmitUserIdentity(context.Context, *SubmitUserIdentityRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SubmitUserIdentity not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedUserIdentityServiceServer) CancelUserIdentity(context.Context, *CancelUserIdentityRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method CancelUserIdentity not implemented")
|
|
|
|
|
}
|
2022-07-24 10:08:13 +08:00
|
|
|
func (*UnimplementedUserIdentityServiceServer) ResetUserIdentity(context.Context, *ResetUserIdentityRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ResetUserIdentity not implemented")
|
|
|
|
|
}
|
2022-07-17 10:59:55 +08:00
|
|
|
func (*UnimplementedUserIdentityServiceServer) RejectUserIdentity(context.Context, *RejectUserIdentityRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method RejectUserIdentity not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedUserIdentityServiceServer) VerifyUserIdentity(context.Context, *VerifyUserIdentityRequest) (*RPCSuccess, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method VerifyUserIdentity not implemented")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func RegisterUserIdentityServiceServer(s *grpc.Server, srv UserIdentityServiceServer) {
|
|
|
|
|
s.RegisterService(&_UserIdentityService_serviceDesc, srv)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _UserIdentityService_CreateUserIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CreateUserIdentityRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserIdentityServiceServer).CreateUserIdentity(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.UserIdentityService/CreateUserIdentity",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserIdentityServiceServer).CreateUserIdentity(ctx, req.(*CreateUserIdentityRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 09:56:34 +08:00
|
|
|
func _UserIdentityService_FindEnabledUserIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindEnabledUserIdentityRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserIdentityServiceServer).FindEnabledUserIdentity(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.UserIdentityService/FindEnabledUserIdentity",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserIdentityServiceServer).FindEnabledUserIdentity(ctx, req.(*FindEnabledUserIdentityRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _UserIdentityService_FindEnabledUserIdentityWithOrgType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(FindEnabledUserIdentityWithOrgTypeRequest)
|
2022-07-17 10:59:55 +08:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
2022-07-24 09:56:34 +08:00
|
|
|
return srv.(UserIdentityServiceServer).FindEnabledUserIdentityWithOrgType(ctx, in)
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
2022-07-24 09:56:34 +08:00
|
|
|
FullMethod: "/pb.UserIdentityService/FindEnabledUserIdentityWithOrgType",
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2022-07-24 09:56:34 +08:00
|
|
|
return srv.(UserIdentityServiceServer).FindEnabledUserIdentityWithOrgType(ctx, req.(*FindEnabledUserIdentityWithOrgTypeRequest))
|
2022-07-17 10:59:55 +08:00
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _UserIdentityService_UpdateUserIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(UpdateUserIdentityRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserIdentityServiceServer).UpdateUserIdentity(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.UserIdentityService/UpdateUserIdentity",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserIdentityServiceServer).UpdateUserIdentity(ctx, req.(*UpdateUserIdentityRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _UserIdentityService_SubmitUserIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(SubmitUserIdentityRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserIdentityServiceServer).SubmitUserIdentity(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.UserIdentityService/SubmitUserIdentity",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserIdentityServiceServer).SubmitUserIdentity(ctx, req.(*SubmitUserIdentityRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _UserIdentityService_CancelUserIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(CancelUserIdentityRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserIdentityServiceServer).CancelUserIdentity(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.UserIdentityService/CancelUserIdentity",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserIdentityServiceServer).CancelUserIdentity(ctx, req.(*CancelUserIdentityRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-24 10:08:13 +08:00
|
|
|
func _UserIdentityService_ResetUserIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(ResetUserIdentityRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserIdentityServiceServer).ResetUserIdentity(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.UserIdentityService/ResetUserIdentity",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserIdentityServiceServer).ResetUserIdentity(ctx, req.(*ResetUserIdentityRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-17 10:59:55 +08:00
|
|
|
func _UserIdentityService_RejectUserIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(RejectUserIdentityRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserIdentityServiceServer).RejectUserIdentity(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.UserIdentityService/RejectUserIdentity",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserIdentityServiceServer).RejectUserIdentity(ctx, req.(*RejectUserIdentityRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _UserIdentityService_VerifyUserIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(VerifyUserIdentityRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(UserIdentityServiceServer).VerifyUserIdentity(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/pb.UserIdentityService/VerifyUserIdentity",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(UserIdentityServiceServer).VerifyUserIdentity(ctx, req.(*VerifyUserIdentityRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var _UserIdentityService_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
ServiceName: "pb.UserIdentityService",
|
|
|
|
|
HandlerType: (*UserIdentityServiceServer)(nil),
|
|
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
|
{
|
|
|
|
|
MethodName: "createUserIdentity",
|
|
|
|
|
Handler: _UserIdentityService_CreateUserIdentity_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-07-24 09:56:34 +08:00
|
|
|
MethodName: "findEnabledUserIdentity",
|
|
|
|
|
Handler: _UserIdentityService_FindEnabledUserIdentity_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "findEnabledUserIdentityWithOrgType",
|
|
|
|
|
Handler: _UserIdentityService_FindEnabledUserIdentityWithOrgType_Handler,
|
2022-07-17 10:59:55 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "updateUserIdentity",
|
|
|
|
|
Handler: _UserIdentityService_UpdateUserIdentity_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "submitUserIdentity",
|
|
|
|
|
Handler: _UserIdentityService_SubmitUserIdentity_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "cancelUserIdentity",
|
|
|
|
|
Handler: _UserIdentityService_CancelUserIdentity_Handler,
|
|
|
|
|
},
|
2022-07-24 10:08:13 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "resetUserIdentity",
|
|
|
|
|
Handler: _UserIdentityService_ResetUserIdentity_Handler,
|
|
|
|
|
},
|
2022-07-17 10:59:55 +08:00
|
|
|
{
|
|
|
|
|
MethodName: "rejectUserIdentity",
|
|
|
|
|
Handler: _UserIdentityService_RejectUserIdentity_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "verifyUserIdentity",
|
|
|
|
|
Handler: _UserIdentityService_VerifyUserIdentity_Handler,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
|
Metadata: "service_user_identity.proto",
|
|
|
|
|
}
|