mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-05 14:20:24 +08:00
可以重置用户实名认证状态
This commit is contained in:
5988
build/rpc.json
5988
build/rpc.json
File diff suppressed because it is too large
Load Diff
@@ -29,7 +29,7 @@ const (
|
|||||||
// of the legacy proto package is being used.
|
// of the legacy proto package is being used.
|
||||||
const _ = proto.ProtoPackageIsVersion4
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
// 创建身份认证信息
|
// 创建实名认证信息
|
||||||
type CreateUserIdentityRequest struct {
|
type CreateUserIdentityRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -156,7 +156,7 @@ func (x *CreateUserIdentityResponse) GetUserIdentityId() int64 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
// 查找单个身份认证信息
|
// 查找单个实名认证信息
|
||||||
type FindEnabledUserIdentityRequest struct {
|
type FindEnabledUserIdentityRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -251,7 +251,7 @@ func (x *FindEnabledUserIdentityResponse) GetUserIdentity() *UserIdentity {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// 查看某个类型的身份认证信息
|
// 查看某个类型的实名认证信息
|
||||||
type FindEnabledUserIdentityWithOrgTypeRequest struct {
|
type FindEnabledUserIdentityWithOrgTypeRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -354,7 +354,7 @@ func (x *FindEnabledUserIdentityWithOrgTypeResponse) GetUserIdentity() *UserIden
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// 修改身份认证信息
|
// 修改实名认证信息
|
||||||
type UpdateUserIdentityRequest struct {
|
type UpdateUserIdentityRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -434,7 +434,7 @@ func (x *UpdateUserIdentityRequest) GetFileIds() []int64 {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// 提交审核身份认证信息
|
// 提交审核实名认证信息
|
||||||
type SubmitUserIdentityRequest struct {
|
type SubmitUserIdentityRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -530,7 +530,55 @@ func (x *CancelUserIdentityRequest) GetUserIdentityId() int64 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
// 拒绝用户身份认证信息
|
// 重置用户实名认证信息
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
// 拒绝用户实名认证信息
|
||||||
type RejectUserIdentityRequest struct {
|
type RejectUserIdentityRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -543,7 +591,7 @@ type RejectUserIdentityRequest struct {
|
|||||||
func (x *RejectUserIdentityRequest) Reset() {
|
func (x *RejectUserIdentityRequest) Reset() {
|
||||||
*x = RejectUserIdentityRequest{}
|
*x = RejectUserIdentityRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_user_identity_proto_msgTypes[9]
|
mi := &file_service_user_identity_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -556,7 +604,7 @@ func (x *RejectUserIdentityRequest) String() string {
|
|||||||
func (*RejectUserIdentityRequest) ProtoMessage() {}
|
func (*RejectUserIdentityRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *RejectUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
func (x *RejectUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_user_identity_proto_msgTypes[9]
|
mi := &file_service_user_identity_proto_msgTypes[10]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -569,7 +617,7 @@ func (x *RejectUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use RejectUserIdentityRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use RejectUserIdentityRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*RejectUserIdentityRequest) Descriptor() ([]byte, []int) {
|
func (*RejectUserIdentityRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_user_identity_proto_rawDescGZIP(), []int{9}
|
return file_service_user_identity_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RejectUserIdentityRequest) GetUserIdentityId() int64 {
|
func (x *RejectUserIdentityRequest) GetUserIdentityId() int64 {
|
||||||
@@ -586,7 +634,7 @@ func (x *RejectUserIdentityRequest) GetReason() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
// 通过用户身份认证信息
|
// 通过用户实名认证信息
|
||||||
type VerifyUserIdentityRequest struct {
|
type VerifyUserIdentityRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -598,7 +646,7 @@ type VerifyUserIdentityRequest struct {
|
|||||||
func (x *VerifyUserIdentityRequest) Reset() {
|
func (x *VerifyUserIdentityRequest) Reset() {
|
||||||
*x = VerifyUserIdentityRequest{}
|
*x = VerifyUserIdentityRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_service_user_identity_proto_msgTypes[10]
|
mi := &file_service_user_identity_proto_msgTypes[11]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -611,7 +659,7 @@ func (x *VerifyUserIdentityRequest) String() string {
|
|||||||
func (*VerifyUserIdentityRequest) ProtoMessage() {}
|
func (*VerifyUserIdentityRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *VerifyUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
func (x *VerifyUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_service_user_identity_proto_msgTypes[10]
|
mi := &file_service_user_identity_proto_msgTypes[11]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -624,7 +672,7 @@ func (x *VerifyUserIdentityRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use VerifyUserIdentityRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use VerifyUserIdentityRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*VerifyUserIdentityRequest) Descriptor() ([]byte, []int) {
|
func (*VerifyUserIdentityRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_service_user_identity_proto_rawDescGZIP(), []int{10}
|
return file_service_user_identity_proto_rawDescGZIP(), []int{11}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *VerifyUserIdentityRequest) GetUserIdentityId() int64 {
|
func (x *VerifyUserIdentityRequest) GetUserIdentityId() int64 {
|
||||||
@@ -698,61 +746,69 @@ var file_service_user_identity_proto_rawDesc = []byte{
|
|||||||
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
|
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,
|
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,
|
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,
|
0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x74, 0x55,
|
||||||
0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75,
|
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||||
0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74,
|
0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
||||||
0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65,
|
0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72,
|
||||||
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72,
|
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x19, 0x52, 0x65,
|
||||||
0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61,
|
0x6a, 0x65, 0x63, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
||||||
0x73, 0x6f, 0x6e, 0x22, 0x43, 0x0a, 0x19, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65,
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49,
|
||||||
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12,
|
||||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
|
0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||||
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x32, 0xad, 0x05, 0x0a, 0x13, 0x55, 0x73, 0x65,
|
0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x43, 0x0a, 0x19, 0x56, 0x65, 0x72, 0x69, 0x66,
|
||||||
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71,
|
||||||
0x12, 0x53, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
|
||||||
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73,
|
||||||
0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65,
|
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x32, 0xf0, 0x05, 0x0a,
|
||||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
0x13, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72,
|
||||||
0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73,
|
0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 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, 0x61, 0x62, 0x6c, 0x65,
|
|
||||||
0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71,
|
|
||||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 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, 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, 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, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x55, 0x73,
|
|
||||||
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e,
|
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,
|
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, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52,
|
0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
||||||
0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x63, 0x61, 0x6e,
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
||||||
0x63, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12,
|
0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e,
|
||||||
0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49,
|
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
|
||||||
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e,
|
0x74, 0x69, 0x74, 0x79, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||||
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43,
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
||||||
0x0a, 0x12, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
|
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
|
||||||
0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74,
|
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65,
|
||||||
0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75,
|
0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01,
|
||||||
0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63,
|
0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65,
|
||||||
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, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x72, 0x67,
|
||||||
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x56,
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
|
||||||
0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
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,
|
||||||
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
|
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,
|
0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x6d,
|
||||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
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,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -767,7 +823,7 @@ func file_service_user_identity_proto_rawDescGZIP() []byte {
|
|||||||
return file_service_user_identity_proto_rawDescData
|
return file_service_user_identity_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_service_user_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
var file_service_user_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||||
var file_service_user_identity_proto_goTypes = []interface{}{
|
var file_service_user_identity_proto_goTypes = []interface{}{
|
||||||
(*CreateUserIdentityRequest)(nil), // 0: pb.CreateUserIdentityRequest
|
(*CreateUserIdentityRequest)(nil), // 0: pb.CreateUserIdentityRequest
|
||||||
(*CreateUserIdentityResponse)(nil), // 1: pb.CreateUserIdentityResponse
|
(*CreateUserIdentityResponse)(nil), // 1: pb.CreateUserIdentityResponse
|
||||||
@@ -778,32 +834,35 @@ var file_service_user_identity_proto_goTypes = []interface{}{
|
|||||||
(*UpdateUserIdentityRequest)(nil), // 6: pb.UpdateUserIdentityRequest
|
(*UpdateUserIdentityRequest)(nil), // 6: pb.UpdateUserIdentityRequest
|
||||||
(*SubmitUserIdentityRequest)(nil), // 7: pb.SubmitUserIdentityRequest
|
(*SubmitUserIdentityRequest)(nil), // 7: pb.SubmitUserIdentityRequest
|
||||||
(*CancelUserIdentityRequest)(nil), // 8: pb.CancelUserIdentityRequest
|
(*CancelUserIdentityRequest)(nil), // 8: pb.CancelUserIdentityRequest
|
||||||
(*RejectUserIdentityRequest)(nil), // 9: pb.RejectUserIdentityRequest
|
(*ResetUserIdentityRequest)(nil), // 9: pb.ResetUserIdentityRequest
|
||||||
(*VerifyUserIdentityRequest)(nil), // 10: pb.VerifyUserIdentityRequest
|
(*RejectUserIdentityRequest)(nil), // 10: pb.RejectUserIdentityRequest
|
||||||
(*UserIdentity)(nil), // 11: pb.UserIdentity
|
(*VerifyUserIdentityRequest)(nil), // 11: pb.VerifyUserIdentityRequest
|
||||||
(*RPCSuccess)(nil), // 12: pb.RPCSuccess
|
(*UserIdentity)(nil), // 12: pb.UserIdentity
|
||||||
|
(*RPCSuccess)(nil), // 13: pb.RPCSuccess
|
||||||
}
|
}
|
||||||
var file_service_user_identity_proto_depIdxs = []int32{
|
var file_service_user_identity_proto_depIdxs = []int32{
|
||||||
11, // 0: pb.FindEnabledUserIdentityResponse.userIdentity:type_name -> pb.UserIdentity
|
12, // 0: pb.FindEnabledUserIdentityResponse.userIdentity:type_name -> pb.UserIdentity
|
||||||
11, // 1: pb.FindEnabledUserIdentityWithOrgTypeResponse.userIdentity:type_name -> pb.UserIdentity
|
12, // 1: pb.FindEnabledUserIdentityWithOrgTypeResponse.userIdentity:type_name -> pb.UserIdentity
|
||||||
0, // 2: pb.UserIdentityService.createUserIdentity:input_type -> pb.CreateUserIdentityRequest
|
0, // 2: pb.UserIdentityService.createUserIdentity:input_type -> pb.CreateUserIdentityRequest
|
||||||
2, // 3: pb.UserIdentityService.findEnabledUserIdentity:input_type -> pb.FindEnabledUserIdentityRequest
|
2, // 3: pb.UserIdentityService.findEnabledUserIdentity:input_type -> pb.FindEnabledUserIdentityRequest
|
||||||
4, // 4: pb.UserIdentityService.findEnabledUserIdentityWithOrgType:input_type -> pb.FindEnabledUserIdentityWithOrgTypeRequest
|
4, // 4: pb.UserIdentityService.findEnabledUserIdentityWithOrgType:input_type -> pb.FindEnabledUserIdentityWithOrgTypeRequest
|
||||||
6, // 5: pb.UserIdentityService.updateUserIdentity:input_type -> pb.UpdateUserIdentityRequest
|
6, // 5: pb.UserIdentityService.updateUserIdentity:input_type -> pb.UpdateUserIdentityRequest
|
||||||
7, // 6: pb.UserIdentityService.submitUserIdentity:input_type -> pb.SubmitUserIdentityRequest
|
7, // 6: pb.UserIdentityService.submitUserIdentity:input_type -> pb.SubmitUserIdentityRequest
|
||||||
8, // 7: pb.UserIdentityService.cancelUserIdentity:input_type -> pb.CancelUserIdentityRequest
|
8, // 7: pb.UserIdentityService.cancelUserIdentity:input_type -> pb.CancelUserIdentityRequest
|
||||||
9, // 8: pb.UserIdentityService.rejectUserIdentity:input_type -> pb.RejectUserIdentityRequest
|
9, // 8: pb.UserIdentityService.resetUserIdentity:input_type -> pb.ResetUserIdentityRequest
|
||||||
10, // 9: pb.UserIdentityService.verifyUserIdentity:input_type -> pb.VerifyUserIdentityRequest
|
10, // 9: pb.UserIdentityService.rejectUserIdentity:input_type -> pb.RejectUserIdentityRequest
|
||||||
1, // 10: pb.UserIdentityService.createUserIdentity:output_type -> pb.CreateUserIdentityResponse
|
11, // 10: pb.UserIdentityService.verifyUserIdentity:input_type -> pb.VerifyUserIdentityRequest
|
||||||
3, // 11: pb.UserIdentityService.findEnabledUserIdentity:output_type -> pb.FindEnabledUserIdentityResponse
|
1, // 11: pb.UserIdentityService.createUserIdentity:output_type -> pb.CreateUserIdentityResponse
|
||||||
5, // 12: pb.UserIdentityService.findEnabledUserIdentityWithOrgType:output_type -> pb.FindEnabledUserIdentityWithOrgTypeResponse
|
3, // 12: pb.UserIdentityService.findEnabledUserIdentity:output_type -> pb.FindEnabledUserIdentityResponse
|
||||||
12, // 13: pb.UserIdentityService.updateUserIdentity:output_type -> pb.RPCSuccess
|
5, // 13: pb.UserIdentityService.findEnabledUserIdentityWithOrgType:output_type -> pb.FindEnabledUserIdentityWithOrgTypeResponse
|
||||||
12, // 14: pb.UserIdentityService.submitUserIdentity:output_type -> pb.RPCSuccess
|
13, // 14: pb.UserIdentityService.updateUserIdentity:output_type -> pb.RPCSuccess
|
||||||
12, // 15: pb.UserIdentityService.cancelUserIdentity:output_type -> pb.RPCSuccess
|
13, // 15: pb.UserIdentityService.submitUserIdentity:output_type -> pb.RPCSuccess
|
||||||
12, // 16: pb.UserIdentityService.rejectUserIdentity:output_type -> pb.RPCSuccess
|
13, // 16: pb.UserIdentityService.cancelUserIdentity:output_type -> pb.RPCSuccess
|
||||||
12, // 17: pb.UserIdentityService.verifyUserIdentity:output_type -> pb.RPCSuccess
|
13, // 17: pb.UserIdentityService.resetUserIdentity:output_type -> pb.RPCSuccess
|
||||||
10, // [10:18] is the sub-list for method output_type
|
13, // 18: pb.UserIdentityService.rejectUserIdentity:output_type -> pb.RPCSuccess
|
||||||
2, // [2:10] is the sub-list for method input_type
|
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
|
||||||
2, // [2:2] is the sub-list for extension type_name
|
2, // [2:2] is the sub-list for extension type_name
|
||||||
2, // [2:2] is the sub-list for extension extendee
|
2, // [2:2] is the sub-list for extension extendee
|
||||||
0, // [0:2] is the sub-list for field type_name
|
0, // [0:2] is the sub-list for field type_name
|
||||||
@@ -926,7 +985,7 @@ func file_service_user_identity_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_user_identity_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_service_user_identity_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*RejectUserIdentityRequest); i {
|
switch v := v.(*ResetUserIdentityRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -938,6 +997,18 @@ func file_service_user_identity_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_service_user_identity_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
file_service_user_identity_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
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{} {
|
||||||
switch v := v.(*VerifyUserIdentityRequest); i {
|
switch v := v.(*VerifyUserIdentityRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -956,7 +1027,7 @@ func file_service_user_identity_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_service_user_identity_proto_rawDesc,
|
RawDescriptor: file_service_user_identity_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 11,
|
NumMessages: 12,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
@@ -982,21 +1053,23 @@ const _ = grpc.SupportPackageIsVersion6
|
|||||||
//
|
//
|
||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
// 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 {
|
type UserIdentityServiceClient interface {
|
||||||
// 创建身份认证信息
|
// 创建实名认证信息
|
||||||
CreateUserIdentity(ctx context.Context, in *CreateUserIdentityRequest, opts ...grpc.CallOption) (*CreateUserIdentityResponse, error)
|
CreateUserIdentity(ctx context.Context, in *CreateUserIdentityRequest, opts ...grpc.CallOption) (*CreateUserIdentityResponse, error)
|
||||||
// 查找单个身份认证信息
|
// 查找单个实名认证信息
|
||||||
FindEnabledUserIdentity(ctx context.Context, in *FindEnabledUserIdentityRequest, opts ...grpc.CallOption) (*FindEnabledUserIdentityResponse, error)
|
FindEnabledUserIdentity(ctx context.Context, in *FindEnabledUserIdentityRequest, opts ...grpc.CallOption) (*FindEnabledUserIdentityResponse, error)
|
||||||
// 查看某个类型的身份认证信息
|
// 查看某个类型的实名认证信息
|
||||||
FindEnabledUserIdentityWithOrgType(ctx context.Context, in *FindEnabledUserIdentityWithOrgTypeRequest, opts ...grpc.CallOption) (*FindEnabledUserIdentityWithOrgTypeResponse, error)
|
FindEnabledUserIdentityWithOrgType(ctx context.Context, in *FindEnabledUserIdentityWithOrgTypeRequest, opts ...grpc.CallOption) (*FindEnabledUserIdentityWithOrgTypeResponse, error)
|
||||||
// 修改身份认证信息
|
// 修改实名认证信息
|
||||||
UpdateUserIdentity(ctx context.Context, in *UpdateUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
UpdateUserIdentity(ctx context.Context, in *UpdateUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||||||
// 提交审核身份认证信息
|
// 提交审核实名认证信息
|
||||||
SubmitUserIdentity(ctx context.Context, in *SubmitUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
SubmitUserIdentity(ctx context.Context, in *SubmitUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||||||
// 取消提交身份审核认证信息
|
// 取消提交实名审核认证信息
|
||||||
CancelUserIdentity(ctx context.Context, in *CancelUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
CancelUserIdentity(ctx context.Context, in *CancelUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||||||
// 拒绝用户身份认证信息
|
// 重置用户实名认证信息
|
||||||
|
ResetUserIdentity(ctx context.Context, in *ResetUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||||||
|
// 拒绝用户实名认证信息
|
||||||
RejectUserIdentity(ctx context.Context, in *RejectUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
RejectUserIdentity(ctx context.Context, in *RejectUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||||||
// 通过用户身份认证信息
|
// 通过用户实名认证信息
|
||||||
VerifyUserIdentity(ctx context.Context, in *VerifyUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
VerifyUserIdentity(ctx context.Context, in *VerifyUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1062,6 +1135,15 @@ func (c *userIdentityServiceClient) CancelUserIdentity(ctx context.Context, in *
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
func (c *userIdentityServiceClient) RejectUserIdentity(ctx context.Context, in *RejectUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
func (c *userIdentityServiceClient) RejectUserIdentity(ctx context.Context, in *RejectUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
|
||||||
out := new(RPCSuccess)
|
out := new(RPCSuccess)
|
||||||
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/rejectUserIdentity", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/rejectUserIdentity", in, out, opts...)
|
||||||
@@ -1082,21 +1164,23 @@ func (c *userIdentityServiceClient) VerifyUserIdentity(ctx context.Context, in *
|
|||||||
|
|
||||||
// UserIdentityServiceServer is the server API for UserIdentityService service.
|
// UserIdentityServiceServer is the server API for UserIdentityService service.
|
||||||
type UserIdentityServiceServer interface {
|
type UserIdentityServiceServer interface {
|
||||||
// 创建身份认证信息
|
// 创建实名认证信息
|
||||||
CreateUserIdentity(context.Context, *CreateUserIdentityRequest) (*CreateUserIdentityResponse, error)
|
CreateUserIdentity(context.Context, *CreateUserIdentityRequest) (*CreateUserIdentityResponse, error)
|
||||||
// 查找单个身份认证信息
|
// 查找单个实名认证信息
|
||||||
FindEnabledUserIdentity(context.Context, *FindEnabledUserIdentityRequest) (*FindEnabledUserIdentityResponse, error)
|
FindEnabledUserIdentity(context.Context, *FindEnabledUserIdentityRequest) (*FindEnabledUserIdentityResponse, error)
|
||||||
// 查看某个类型的身份认证信息
|
// 查看某个类型的实名认证信息
|
||||||
FindEnabledUserIdentityWithOrgType(context.Context, *FindEnabledUserIdentityWithOrgTypeRequest) (*FindEnabledUserIdentityWithOrgTypeResponse, error)
|
FindEnabledUserIdentityWithOrgType(context.Context, *FindEnabledUserIdentityWithOrgTypeRequest) (*FindEnabledUserIdentityWithOrgTypeResponse, error)
|
||||||
// 修改身份认证信息
|
// 修改实名认证信息
|
||||||
UpdateUserIdentity(context.Context, *UpdateUserIdentityRequest) (*RPCSuccess, error)
|
UpdateUserIdentity(context.Context, *UpdateUserIdentityRequest) (*RPCSuccess, error)
|
||||||
// 提交审核身份认证信息
|
// 提交审核实名认证信息
|
||||||
SubmitUserIdentity(context.Context, *SubmitUserIdentityRequest) (*RPCSuccess, error)
|
SubmitUserIdentity(context.Context, *SubmitUserIdentityRequest) (*RPCSuccess, error)
|
||||||
// 取消提交身份审核认证信息
|
// 取消提交实名审核认证信息
|
||||||
CancelUserIdentity(context.Context, *CancelUserIdentityRequest) (*RPCSuccess, error)
|
CancelUserIdentity(context.Context, *CancelUserIdentityRequest) (*RPCSuccess, error)
|
||||||
// 拒绝用户身份认证信息
|
// 重置用户实名认证信息
|
||||||
|
ResetUserIdentity(context.Context, *ResetUserIdentityRequest) (*RPCSuccess, error)
|
||||||
|
// 拒绝用户实名认证信息
|
||||||
RejectUserIdentity(context.Context, *RejectUserIdentityRequest) (*RPCSuccess, error)
|
RejectUserIdentity(context.Context, *RejectUserIdentityRequest) (*RPCSuccess, error)
|
||||||
// 通过用户身份认证信息
|
// 通过用户实名认证信息
|
||||||
VerifyUserIdentity(context.Context, *VerifyUserIdentityRequest) (*RPCSuccess, error)
|
VerifyUserIdentity(context.Context, *VerifyUserIdentityRequest) (*RPCSuccess, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1122,6 +1206,9 @@ func (*UnimplementedUserIdentityServiceServer) SubmitUserIdentity(context.Contex
|
|||||||
func (*UnimplementedUserIdentityServiceServer) CancelUserIdentity(context.Context, *CancelUserIdentityRequest) (*RPCSuccess, error) {
|
func (*UnimplementedUserIdentityServiceServer) CancelUserIdentity(context.Context, *CancelUserIdentityRequest) (*RPCSuccess, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CancelUserIdentity not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CancelUserIdentity not implemented")
|
||||||
}
|
}
|
||||||
|
func (*UnimplementedUserIdentityServiceServer) ResetUserIdentity(context.Context, *ResetUserIdentityRequest) (*RPCSuccess, error) {
|
||||||
|
return nil, status.Errorf(codes.Unimplemented, "method ResetUserIdentity not implemented")
|
||||||
|
}
|
||||||
func (*UnimplementedUserIdentityServiceServer) RejectUserIdentity(context.Context, *RejectUserIdentityRequest) (*RPCSuccess, error) {
|
func (*UnimplementedUserIdentityServiceServer) RejectUserIdentity(context.Context, *RejectUserIdentityRequest) (*RPCSuccess, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method RejectUserIdentity not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method RejectUserIdentity not implemented")
|
||||||
}
|
}
|
||||||
@@ -1241,6 +1328,24 @@ func _UserIdentityService_CancelUserIdentity_Handler(srv interface{}, ctx contex
|
|||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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)
|
||||||
|
}
|
||||||
|
|
||||||
func _UserIdentityService_RejectUserIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _UserIdentityService_RejectUserIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(RejectUserIdentityRequest)
|
in := new(RejectUserIdentityRequest)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
@@ -1305,6 +1410,10 @@ var _UserIdentityService_serviceDesc = grpc.ServiceDesc{
|
|||||||
MethodName: "cancelUserIdentity",
|
MethodName: "cancelUserIdentity",
|
||||||
Handler: _UserIdentityService_CancelUserIdentity_Handler,
|
Handler: _UserIdentityService_CancelUserIdentity_Handler,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
MethodName: "resetUserIdentity",
|
||||||
|
Handler: _UserIdentityService_ResetUserIdentity_Handler,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
MethodName: "rejectUserIdentity",
|
MethodName: "rejectUserIdentity",
|
||||||
Handler: _UserIdentityService_RejectUserIdentity_Handler,
|
Handler: _UserIdentityService_RejectUserIdentity_Handler,
|
||||||
|
|||||||
@@ -6,34 +6,37 @@ package pb;
|
|||||||
import "models/model_user_identity.proto";
|
import "models/model_user_identity.proto";
|
||||||
import "models/rpc_messages.proto";
|
import "models/rpc_messages.proto";
|
||||||
|
|
||||||
// 用户身份认证服务
|
// 用户实名认证服务
|
||||||
service UserIdentityService {
|
service UserIdentityService {
|
||||||
// 创建身份认证信息
|
// 创建实名认证信息
|
||||||
rpc createUserIdentity(CreateUserIdentityRequest) returns (CreateUserIdentityResponse);
|
rpc createUserIdentity(CreateUserIdentityRequest) returns (CreateUserIdentityResponse);
|
||||||
|
|
||||||
// 查找单个身份认证信息
|
// 查找单个实名认证信息
|
||||||
rpc findEnabledUserIdentity(FindEnabledUserIdentityRequest) returns (FindEnabledUserIdentityResponse);
|
rpc findEnabledUserIdentity(FindEnabledUserIdentityRequest) returns (FindEnabledUserIdentityResponse);
|
||||||
|
|
||||||
// 查看某个类型的身份认证信息
|
// 查看某个类型的实名认证信息
|
||||||
rpc findEnabledUserIdentityWithOrgType(FindEnabledUserIdentityWithOrgTypeRequest) returns (FindEnabledUserIdentityWithOrgTypeResponse);
|
rpc findEnabledUserIdentityWithOrgType(FindEnabledUserIdentityWithOrgTypeRequest) returns (FindEnabledUserIdentityWithOrgTypeResponse);
|
||||||
|
|
||||||
// 修改身份认证信息
|
// 修改实名认证信息
|
||||||
rpc updateUserIdentity(UpdateUserIdentityRequest) returns (RPCSuccess);
|
rpc updateUserIdentity(UpdateUserIdentityRequest) returns (RPCSuccess);
|
||||||
|
|
||||||
// 提交审核身份认证信息
|
// 提交审核实名认证信息
|
||||||
rpc submitUserIdentity(SubmitUserIdentityRequest) returns (RPCSuccess);
|
rpc submitUserIdentity(SubmitUserIdentityRequest) returns (RPCSuccess);
|
||||||
|
|
||||||
// 取消提交身份审核认证信息
|
// 取消提交实名审核认证信息
|
||||||
rpc cancelUserIdentity(CancelUserIdentityRequest) returns (RPCSuccess);
|
rpc cancelUserIdentity(CancelUserIdentityRequest) returns (RPCSuccess);
|
||||||
|
|
||||||
// 拒绝用户身份认证信息
|
// 重置用户实名认证信息
|
||||||
|
rpc resetUserIdentity(ResetUserIdentityRequest) returns (RPCSuccess);
|
||||||
|
|
||||||
|
// 拒绝用户实名认证信息
|
||||||
rpc rejectUserIdentity(RejectUserIdentityRequest) returns (RPCSuccess);
|
rpc rejectUserIdentity(RejectUserIdentityRequest) returns (RPCSuccess);
|
||||||
|
|
||||||
// 通过用户身份认证信息
|
// 通过用户实名认证信息
|
||||||
rpc verifyUserIdentity(VerifyUserIdentityRequest) returns (RPCSuccess);
|
rpc verifyUserIdentity(VerifyUserIdentityRequest) returns (RPCSuccess);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 创建身份认证信息
|
// 创建实名认证信息
|
||||||
message CreateUserIdentityRequest {
|
message CreateUserIdentityRequest {
|
||||||
string orgType = 1;
|
string orgType = 1;
|
||||||
string type = 2;
|
string type = 2;
|
||||||
@@ -46,7 +49,7 @@ message CreateUserIdentityResponse {
|
|||||||
int64 userIdentityId = 1;
|
int64 userIdentityId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 查找单个身份认证信息
|
// 查找单个实名认证信息
|
||||||
message FindEnabledUserIdentityRequest {
|
message FindEnabledUserIdentityRequest {
|
||||||
int64 userIdentityId = 1;
|
int64 userIdentityId = 1;
|
||||||
}
|
}
|
||||||
@@ -55,7 +58,7 @@ message FindEnabledUserIdentityResponse {
|
|||||||
UserIdentity userIdentity = 1;
|
UserIdentity userIdentity = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 查看某个类型的身份认证信息
|
// 查看某个类型的实名认证信息
|
||||||
message FindEnabledUserIdentityWithOrgTypeRequest {
|
message FindEnabledUserIdentityWithOrgTypeRequest {
|
||||||
int64 userId = 1; // 用户端不需要设置此参数
|
int64 userId = 1; // 用户端不需要设置此参数
|
||||||
string orgType = 2; // 阻止类型
|
string orgType = 2; // 阻止类型
|
||||||
@@ -65,7 +68,7 @@ message FindEnabledUserIdentityWithOrgTypeResponse {
|
|||||||
UserIdentity userIdentity = 1;
|
UserIdentity userIdentity = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 修改身份认证信息
|
// 修改实名认证信息
|
||||||
message UpdateUserIdentityRequest {
|
message UpdateUserIdentityRequest {
|
||||||
int64 userIdentityId = 1;
|
int64 userIdentityId = 1;
|
||||||
string type = 2;
|
string type = 2;
|
||||||
@@ -74,7 +77,7 @@ message UpdateUserIdentityRequest {
|
|||||||
repeated int64 fileIds = 5;
|
repeated int64 fileIds = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 提交审核身份认证信息
|
// 提交审核实名认证信息
|
||||||
message SubmitUserIdentityRequest {
|
message SubmitUserIdentityRequest {
|
||||||
int64 userIdentityId = 1;
|
int64 userIdentityId = 1;
|
||||||
}
|
}
|
||||||
@@ -84,13 +87,18 @@ message CancelUserIdentityRequest {
|
|||||||
int64 userIdentityId = 1;
|
int64 userIdentityId = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 拒绝用户身份认证信息
|
// 重置用户实名认证信息
|
||||||
|
message ResetUserIdentityRequest {
|
||||||
|
int64 userIdentityId = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 拒绝用户实名认证信息
|
||||||
message RejectUserIdentityRequest {
|
message RejectUserIdentityRequest {
|
||||||
int64 userIdentityId = 1;
|
int64 userIdentityId = 1;
|
||||||
string reason = 2;
|
string reason = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 通过用户身份认证信息
|
// 通过用户实名认证信息
|
||||||
message VerifyUserIdentityRequest {
|
message VerifyUserIdentityRequest {
|
||||||
int64 userIdentityId = 1;
|
int64 userIdentityId = 1;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user