Documentation ¶
Overview ¶
Package rbac is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterRbacHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRbacHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RbacClient) error
- func RegisterRbacHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRbacHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RbacServer) error
- func RegisterRbacServer(s grpc.ServiceRegistrar, srv RbacServer)
- type ActiveRoleReq
- func (*ActiveRoleReq) Descriptor() ([]byte, []int)deprecated
- func (x *ActiveRoleReq) GetRoleIds() []string
- func (x *ActiveRoleReq) GetTenant() string
- func (*ActiveRoleReq) ProtoMessage()
- func (x *ActiveRoleReq) ProtoReflect() protoreflect.Message
- func (x *ActiveRoleReq) Reset()
- func (x *ActiveRoleReq) String() string
- type ApprovedUserReq
- func (*ApprovedUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *ApprovedUserReq) GetApproved() bool
- func (x *ApprovedUserReq) GetTenant() string
- func (x *ApprovedUserReq) GetUserId() []string
- func (*ApprovedUserReq) ProtoMessage()
- func (x *ApprovedUserReq) ProtoReflect() protoreflect.Message
- func (x *ApprovedUserReq) Reset()
- func (x *ApprovedUserReq) String() string
- type BindPhoneEmailReq
- func (*BindPhoneEmailReq) Descriptor() ([]byte, []int)deprecated
- func (x *BindPhoneEmailReq) GetName() string
- func (x *BindPhoneEmailReq) GetRequestId() string
- func (x *BindPhoneEmailReq) GetTenant() string
- func (x *BindPhoneEmailReq) GetValidCode() string
- func (*BindPhoneEmailReq) ProtoMessage()
- func (x *BindPhoneEmailReq) ProtoReflect() protoreflect.Message
- func (x *BindPhoneEmailReq) Reset()
- func (x *BindPhoneEmailReq) String() string
- type ChangePwdReq
- func (*ChangePwdReq) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePwdReq) GetEncodeNewPwd() string
- func (x *ChangePwdReq) GetEncodeOldPwd() string
- func (x *ChangePwdReq) GetTenant() string
- func (*ChangePwdReq) ProtoMessage()
- func (x *ChangePwdReq) ProtoReflect() protoreflect.Message
- func (x *ChangePwdReq) Reset()
- func (x *ChangePwdReq) String() string
- type DeptCreateReq
- func (*DeptCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeptCreateReq) GetDeptCode() string
- func (x *DeptCreateReq) GetDeptName() string
- func (x *DeptCreateReq) GetDeptType() string
- func (x *DeptCreateReq) GetDescription_() string
- func (x *DeptCreateReq) GetIsOpen() bool
- func (x *DeptCreateReq) GetParentId() string
- func (x *DeptCreateReq) GetRequestId() string
- func (x *DeptCreateReq) GetStatus_() bool
- func (x *DeptCreateReq) GetTenant() string
- func (x *DeptCreateReq) GetValidateOnly() bool
- func (*DeptCreateReq) ProtoMessage()
- func (x *DeptCreateReq) ProtoReflect() protoreflect.Message
- func (x *DeptCreateReq) Reset()
- func (x *DeptCreateReq) String() string
- type DeptEnableKey
- func (*DeptEnableKey) Descriptor() ([]byte, []int)deprecated
- func (x *DeptEnableKey) GetDeptId() string
- func (x *DeptEnableKey) GetEnable() bool
- func (x *DeptEnableKey) GetTenant() string
- func (*DeptEnableKey) ProtoMessage()
- func (x *DeptEnableKey) ProtoReflect() protoreflect.Message
- func (x *DeptEnableKey) Reset()
- func (x *DeptEnableKey) String() string
- type DeptExportReq
- func (*DeptExportReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeptExportReq) GetFileName() string
- func (x *DeptExportReq) GetReq() *DeptReq
- func (x *DeptExportReq) GetTableHeads() []*basic.TableHead
- func (x *DeptExportReq) GetTenant() string
- func (x *DeptExportReq) GetTitle() string
- func (*DeptExportReq) ProtoMessage()
- func (x *DeptExportReq) ProtoReflect() protoreflect.Message
- func (x *DeptExportReq) Reset()
- func (x *DeptExportReq) String() string
- type DeptImportReq
- func (*DeptImportReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeptImportReq) GetAddFlag() bool
- func (x *DeptImportReq) GetFileNames() string
- func (x *DeptImportReq) GetRequestId() string
- func (x *DeptImportReq) GetTenant() string
- func (x *DeptImportReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*DeptImportReq) ProtoMessage()
- func (x *DeptImportReq) ProtoReflect() protoreflect.Message
- func (x *DeptImportReq) Reset()
- func (x *DeptImportReq) String() string
- type DeptKey
- type DeptKeyList
- func (*DeptKeyList) Descriptor() ([]byte, []int)deprecated
- func (x *DeptKeyList) GetDeptId() []string
- func (x *DeptKeyList) GetTenant() string
- func (*DeptKeyList) ProtoMessage()
- func (x *DeptKeyList) ProtoReflect() protoreflect.Message
- func (x *DeptKeyList) Reset()
- func (x *DeptKeyList) String() string
- type DeptList
- type DeptModel
- func (*DeptModel) Descriptor() ([]byte, []int)deprecated
- func (x *DeptModel) GetChildren() []*DeptModel
- func (x *DeptModel) GetCreateBy() string
- func (x *DeptModel) GetCreateTime() *timestamppb.Timestamp
- func (x *DeptModel) GetDeptCode() string
- func (x *DeptModel) GetDeptId() string
- func (x *DeptModel) GetDeptName() string
- func (x *DeptModel) GetDeptType() string
- func (x *DeptModel) GetDepth_() int32
- func (x *DeptModel) GetDescription_() string
- func (x *DeptModel) GetIsOpen() bool
- func (x *DeptModel) GetOrderBy() int32
- func (x *DeptModel) GetParentId() string
- func (x *DeptModel) GetStatus_() bool
- func (x *DeptModel) GetUpdateBy() string
- func (x *DeptModel) GetUpdateTime() *timestamppb.Timestamp
- func (x *DeptModel) GetVersion_() int32
- func (*DeptModel) ProtoMessage()
- func (x *DeptModel) ProtoReflect() protoreflect.Message
- func (x *DeptModel) Reset()
- func (x *DeptModel) String() string
- type DeptModelTotal
- type DeptMoveKey
- func (*DeptMoveKey) Descriptor() ([]byte, []int)deprecated
- func (x *DeptMoveKey) GetDeptId() string
- func (x *DeptMoveKey) GetTenant() string
- func (x *DeptMoveKey) GetUp() bool
- func (*DeptMoveKey) ProtoMessage()
- func (x *DeptMoveKey) ProtoReflect() protoreflect.Message
- func (x *DeptMoveKey) Reset()
- func (x *DeptMoveKey) String() string
- type DeptPage
- func (*DeptPage) Descriptor() ([]byte, []int)deprecated
- func (x *DeptPage) GetCurPage() int32
- func (x *DeptPage) GetPageSize() int32
- func (x *DeptPage) GetResults() []*DeptModel
- func (x *DeptPage) GetSubTotalDto() *DeptModelTotal
- func (x *DeptPage) GetTotalDto() *DeptModelTotal
- func (x *DeptPage) GetTotalSize() int32
- func (*DeptPage) ProtoMessage()
- func (x *DeptPage) ProtoReflect() protoreflect.Message
- func (x *DeptPage) Reset()
- func (x *DeptPage) String() string
- type DeptReq
- func (*DeptReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeptReq) GetCreateBy() string
- func (x *DeptReq) GetDeptType() string
- func (x *DeptReq) GetExcludeId() string
- func (x *DeptReq) GetHasOpen() bool
- func (x *DeptReq) GetHasStatus() bool
- func (x *DeptReq) GetIsOpen() bool
- func (x *DeptReq) GetLikeDeptName() string
- func (x *DeptReq) GetOrderAsc() bool
- func (x *DeptReq) GetOrderName() string
- func (x *DeptReq) GetParentId() string
- func (x *DeptReq) GetStatus() bool
- func (x *DeptReq) GetTenant() string
- func (*DeptReq) ProtoMessage()
- func (x *DeptReq) ProtoReflect() protoreflect.Message
- func (x *DeptReq) Reset()
- func (x *DeptReq) String() string
- type DeptUpdateReq
- func (*DeptUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeptUpdateReq) GetDeptCode() string
- func (x *DeptUpdateReq) GetDeptId() string
- func (x *DeptUpdateReq) GetDeptName() string
- func (x *DeptUpdateReq) GetDeptType() string
- func (x *DeptUpdateReq) GetDescription_() string
- func (x *DeptUpdateReq) GetIsOpen() bool
- func (x *DeptUpdateReq) GetParentId() string
- func (x *DeptUpdateReq) GetRequestId() string
- func (x *DeptUpdateReq) GetStatus_() bool
- func (x *DeptUpdateReq) GetTenant() string
- func (x *DeptUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *DeptUpdateReq) GetValidateOnly() bool
- func (*DeptUpdateReq) ProtoMessage()
- func (x *DeptUpdateReq) ProtoReflect() protoreflect.Message
- func (x *DeptUpdateReq) Reset()
- func (x *DeptUpdateReq) String() string
- type DirectoryListResp
- func (*DirectoryListResp) Descriptor() ([]byte, []int)deprecated
- func (x *DirectoryListResp) GetDirectoryId() []string
- func (*DirectoryListResp) ProtoMessage()
- func (x *DirectoryListResp) ProtoReflect() protoreflect.Message
- func (x *DirectoryListResp) Reset()
- func (x *DirectoryListResp) String() string
- type DsdRoleListResp
- type DutyType
- type EnableDeptReq
- func (*EnableDeptReq) Descriptor() ([]byte, []int)deprecated
- func (x *EnableDeptReq) GetDeptId() []string
- func (x *EnableDeptReq) GetEnable() bool
- func (x *EnableDeptReq) GetTenant() string
- func (*EnableDeptReq) ProtoMessage()
- func (x *EnableDeptReq) ProtoReflect() protoreflect.Message
- func (x *EnableDeptReq) Reset()
- func (x *EnableDeptReq) String() string
- type EnableUserReq
- func (*EnableUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *EnableUserReq) GetEnabled() bool
- func (x *EnableUserReq) GetTenant() string
- func (x *EnableUserReq) GetUserId() []string
- func (*EnableUserReq) ProtoMessage()
- func (x *EnableUserReq) ProtoReflect() protoreflect.Message
- func (x *EnableUserReq) Reset()
- func (x *EnableUserReq) String() string
- type JobInfo
- func (*JobInfo) Descriptor() ([]byte, []int)deprecated
- func (x *JobInfo) GetDeptId() string
- func (x *JobInfo) GetDeptName() string
- func (x *JobInfo) GetJobId() string
- func (x *JobInfo) GetJobName() string
- func (*JobInfo) ProtoMessage()
- func (x *JobInfo) ProtoReflect() protoreflect.Message
- func (x *JobInfo) Reset()
- func (x *JobInfo) String() string
- type LockUserReq
- func (*LockUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *LockUserReq) GetLock() bool
- func (x *LockUserReq) GetTenant() string
- func (x *LockUserReq) GetUserId() []string
- func (*LockUserReq) ProtoMessage()
- func (x *LockUserReq) ProtoReflect() protoreflect.Message
- func (x *LockUserReq) Reset()
- func (x *LockUserReq) String() string
- type LogDelReq
- type LogExportReq
- func (*LogExportReq) Descriptor() ([]byte, []int)deprecated
- func (x *LogExportReq) GetFileName() string
- func (x *LogExportReq) GetReq() *LogReq
- func (x *LogExportReq) GetTableHeads() []*basic.TableHead
- func (x *LogExportReq) GetTenant() string
- func (x *LogExportReq) GetTitle() string
- func (*LogExportReq) ProtoMessage()
- func (x *LogExportReq) ProtoReflect() protoreflect.Message
- func (x *LogExportReq) Reset()
- func (x *LogExportReq) String() string
- type LogKey
- func (*LogKey) Descriptor() ([]byte, []int)deprecated
- func (x *LogKey) GetLogId() string
- func (x *LogKey) GetPartition_() int32
- func (x *LogKey) GetTenant() string
- func (*LogKey) ProtoMessage()
- func (x *LogKey) ProtoReflect() protoreflect.Message
- func (x *LogKey) Reset()
- func (x *LogKey) String() string
- type LogKeyList
- type LogList
- type LogModel
- func (*LogModel) Descriptor() ([]byte, []int)deprecated
- func (x *LogModel) GetCreateBy() string
- func (x *LogModel) GetCreateTime() *timestamppb.Timestamp
- func (x *LogModel) GetEnvProps() string
- func (x *LogModel) GetLogContent() string
- func (x *LogModel) GetLogId() string
- func (x *LogModel) GetLogLevel() string
- func (x *LogModel) GetLogMsg() string
- func (x *LogModel) GetLogName() string
- func (x *LogModel) GetPartition_() int32
- func (x *LogModel) GetProxyIp() string
- func (x *LogModel) GetUserIp() string
- func (*LogModel) ProtoMessage()
- func (x *LogModel) ProtoReflect() protoreflect.Message
- func (x *LogModel) Reset()
- func (x *LogModel) String() string
- type LogModelTotal
- type LogPage
- func (*LogPage) Descriptor() ([]byte, []int)deprecated
- func (x *LogPage) GetCurPage() int32
- func (x *LogPage) GetPageSize() int32
- func (x *LogPage) GetResults() []*LogModel
- func (x *LogPage) GetSubTotalDto() *LogModelTotal
- func (x *LogPage) GetTotalDto() *LogModelTotal
- func (x *LogPage) GetTotalSize() int32
- func (*LogPage) ProtoMessage()
- func (x *LogPage) ProtoReflect() protoreflect.Message
- func (x *LogPage) Reset()
- func (x *LogPage) String() string
- type LogReq
- func (*LogReq) Descriptor() ([]byte, []int)deprecated
- func (x *LogReq) GetCreateBy() string
- func (x *LogReq) GetCurPage() int32
- func (x *LogReq) GetEndCreateTime() *timestamppb.Timestamp
- func (x *LogReq) GetLikeLogMsg() string
- func (x *LogReq) GetLikeLogName() string
- func (x *LogReq) GetLogLevel() string
- func (x *LogReq) GetOrderAsc() bool
- func (x *LogReq) GetOrderName() string
- func (x *LogReq) GetPageSize() int32
- func (x *LogReq) GetPartition() int32
- func (x *LogReq) GetStartCreateTime() *timestamppb.Timestamp
- func (x *LogReq) GetTenant() string
- func (*LogReq) ProtoMessage()
- func (x *LogReq) ProtoReflect() protoreflect.Message
- func (x *LogReq) Reset()
- func (x *LogReq) String() string
- type LoginReq
- func (*LoginReq) Descriptor() ([]byte, []int)deprecated
- func (x *LoginReq) GetCaptchaCode() string
- func (x *LoginReq) GetCaptchaId() string
- func (x *LoginReq) GetClientId() string
- func (x *LoginReq) GetDirectoryId() string
- func (x *LoginReq) GetEncodePwd() string
- func (x *LoginReq) GetScope() string
- func (x *LoginReq) GetTenant() string
- func (x *LoginReq) GetUserName() string
- func (*LoginReq) ProtoMessage()
- func (x *LoginReq) ProtoReflect() protoreflect.Message
- func (x *LoginReq) Reset()
- func (x *LoginReq) String() string
- type LogoutReq
- func (*LogoutReq) Descriptor() ([]byte, []int)deprecated
- func (x *LogoutReq) GetAccessToken() string
- func (x *LogoutReq) GetClientId() string
- func (x *LogoutReq) GetTenant() string
- func (*LogoutReq) ProtoMessage()
- func (x *LogoutReq) ProtoReflect() protoreflect.Message
- func (x *LogoutReq) Reset()
- func (x *LogoutReq) String() string
- type Menu
- func (*Menu) Descriptor() ([]byte, []int)deprecated
- func (x *Menu) GetChildren() []*Menu
- func (x *Menu) GetComponentName() string
- func (x *Menu) GetMeta() *MenuMeta
- func (x *Menu) GetName() string
- func (x *Menu) GetPath() string
- func (x *Menu) GetRedirect() string
- func (*Menu) ProtoMessage()
- func (x *Menu) ProtoReflect() protoreflect.Message
- func (x *Menu) Reset()
- func (x *Menu) String() string
- type MenuList
- type MenuMeta
- func (*MenuMeta) Descriptor() ([]byte, []int)deprecated
- func (x *MenuMeta) GetHidden() bool
- func (x *MenuMeta) GetIcon() string
- func (x *MenuMeta) GetKeepAlive() bool
- func (x *MenuMeta) GetTitle() string
- func (*MenuMeta) ProtoMessage()
- func (x *MenuMeta) ProtoReflect() protoreflect.Message
- func (x *MenuMeta) Reset()
- func (x *MenuMeta) String() string
- type MiniAppBindPhoneReq
- func (*MiniAppBindPhoneReq) Descriptor() ([]byte, []int)deprecated
- func (x *MiniAppBindPhoneReq) GetAppId() string
- func (x *MiniAppBindPhoneReq) GetComponentAppid() string
- func (x *MiniAppBindPhoneReq) GetPhoneCode() string
- func (x *MiniAppBindPhoneReq) GetTenant() string
- func (*MiniAppBindPhoneReq) ProtoMessage()
- func (x *MiniAppBindPhoneReq) ProtoReflect() protoreflect.Message
- func (x *MiniAppBindPhoneReq) Reset()
- func (x *MiniAppBindPhoneReq) String() string
- type MiniAppLoginReq
- func (*MiniAppLoginReq) Descriptor() ([]byte, []int)deprecated
- func (x *MiniAppLoginReq) GetAppId() string
- func (x *MiniAppLoginReq) GetComponentAppid() string
- func (x *MiniAppLoginReq) GetLoginCode() string
- func (x *MiniAppLoginReq) GetTenant() string
- func (*MiniAppLoginReq) ProtoMessage()
- func (x *MiniAppLoginReq) ProtoReflect() protoreflect.Message
- func (x *MiniAppLoginReq) Reset()
- func (x *MiniAppLoginReq) String() string
- type MiniAppLoginResp
- func (*MiniAppLoginResp) Descriptor() ([]byte, []int)deprecated
- func (x *MiniAppLoginResp) GetMessage() string
- func (x *MiniAppLoginResp) GetStatus() bool
- func (x *MiniAppLoginResp) GetToken() *TokenResp
- func (*MiniAppLoginResp) ProtoMessage()
- func (x *MiniAppLoginResp) ProtoReflect() protoreflect.Message
- func (x *MiniAppLoginResp) Reset()
- func (x *MiniAppLoginResp) String() string
- type MiniAppPhoneNumberReq
- func (*MiniAppPhoneNumberReq) Descriptor() ([]byte, []int)deprecated
- func (x *MiniAppPhoneNumberReq) GetAppId() string
- func (x *MiniAppPhoneNumberReq) GetComponentAppid() string
- func (x *MiniAppPhoneNumberReq) GetLoginCode() string
- func (x *MiniAppPhoneNumberReq) GetNickName() string
- func (x *MiniAppPhoneNumberReq) GetPhoneCode() string
- func (x *MiniAppPhoneNumberReq) GetTenant() string
- func (*MiniAppPhoneNumberReq) ProtoMessage()
- func (x *MiniAppPhoneNumberReq) ProtoReflect() protoreflect.Message
- func (x *MiniAppPhoneNumberReq) Reset()
- func (x *MiniAppPhoneNumberReq) String() string
- type ModuleCheck
- func (*ModuleCheck) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleCheck) GetModuleCode() string
- func (x *ModuleCheck) GetTenant() string
- func (*ModuleCheck) ProtoMessage()
- func (x *ModuleCheck) ProtoReflect() protoreflect.Message
- func (x *ModuleCheck) Reset()
- func (x *ModuleCheck) String() string
- type ModuleCreateReq
- func (*ModuleCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleCreateReq) GetDescription_() string
- func (x *ModuleCreateReq) GetModuleCode() string
- func (x *ModuleCreateReq) GetModuleName() string
- func (x *ModuleCreateReq) GetRequestId() string
- func (x *ModuleCreateReq) GetTenant() string
- func (x *ModuleCreateReq) GetValidateOnly() bool
- func (*ModuleCreateReq) ProtoMessage()
- func (x *ModuleCreateReq) ProtoReflect() protoreflect.Message
- func (x *ModuleCreateReq) Reset()
- func (x *ModuleCreateReq) String() string
- type ModuleExportReq
- func (*ModuleExportReq) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleExportReq) GetFileName() string
- func (x *ModuleExportReq) GetReq() *ModuleReq
- func (x *ModuleExportReq) GetTableHeads() []*basic.TableHead
- func (x *ModuleExportReq) GetTitle() string
- func (*ModuleExportReq) ProtoMessage()
- func (x *ModuleExportReq) ProtoReflect() protoreflect.Message
- func (x *ModuleExportReq) Reset()
- func (x *ModuleExportReq) String() string
- type ModuleKey
- type ModuleKeyList
- func (*ModuleKeyList) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleKeyList) GetModuleId() []string
- func (x *ModuleKeyList) GetTenant() string
- func (*ModuleKeyList) ProtoMessage()
- func (x *ModuleKeyList) ProtoReflect() protoreflect.Message
- func (x *ModuleKeyList) Reset()
- func (x *ModuleKeyList) String() string
- type ModuleList
- type ModuleModel
- func (*ModuleModel) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleModel) GetDescription_() string
- func (x *ModuleModel) GetModuleCode() string
- func (x *ModuleModel) GetModuleId() string
- func (x *ModuleModel) GetModuleName() string
- func (x *ModuleModel) GetOrderBy() int32
- func (*ModuleModel) ProtoMessage()
- func (x *ModuleModel) ProtoReflect() protoreflect.Message
- func (x *ModuleModel) Reset()
- func (x *ModuleModel) String() string
- type ModuleModelTotal
- type ModuleMoveKey
- func (*ModuleMoveKey) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleMoveKey) GetModuleId() string
- func (x *ModuleMoveKey) GetTenant() string
- func (x *ModuleMoveKey) GetUp() bool
- func (*ModuleMoveKey) ProtoMessage()
- func (x *ModuleMoveKey) ProtoReflect() protoreflect.Message
- func (x *ModuleMoveKey) Reset()
- func (x *ModuleMoveKey) String() string
- type ModulePage
- func (*ModulePage) Descriptor() ([]byte, []int)deprecated
- func (x *ModulePage) GetCurPage() int32
- func (x *ModulePage) GetPageSize() int32
- func (x *ModulePage) GetResults() []*ModuleModel
- func (x *ModulePage) GetSubTotalDto() *ModuleModelTotal
- func (x *ModulePage) GetTotalDto() *ModuleModelTotal
- func (x *ModulePage) GetTotalSize() int32
- func (*ModulePage) ProtoMessage()
- func (x *ModulePage) ProtoReflect() protoreflect.Message
- func (x *ModulePage) Reset()
- func (x *ModulePage) String() string
- type ModuleReq
- func (*ModuleReq) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleReq) GetCurPage() int32
- func (x *ModuleReq) GetLikeModuleName() string
- func (x *ModuleReq) GetModuleCode() string
- func (x *ModuleReq) GetOrderAsc() bool
- func (x *ModuleReq) GetOrderName() string
- func (x *ModuleReq) GetPageSize() int32
- func (x *ModuleReq) GetTenant() string
- func (*ModuleReq) ProtoMessage()
- func (x *ModuleReq) ProtoReflect() protoreflect.Message
- func (x *ModuleReq) Reset()
- func (x *ModuleReq) String() string
- type ModuleUpdateReq
- func (*ModuleUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleUpdateReq) GetDescription_() string
- func (x *ModuleUpdateReq) GetModuleCode() string
- func (x *ModuleUpdateReq) GetModuleId() string
- func (x *ModuleUpdateReq) GetModuleName() string
- func (x *ModuleUpdateReq) GetRequestId() string
- func (x *ModuleUpdateReq) GetTenant() string
- func (x *ModuleUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *ModuleUpdateReq) GetValidateOnly() bool
- func (*ModuleUpdateReq) ProtoMessage()
- func (x *ModuleUpdateReq) ProtoReflect() protoreflect.Message
- func (x *ModuleUpdateReq) Reset()
- func (x *ModuleUpdateReq) String() string
- type OpenAppCreateReq
- func (*OpenAppCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *OpenAppCreateReq) GetAppId() string
- func (x *OpenAppCreateReq) GetAppName() string
- func (x *OpenAppCreateReq) GetAppSecret() string
- func (x *OpenAppCreateReq) GetDescription_() string
- func (x *OpenAppCreateReq) GetOpenType() OpensType
- func (x *OpenAppCreateReq) GetRequestId() string
- func (x *OpenAppCreateReq) GetTenant() string
- func (x *OpenAppCreateReq) GetValidateOnly() bool
- func (*OpenAppCreateReq) ProtoMessage()
- func (x *OpenAppCreateReq) ProtoReflect() protoreflect.Message
- func (x *OpenAppCreateReq) Reset()
- func (x *OpenAppCreateReq) String() string
- type OpenAppKey
- type OpenAppKeyList
- func (*OpenAppKeyList) Descriptor() ([]byte, []int)deprecated
- func (x *OpenAppKeyList) GetOpenAppId() []string
- func (x *OpenAppKeyList) GetTenant() string
- func (*OpenAppKeyList) ProtoMessage()
- func (x *OpenAppKeyList) ProtoReflect() protoreflect.Message
- func (x *OpenAppKeyList) Reset()
- func (x *OpenAppKeyList) String() string
- type OpenAppList
- type OpenAppModel
- func (*OpenAppModel) Descriptor() ([]byte, []int)deprecated
- func (x *OpenAppModel) GetAppId() string
- func (x *OpenAppModel) GetAppName() string
- func (x *OpenAppModel) GetAppSecret() string
- func (x *OpenAppModel) GetDescription_() string
- func (x *OpenAppModel) GetOpenAppId() string
- func (x *OpenAppModel) GetOpenType() string
- func (*OpenAppModel) ProtoMessage()
- func (x *OpenAppModel) ProtoReflect() protoreflect.Message
- func (x *OpenAppModel) Reset()
- func (x *OpenAppModel) String() string
- type OpenAppModelTotal
- type OpenAppPage
- func (*OpenAppPage) Descriptor() ([]byte, []int)deprecated
- func (x *OpenAppPage) GetCurPage() int32
- func (x *OpenAppPage) GetPageSize() int32
- func (x *OpenAppPage) GetResults() []*OpenAppModel
- func (x *OpenAppPage) GetSubTotalDto() *OpenAppModelTotal
- func (x *OpenAppPage) GetTotalDto() *OpenAppModelTotal
- func (x *OpenAppPage) GetTotalSize() int32
- func (*OpenAppPage) ProtoMessage()
- func (x *OpenAppPage) ProtoReflect() protoreflect.Message
- func (x *OpenAppPage) Reset()
- func (x *OpenAppPage) String() string
- type OpenAppReq
- func (*OpenAppReq) Descriptor() ([]byte, []int)deprecated
- func (x *OpenAppReq) GetCurPage() int32
- func (x *OpenAppReq) GetOrderAsc() bool
- func (x *OpenAppReq) GetOrderName() string
- func (x *OpenAppReq) GetPageSize() int32
- func (x *OpenAppReq) GetTenant() string
- func (*OpenAppReq) ProtoMessage()
- func (x *OpenAppReq) ProtoReflect() protoreflect.Message
- func (x *OpenAppReq) Reset()
- func (x *OpenAppReq) String() string
- type OpenAppUpdateReq
- func (*OpenAppUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *OpenAppUpdateReq) GetAppId() string
- func (x *OpenAppUpdateReq) GetAppName() string
- func (x *OpenAppUpdateReq) GetAppSecret() string
- func (x *OpenAppUpdateReq) GetDescription_() string
- func (x *OpenAppUpdateReq) GetOpenAppId() string
- func (x *OpenAppUpdateReq) GetOpenType() string
- func (x *OpenAppUpdateReq) GetRequestId() string
- func (x *OpenAppUpdateReq) GetTenant() string
- func (x *OpenAppUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *OpenAppUpdateReq) GetValidateOnly() bool
- func (*OpenAppUpdateReq) ProtoMessage()
- func (x *OpenAppUpdateReq) ProtoReflect() protoreflect.Message
- func (x *OpenAppUpdateReq) Reset()
- func (x *OpenAppUpdateReq) String() string
- type OpensKey
- func (*OpensKey) Descriptor() ([]byte, []int)deprecated
- func (x *OpensKey) GetAppId() string
- func (x *OpensKey) GetOpenId() string
- func (x *OpensKey) GetTenant() string
- func (x *OpensKey) GetUserId() string
- func (*OpensKey) ProtoMessage()
- func (x *OpensKey) ProtoReflect() protoreflect.Message
- func (x *OpensKey) Reset()
- func (x *OpensKey) String() string
- type OpensKeyList
- type OpensList
- type OpensModel
- func (*OpensModel) Descriptor() ([]byte, []int)deprecated
- func (x *OpensModel) GetAppId() string
- func (x *OpensModel) GetCreateBy() string
- func (x *OpensModel) GetCreateTime() *timestamppb.Timestamp
- func (x *OpensModel) GetNickName() string
- func (x *OpensModel) GetOpenId() string
- func (x *OpensModel) GetOpenType() OpensType
- func (x *OpensModel) GetUnionId() string
- func (x *OpensModel) GetUpdateBy() string
- func (x *OpensModel) GetUpdateTime() *timestamppb.Timestamp
- func (x *OpensModel) GetUserId() string
- func (*OpensModel) ProtoMessage()
- func (x *OpensModel) ProtoReflect() protoreflect.Message
- func (x *OpensModel) Reset()
- func (x *OpensModel) String() string
- type OpensModelTotal
- type OpensPage
- func (*OpensPage) Descriptor() ([]byte, []int)deprecated
- func (x *OpensPage) GetCurPage() int32
- func (x *OpensPage) GetPageSize() int32
- func (x *OpensPage) GetResults() []*OpensModel
- func (x *OpensPage) GetSubTotalDto() *OpensModelTotal
- func (x *OpensPage) GetTotalDto() *OpensModelTotal
- func (x *OpensPage) GetTotalSize() int32
- func (*OpensPage) ProtoMessage()
- func (x *OpensPage) ProtoReflect() protoreflect.Message
- func (x *OpensPage) Reset()
- func (x *OpensPage) String() string
- type OpensReq
- func (*OpensReq) Descriptor() ([]byte, []int)deprecated
- func (x *OpensReq) GetOrderAsc() bool
- func (x *OpensReq) GetOrderName() string
- func (x *OpensReq) GetTenant() string
- func (x *OpensReq) GetUserId() string
- func (*OpensReq) ProtoMessage()
- func (x *OpensReq) ProtoReflect() protoreflect.Message
- func (x *OpensReq) Reset()
- func (x *OpensReq) String() string
- type OpensType
- type OperationCheck
- func (*OperationCheck) Descriptor() ([]byte, []int)deprecated
- func (x *OperationCheck) GetOperationCode() string
- func (x *OperationCheck) GetTenant() string
- func (*OperationCheck) ProtoMessage()
- func (x *OperationCheck) ProtoReflect() protoreflect.Message
- func (x *OperationCheck) Reset()
- func (x *OperationCheck) String() string
- type OperationCreateReq
- func (*OperationCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *OperationCreateReq) GetOperationCode() string
- func (x *OperationCreateReq) GetOperationName() string
- func (x *OperationCreateReq) GetRequestId() string
- func (x *OperationCreateReq) GetTenant() string
- func (x *OperationCreateReq) GetValidateOnly() bool
- func (*OperationCreateReq) ProtoMessage()
- func (x *OperationCreateReq) ProtoReflect() protoreflect.Message
- func (x *OperationCreateReq) Reset()
- func (x *OperationCreateReq) String() string
- type OperationExportReq
- func (*OperationExportReq) Descriptor() ([]byte, []int)deprecated
- func (x *OperationExportReq) GetFileName() string
- func (x *OperationExportReq) GetReq() *OperationReq
- func (x *OperationExportReq) GetTableHeads() []*basic.TableHead
- func (x *OperationExportReq) GetTitle() string
- func (*OperationExportReq) ProtoMessage()
- func (x *OperationExportReq) ProtoReflect() protoreflect.Message
- func (x *OperationExportReq) Reset()
- func (x *OperationExportReq) String() string
- type OperationKey
- func (*OperationKey) Descriptor() ([]byte, []int)deprecated
- func (x *OperationKey) GetOperationId() string
- func (x *OperationKey) GetTenant() string
- func (*OperationKey) ProtoMessage()
- func (x *OperationKey) ProtoReflect() protoreflect.Message
- func (x *OperationKey) Reset()
- func (x *OperationKey) String() string
- type OperationKeyList
- func (*OperationKeyList) Descriptor() ([]byte, []int)deprecated
- func (x *OperationKeyList) GetOperationId() []string
- func (x *OperationKeyList) GetTenant() string
- func (*OperationKeyList) ProtoMessage()
- func (x *OperationKeyList) ProtoReflect() protoreflect.Message
- func (x *OperationKeyList) Reset()
- func (x *OperationKeyList) String() string
- type OperationList
- type OperationModel
- func (*OperationModel) Descriptor() ([]byte, []int)deprecated
- func (x *OperationModel) GetOperationCode() string
- func (x *OperationModel) GetOperationId() string
- func (x *OperationModel) GetOperationName() string
- func (*OperationModel) ProtoMessage()
- func (x *OperationModel) ProtoReflect() protoreflect.Message
- func (x *OperationModel) Reset()
- func (x *OperationModel) String() string
- type OperationModelTotal
- func (*OperationModelTotal) Descriptor() ([]byte, []int)deprecated
- func (x *OperationModelTotal) GetTotalSize() int32
- func (*OperationModelTotal) ProtoMessage()
- func (x *OperationModelTotal) ProtoReflect() protoreflect.Message
- func (x *OperationModelTotal) Reset()
- func (x *OperationModelTotal) String() string
- type OperationMoveKey
- func (*OperationMoveKey) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMoveKey) GetOperationId() string
- func (x *OperationMoveKey) GetTenant() string
- func (x *OperationMoveKey) GetUp() bool
- func (*OperationMoveKey) ProtoMessage()
- func (x *OperationMoveKey) ProtoReflect() protoreflect.Message
- func (x *OperationMoveKey) Reset()
- func (x *OperationMoveKey) String() string
- type OperationPage
- func (*OperationPage) Descriptor() ([]byte, []int)deprecated
- func (x *OperationPage) GetCurPage() int32
- func (x *OperationPage) GetPageSize() int32
- func (x *OperationPage) GetResults() []*OperationModel
- func (x *OperationPage) GetSubTotalDto() *OperationModelTotal
- func (x *OperationPage) GetTotalDto() *OperationModelTotal
- func (x *OperationPage) GetTotalSize() int32
- func (*OperationPage) ProtoMessage()
- func (x *OperationPage) ProtoReflect() protoreflect.Message
- func (x *OperationPage) Reset()
- func (x *OperationPage) String() string
- type OperationReq
- func (*OperationReq) Descriptor() ([]byte, []int)deprecated
- func (x *OperationReq) GetCurPage() int32
- func (x *OperationReq) GetLikeOperationName() string
- func (x *OperationReq) GetOperationCode() string
- func (x *OperationReq) GetOrderAsc() bool
- func (x *OperationReq) GetOrderName() string
- func (x *OperationReq) GetPageSize() int32
- func (x *OperationReq) GetTenant() string
- func (*OperationReq) ProtoMessage()
- func (x *OperationReq) ProtoReflect() protoreflect.Message
- func (x *OperationReq) Reset()
- func (x *OperationReq) String() string
- type OperationUpdateReq
- func (*OperationUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *OperationUpdateReq) GetOperationCode() string
- func (x *OperationUpdateReq) GetOperationId() string
- func (x *OperationUpdateReq) GetOperationName() string
- func (x *OperationUpdateReq) GetRequestId() string
- func (x *OperationUpdateReq) GetTenant() string
- func (x *OperationUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *OperationUpdateReq) GetValidateOnly() bool
- func (*OperationUpdateReq) ProtoMessage()
- func (x *OperationUpdateReq) ProtoReflect() protoreflect.Message
- func (x *OperationUpdateReq) Reset()
- func (x *OperationUpdateReq) String() string
- type PermCheck
- type PermCreateReq
- func (*PermCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *PermCreateReq) GetPermCode() string
- func (x *PermCreateReq) GetPermName() string
- func (x *PermCreateReq) GetRequestId() string
- func (x *PermCreateReq) GetTenant() string
- func (x *PermCreateReq) GetValidateOnly() bool
- func (*PermCreateReq) ProtoMessage()
- func (x *PermCreateReq) ProtoReflect() protoreflect.Message
- func (x *PermCreateReq) Reset()
- func (x *PermCreateReq) String() string
- type PermKey
- type PermKeyList
- func (*PermKeyList) Descriptor() ([]byte, []int)deprecated
- func (x *PermKeyList) GetPermId() []string
- func (x *PermKeyList) GetTenant() string
- func (*PermKeyList) ProtoMessage()
- func (x *PermKeyList) ProtoReflect() protoreflect.Message
- func (x *PermKeyList) Reset()
- func (x *PermKeyList) String() string
- type PermList
- type PermModel
- func (*PermModel) Descriptor() ([]byte, []int)deprecated
- func (x *PermModel) GetPermCode() string
- func (x *PermModel) GetPermId() string
- func (x *PermModel) GetPermName() string
- func (*PermModel) ProtoMessage()
- func (x *PermModel) ProtoReflect() protoreflect.Message
- func (x *PermModel) Reset()
- func (x *PermModel) String() string
- type PermModelTotal
- type PermPage
- func (*PermPage) Descriptor() ([]byte, []int)deprecated
- func (x *PermPage) GetCurPage() int32
- func (x *PermPage) GetPageSize() int32
- func (x *PermPage) GetResults() []*PermModel
- func (x *PermPage) GetSubTotalDto() *PermModelTotal
- func (x *PermPage) GetTotalDto() *PermModelTotal
- func (x *PermPage) GetTotalSize() int32
- func (*PermPage) ProtoMessage()
- func (x *PermPage) ProtoReflect() protoreflect.Message
- func (x *PermPage) Reset()
- func (x *PermPage) String() string
- type PermReq
- func (*PermReq) Descriptor() ([]byte, []int)deprecated
- func (x *PermReq) GetCurPage() int32
- func (x *PermReq) GetLikePermCode() string
- func (x *PermReq) GetLikePermName() string
- func (x *PermReq) GetOrderAsc() bool
- func (x *PermReq) GetOrderName() string
- func (x *PermReq) GetPageSize() int32
- func (x *PermReq) GetTenant() string
- func (*PermReq) ProtoMessage()
- func (x *PermReq) ProtoReflect() protoreflect.Message
- func (x *PermReq) Reset()
- func (x *PermReq) String() string
- type PermUpdateReq
- func (*PermUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *PermUpdateReq) GetPermCode() string
- func (x *PermUpdateReq) GetPermId() string
- func (x *PermUpdateReq) GetPermName() string
- func (x *PermUpdateReq) GetRequestId() string
- func (x *PermUpdateReq) GetTenant() string
- func (x *PermUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *PermUpdateReq) GetValidateOnly() bool
- func (*PermUpdateReq) ProtoMessage()
- func (x *PermUpdateReq) ProtoReflect() protoreflect.Message
- func (x *PermUpdateReq) Reset()
- func (x *PermUpdateReq) String() string
- type RbacClient
- type RbacServer
- type Rbac_DownloadDeptClient
- type Rbac_DownloadDeptServer
- type Rbac_DownloadResourceClient
- type Rbac_DownloadResourceServer
- type Rbac_DownloadUserTemplateClient
- type Rbac_DownloadUserTemplateServer
- type Rbac_ExportDeptClient
- type Rbac_ExportDeptServer
- type Rbac_ExportLogClient
- type Rbac_ExportLogServer
- type Rbac_ExportResourceClient
- type Rbac_ExportResourceServer
- type Rbac_ExportUserClient
- type Rbac_ExportUserLogClient
- type Rbac_ExportUserLogServer
- type Rbac_ExportUserServer
- type Rbac_PrintDeptClient
- type Rbac_PrintDeptServer
- type Rbac_PrintUserClient
- type Rbac_PrintUserServer
- type RefreshTokenReq
- func (*RefreshTokenReq) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenReq) GetClientId() string
- func (x *RefreshTokenReq) GetRefreshToken() string
- func (x *RefreshTokenReq) GetTenant() string
- func (*RefreshTokenReq) ProtoMessage()
- func (x *RefreshTokenReq) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenReq) Reset()
- func (x *RefreshTokenReq) String() string
- type ResourceCreateReq
- func (*ResourceCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceCreateReq) GetHidden_() bool
- func (x *ResourceCreateReq) GetIcon_() string
- func (x *ResourceCreateReq) GetModuleId() string
- func (x *ResourceCreateReq) GetOperCodes() []string
- func (x *ResourceCreateReq) GetParentId() string
- func (x *ResourceCreateReq) GetRequestId() string
- func (x *ResourceCreateReq) GetResourceCode() string
- func (x *ResourceCreateReq) GetResourceName() string
- func (x *ResourceCreateReq) GetResourceType() ResourceType
- func (x *ResourceCreateReq) GetTarget_() string
- func (x *ResourceCreateReq) GetTenant() string
- func (x *ResourceCreateReq) GetUrl_() string
- func (x *ResourceCreateReq) GetValidateOnly() bool
- func (*ResourceCreateReq) ProtoMessage()
- func (x *ResourceCreateReq) ProtoReflect() protoreflect.Message
- func (x *ResourceCreateReq) Reset()
- func (x *ResourceCreateReq) String() string
- type ResourceExportReq
- func (*ResourceExportReq) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceExportReq) GetFileName() string
- func (x *ResourceExportReq) GetReq() *ResourceReq
- func (x *ResourceExportReq) GetResourceId() string
- func (x *ResourceExportReq) GetTableHeads() []*basic.TableHead
- func (x *ResourceExportReq) GetTenant() string
- func (x *ResourceExportReq) GetTitle() string
- func (*ResourceExportReq) ProtoMessage()
- func (x *ResourceExportReq) ProtoReflect() protoreflect.Message
- func (x *ResourceExportReq) Reset()
- func (x *ResourceExportReq) String() string
- type ResourceImportReq
- func (*ResourceImportReq) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceImportReq) GetAddFlag() bool
- func (x *ResourceImportReq) GetFileNames() string
- func (x *ResourceImportReq) GetRequestId() string
- func (x *ResourceImportReq) GetTenant() string
- func (x *ResourceImportReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*ResourceImportReq) ProtoMessage()
- func (x *ResourceImportReq) ProtoReflect() protoreflect.Message
- func (x *ResourceImportReq) Reset()
- func (x *ResourceImportReq) String() string
- type ResourceKey
- func (*ResourceKey) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceKey) GetResourceId() string
- func (x *ResourceKey) GetTenant() string
- func (*ResourceKey) ProtoMessage()
- func (x *ResourceKey) ProtoReflect() protoreflect.Message
- func (x *ResourceKey) Reset()
- func (x *ResourceKey) String() string
- type ResourceKeyList
- func (*ResourceKeyList) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceKeyList) GetResourceId() []string
- func (x *ResourceKeyList) GetTenant() string
- func (*ResourceKeyList) ProtoMessage()
- func (x *ResourceKeyList) ProtoReflect() protoreflect.Message
- func (x *ResourceKeyList) Reset()
- func (x *ResourceKeyList) String() string
- type ResourceList
- type ResourceModel
- func (*ResourceModel) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceModel) GetChildren() []*ResourceModel
- func (x *ResourceModel) GetDepth_() int32
- func (x *ResourceModel) GetHidden_() bool
- func (x *ResourceModel) GetIcon_() string
- func (x *ResourceModel) GetModuleId() string
- func (x *ResourceModel) GetModuleName() string
- func (x *ResourceModel) GetOperCodes() []string
- func (x *ResourceModel) GetOrderBy() int32
- func (x *ResourceModel) GetParentId() string
- func (x *ResourceModel) GetResourceCode() string
- func (x *ResourceModel) GetResourceId() string
- func (x *ResourceModel) GetResourceName() string
- func (x *ResourceModel) GetResourceType() string
- func (x *ResourceModel) GetTarget_() string
- func (x *ResourceModel) GetUrl_() string
- func (*ResourceModel) ProtoMessage()
- func (x *ResourceModel) ProtoReflect() protoreflect.Message
- func (x *ResourceModel) Reset()
- func (x *ResourceModel) String() string
- type ResourceModelTotal
- func (*ResourceModelTotal) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceModelTotal) GetTotalSize() int32
- func (*ResourceModelTotal) ProtoMessage()
- func (x *ResourceModelTotal) ProtoReflect() protoreflect.Message
- func (x *ResourceModelTotal) Reset()
- func (x *ResourceModelTotal) String() string
- type ResourceMoveKey
- func (*ResourceMoveKey) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMoveKey) GetResourceId() string
- func (x *ResourceMoveKey) GetTenant() string
- func (x *ResourceMoveKey) GetUp() bool
- func (*ResourceMoveKey) ProtoMessage()
- func (x *ResourceMoveKey) ProtoReflect() protoreflect.Message
- func (x *ResourceMoveKey) Reset()
- func (x *ResourceMoveKey) String() string
- type ResourcePage
- func (*ResourcePage) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcePage) GetCurPage() int32
- func (x *ResourcePage) GetPageSize() int32
- func (x *ResourcePage) GetResults() []*ResourceModel
- func (x *ResourcePage) GetSubTotalDto() *ResourceModelTotal
- func (x *ResourcePage) GetTotalDto() *ResourceModelTotal
- func (x *ResourcePage) GetTotalSize() int32
- func (*ResourcePage) ProtoMessage()
- func (x *ResourcePage) ProtoReflect() protoreflect.Message
- func (x *ResourcePage) Reset()
- func (x *ResourcePage) String() string
- type ResourcePerm
- func (*ResourcePerm) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcePerm) GetChildren() []*ResourcePerm
- func (x *ResourcePerm) GetParentId() string
- func (x *ResourcePerm) GetPerms() []*PermModel
- func (x *ResourcePerm) GetResourceId() string
- func (x *ResourcePerm) GetResourceName() string
- func (*ResourcePerm) ProtoMessage()
- func (x *ResourcePerm) ProtoReflect() protoreflect.Message
- func (x *ResourcePerm) Reset()
- func (x *ResourcePerm) String() string
- type ResourcePermList
- func (*ResourcePermList) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcePermList) GetResults() []*ResourcePerm
- func (*ResourcePermList) ProtoMessage()
- func (x *ResourcePermList) ProtoReflect() protoreflect.Message
- func (x *ResourcePermList) Reset()
- func (x *ResourcePermList) String() string
- type ResourceReq
- func (*ResourceReq) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceReq) GetExcludeId() string
- func (x *ResourceReq) GetHasHidden() bool
- func (x *ResourceReq) GetHidden_() bool
- func (x *ResourceReq) GetLikeResourceName() string
- func (x *ResourceReq) GetModuleId() string
- func (x *ResourceReq) GetParentId() string
- func (x *ResourceReq) GetResourceCode() string
- func (x *ResourceReq) GetResourceId() string
- func (x *ResourceReq) GetResourceType() string
- func (x *ResourceReq) GetTenant() string
- func (*ResourceReq) ProtoMessage()
- func (x *ResourceReq) ProtoReflect() protoreflect.Message
- func (x *ResourceReq) Reset()
- func (x *ResourceReq) String() string
- type ResourceType
- func (ResourceType) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceType) Enum() *ResourceType
- func (ResourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceType) Number() protoreflect.EnumNumber
- func (x ResourceType) String() string
- func (ResourceType) Type() protoreflect.EnumType
- type ResourceUpdateReq
- func (*ResourceUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceUpdateReq) GetHidden_() bool
- func (x *ResourceUpdateReq) GetIcon_() string
- func (x *ResourceUpdateReq) GetModuleId() string
- func (x *ResourceUpdateReq) GetOperCodes() []string
- func (x *ResourceUpdateReq) GetParentId() string
- func (x *ResourceUpdateReq) GetRequestId() string
- func (x *ResourceUpdateReq) GetResourceCode() string
- func (x *ResourceUpdateReq) GetResourceId() string
- func (x *ResourceUpdateReq) GetResourceName() string
- func (x *ResourceUpdateReq) GetResourceType() ResourceType
- func (x *ResourceUpdateReq) GetTarget_() string
- func (x *ResourceUpdateReq) GetTenant() string
- func (x *ResourceUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *ResourceUpdateReq) GetUrl_() string
- func (x *ResourceUpdateReq) GetValidateOnly() bool
- func (*ResourceUpdateReq) ProtoMessage()
- func (x *ResourceUpdateReq) ProtoReflect() protoreflect.Message
- func (x *ResourceUpdateReq) Reset()
- func (x *ResourceUpdateReq) String() string
- type RoleCreateReq
- func (*RoleCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *RoleCreateReq) GetDescription_() string
- func (x *RoleCreateReq) GetParentId() string
- func (x *RoleCreateReq) GetPermCodes() []string
- func (x *RoleCreateReq) GetRequestId() string
- func (x *RoleCreateReq) GetRoleCode() string
- func (x *RoleCreateReq) GetRoleDuty() []*RoleDuty
- func (x *RoleCreateReq) GetRoleName() string
- func (x *RoleCreateReq) GetRoleType() RoleType
- func (x *RoleCreateReq) GetTenant() string
- func (x *RoleCreateReq) GetValidateOnly() bool
- func (*RoleCreateReq) ProtoMessage()
- func (x *RoleCreateReq) ProtoReflect() protoreflect.Message
- func (x *RoleCreateReq) Reset()
- func (x *RoleCreateReq) String() string
- type RoleDuty
- type RoleDutyModel
- func (*RoleDutyModel) Descriptor() ([]byte, []int)deprecated
- func (x *RoleDutyModel) GetDutyType() DutyType
- func (x *RoleDutyModel) GetRoleId() string
- func (x *RoleDutyModel) GetRoleName() string
- func (*RoleDutyModel) ProtoMessage()
- func (x *RoleDutyModel) ProtoReflect() protoreflect.Message
- func (x *RoleDutyModel) Reset()
- func (x *RoleDutyModel) String() string
- type RoleKey
- type RoleKeyList
- func (*RoleKeyList) Descriptor() ([]byte, []int)deprecated
- func (x *RoleKeyList) GetRoleId() []string
- func (x *RoleKeyList) GetTenant() string
- func (*RoleKeyList) ProtoMessage()
- func (x *RoleKeyList) ProtoReflect() protoreflect.Message
- func (x *RoleKeyList) Reset()
- func (x *RoleKeyList) String() string
- type RoleList
- type RoleModel
- func (*RoleModel) Descriptor() ([]byte, []int)deprecated
- func (x *RoleModel) GetChildren() []*RoleModel
- func (x *RoleModel) GetCreateBy() string
- func (x *RoleModel) GetCreateTime() *timestamppb.Timestamp
- func (x *RoleModel) GetDepth_() int32
- func (x *RoleModel) GetDescription_() string
- func (x *RoleModel) GetOrderBy() int32
- func (x *RoleModel) GetParentId() string
- func (x *RoleModel) GetPermCodes() []string
- func (x *RoleModel) GetRoleCode() string
- func (x *RoleModel) GetRoleDutyModel() []*RoleDutyModel
- func (x *RoleModel) GetRoleId() string
- func (x *RoleModel) GetRoleName() string
- func (x *RoleModel) GetRoleType() RoleType
- func (*RoleModel) ProtoMessage()
- func (x *RoleModel) ProtoReflect() protoreflect.Message
- func (x *RoleModel) Reset()
- func (x *RoleModel) String() string
- type RoleModelTotal
- type RoleMoveKey
- func (*RoleMoveKey) Descriptor() ([]byte, []int)deprecated
- func (x *RoleMoveKey) GetRoleId() string
- func (x *RoleMoveKey) GetTenant() string
- func (x *RoleMoveKey) GetUp() bool
- func (*RoleMoveKey) ProtoMessage()
- func (x *RoleMoveKey) ProtoReflect() protoreflect.Message
- func (x *RoleMoveKey) Reset()
- func (x *RoleMoveKey) String() string
- type RolePage
- func (*RolePage) Descriptor() ([]byte, []int)deprecated
- func (x *RolePage) GetCurPage() int32
- func (x *RolePage) GetPageSize() int32
- func (x *RolePage) GetResults() []*RoleModel
- func (x *RolePage) GetSubTotalDto() *RoleModelTotal
- func (x *RolePage) GetTotalDto() *RoleModelTotal
- func (x *RolePage) GetTotalSize() int32
- func (*RolePage) ProtoMessage()
- func (x *RolePage) ProtoReflect() protoreflect.Message
- func (x *RolePage) Reset()
- func (x *RolePage) String() string
- type RolePermReq
- func (*RolePermReq) Descriptor() ([]byte, []int)deprecated
- func (x *RolePermReq) GetPermCodes() []string
- func (x *RolePermReq) GetRoleId() string
- func (x *RolePermReq) GetTenant() string
- func (*RolePermReq) ProtoMessage()
- func (x *RolePermReq) ProtoReflect() protoreflect.Message
- func (x *RolePermReq) Reset()
- func (x *RolePermReq) String() string
- type RolePermSet
- func (*RolePermSet) Descriptor() ([]byte, []int)deprecated
- func (x *RolePermSet) GetPermCodes() []string
- func (x *RolePermSet) GetRoleCodes() []string
- func (*RolePermSet) ProtoMessage()
- func (x *RolePermSet) ProtoReflect() protoreflect.Message
- func (x *RolePermSet) Reset()
- func (x *RolePermSet) String() string
- type RoleReq
- func (*RoleReq) Descriptor() ([]byte, []int)deprecated
- func (x *RoleReq) GetCreateBy() string
- func (x *RoleReq) GetExcludeId() string
- func (x *RoleReq) GetHasRoleType() bool
- func (x *RoleReq) GetLikeRoleName() string
- func (x *RoleReq) GetOrderAsc() bool
- func (x *RoleReq) GetOrderName() string
- func (x *RoleReq) GetRoleCode() string
- func (x *RoleReq) GetRoleType() RoleType
- func (x *RoleReq) GetTenant() string
- func (*RoleReq) ProtoMessage()
- func (x *RoleReq) ProtoReflect() protoreflect.Message
- func (x *RoleReq) Reset()
- func (x *RoleReq) String() string
- type RoleType
- type RoleUpdateReq
- func (*RoleUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *RoleUpdateReq) GetDescription_() string
- func (x *RoleUpdateReq) GetParentId() string
- func (x *RoleUpdateReq) GetPermCodes() []string
- func (x *RoleUpdateReq) GetRequestId() string
- func (x *RoleUpdateReq) GetRoleCode() string
- func (x *RoleUpdateReq) GetRoleDuty() []*RoleDuty
- func (x *RoleUpdateReq) GetRoleId() string
- func (x *RoleUpdateReq) GetRoleName() string
- func (x *RoleUpdateReq) GetRoleType() RoleType
- func (x *RoleUpdateReq) GetTenant() string
- func (x *RoleUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *RoleUpdateReq) GetValidateOnly() bool
- func (*RoleUpdateReq) ProtoMessage()
- func (x *RoleUpdateReq) ProtoReflect() protoreflect.Message
- func (x *RoleUpdateReq) Reset()
- func (x *RoleUpdateReq) String() string
- type RunAsReq
- func (*RunAsReq) Descriptor() ([]byte, []int)deprecated
- func (x *RunAsReq) GetScope() string
- func (x *RunAsReq) GetTenant() string
- func (x *RunAsReq) GetUserId() string
- func (*RunAsReq) ProtoMessage()
- func (x *RunAsReq) ProtoReflect() protoreflect.Message
- func (x *RunAsReq) Reset()
- func (x *RunAsReq) String() string
- type SendValidCodeReq
- func (*SendValidCodeReq) Descriptor() ([]byte, []int)deprecated
- func (x *SendValidCodeReq) GetCaptchaCode() string
- func (x *SendValidCodeReq) GetCaptchaId() string
- func (x *SendValidCodeReq) GetDirectoryId() string
- func (x *SendValidCodeReq) GetName() string
- func (x *SendValidCodeReq) GetTenant() string
- func (*SendValidCodeReq) ProtoMessage()
- func (x *SendValidCodeReq) ProtoReflect() protoreflect.Message
- func (x *SendValidCodeReq) Reset()
- func (x *SendValidCodeReq) String() string
- type TokenResp
- func (*TokenResp) Descriptor() ([]byte, []int)deprecated
- func (x *TokenResp) GetAccessToken() string
- func (x *TokenResp) GetExpiresIn() int32
- func (x *TokenResp) GetRefreshToken() string
- func (x *TokenResp) GetTokenType() string
- func (*TokenResp) ProtoMessage()
- func (x *TokenResp) ProtoReflect() protoreflect.Message
- func (x *TokenResp) Reset()
- func (x *TokenResp) String() string
- type TreeList
- type TreeModel
- func (*TreeModel) Descriptor() ([]byte, []int)deprecated
- func (x *TreeModel) GetChildren() []*TreeModel
- func (x *TreeModel) GetLabel() string
- func (x *TreeModel) GetParentId() string
- func (x *TreeModel) GetValue() string
- func (*TreeModel) ProtoMessage()
- func (x *TreeModel) ProtoReflect() protoreflect.Message
- func (x *TreeModel) Reset()
- func (x *TreeModel) String() string
- type UnimplementedRbacServer
- func (UnimplementedRbacServer) AllowRunAsUser(context.Context, *basic.TenantReq) (*UserList, error)
- func (UnimplementedRbacServer) ApprovedUser(context.Context, *ApprovedUserReq) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) AssignUser(context.Context, *UserRoleReq) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) BatchDeleteDept(context.Context, *DeptKeyList) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) BatchDeleteModule(context.Context, *ModuleKeyList) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) BatchDeleteOpenApp(context.Context, *OpenAppKeyList) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) BatchDeleteOperation(context.Context, *OperationKeyList) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) BatchDeletePerm(context.Context, *PermKeyList) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) BatchDeleteResource(context.Context, *ResourceKeyList) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) BatchDeleteRole(context.Context, *RoleKeyList) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) BatchDeleteUser(context.Context, *UserKeyList) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) BatchEnableUser(context.Context, *EnableUserReq) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) BindPhoneEmail(context.Context, *BindPhoneEmailReq) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) ChangePwd(context.Context, *ChangePwdReq) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) CheckModuleCode(context.Context, *ModuleCheck) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) CheckOperationCode(context.Context, *OperationCheck) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) CheckPermCode(context.Context, *PermCheck) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) CreateDept(context.Context, *DeptCreateReq) (*DeptModel, error)
- func (UnimplementedRbacServer) CreateModule(context.Context, *ModuleCreateReq) (*ModuleModel, error)
- func (UnimplementedRbacServer) CreateOpenApp(context.Context, *OpenAppCreateReq) (*OpenAppModel, error)
- func (UnimplementedRbacServer) CreateOperation(context.Context, *OperationCreateReq) (*OperationModel, error)
- func (UnimplementedRbacServer) CreatePerm(context.Context, *PermCreateReq) (*PermModel, error)
- func (UnimplementedRbacServer) CreateResource(context.Context, *ResourceCreateReq) (*ResourceModel, error)
- func (UnimplementedRbacServer) CreateRole(context.Context, *RoleCreateReq) (*RoleModel, error)
- func (UnimplementedRbacServer) CreateUser(context.Context, *UserCreateReq) (*UserModel, error)
- func (UnimplementedRbacServer) DeassignUser(context.Context, *UserRoleReq) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) DeleteDept(context.Context, *DeptKey) (*DeptModel, error)
- func (UnimplementedRbacServer) DeleteLog(context.Context, *LogDelReq) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) DeleteModule(context.Context, *ModuleKey) (*ModuleModel, error)
- func (UnimplementedRbacServer) DeleteOpenApp(context.Context, *OpenAppKey) (*OpenAppModel, error)
- func (UnimplementedRbacServer) DeleteOpens(context.Context, *OpensKey) (*OpensModel, error)
- func (UnimplementedRbacServer) DeleteOperation(context.Context, *OperationKey) (*OperationModel, error)
- func (UnimplementedRbacServer) DeletePerm(context.Context, *PermKey) (*PermModel, error)
- func (UnimplementedRbacServer) DeleteResource(context.Context, *ResourceKey) (*ResourceModel, error)
- func (UnimplementedRbacServer) DeleteRole(context.Context, *RoleKey) (*RoleModel, error)
- func (UnimplementedRbacServer) DeleteUser(context.Context, *UserKey) (*UserModel, error)
- func (UnimplementedRbacServer) DeleteUserLog(context.Context, *UserLogDelReq) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) DownloadDept(*basic.TenantReq, Rbac_DownloadDeptServer) error
- func (UnimplementedRbacServer) DownloadResource(*ResourceExportReq, Rbac_DownloadResourceServer) error
- func (UnimplementedRbacServer) DownloadUserTemplate(*basic.TenantReq, Rbac_DownloadUserTemplateServer) error
- func (UnimplementedRbacServer) EnableDept(context.Context, *DeptEnableKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) EnableUser(context.Context, *UserEnableKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) ExistResource(context.Context, *VerifyResourceReq) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) ExistRole(context.Context, *VerifyRoleReq) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) ExistUser(context.Context, *VerifyUserReq) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) ExportDept(*DeptExportReq, Rbac_ExportDeptServer) error
- func (UnimplementedRbacServer) ExportLog(*LogExportReq, Rbac_ExportLogServer) error
- func (UnimplementedRbacServer) ExportResource(*ResourceExportReq, Rbac_ExportResourceServer) error
- func (UnimplementedRbacServer) ExportUser(*UserExportReq, Rbac_ExportUserServer) error
- func (UnimplementedRbacServer) ExportUserLog(*UserLogExportReq, Rbac_ExportUserLogServer) error
- func (UnimplementedRbacServer) FindDeptById(context.Context, *DeptKey) (*DeptModel, error)
- func (UnimplementedRbacServer) FindDeptList(context.Context, *DeptReq) (*DeptList, error)
- func (UnimplementedRbacServer) FindDeptTreeList(context.Context, *DeptReq) (*TreeList, error)
- func (UnimplementedRbacServer) FindEnumEntry(context.Context, *basic.EnumEntryReq) (*basic.EntryList, error)
- func (UnimplementedRbacServer) FindEnumList(context.Context, *wrapperspb.StringValue) (*basic.EnumValueList, error)
- func (UnimplementedRbacServer) FindEnumMap(context.Context, *wrapperspb.StringValue) (*basic.CustomEnumValueMap, error)
- func (UnimplementedRbacServer) FindLogById(context.Context, *LogKey) (*LogModel, error)
- func (UnimplementedRbacServer) FindLogList(context.Context, *LogReq) (*LogList, error)
- func (UnimplementedRbacServer) FindLogPage(context.Context, *LogReq) (*LogPage, error)
- func (UnimplementedRbacServer) FindModuleById(context.Context, *ModuleKey) (*ModuleModel, error)
- func (UnimplementedRbacServer) FindModuleList(context.Context, *ModuleReq) (*ModuleList, error)
- func (UnimplementedRbacServer) FindModulePage(context.Context, *ModuleReq) (*ModulePage, error)
- func (UnimplementedRbacServer) FindOpenAppById(context.Context, *OpenAppKey) (*OpenAppModel, error)
- func (UnimplementedRbacServer) FindOpenAppList(context.Context, *OpenAppReq) (*OpenAppList, error)
- func (UnimplementedRbacServer) FindOpenAppPage(context.Context, *OpenAppReq) (*OpenAppPage, error)
- func (UnimplementedRbacServer) FindOpensById(context.Context, *OpensKey) (*OpensModel, error)
- func (UnimplementedRbacServer) FindOpensList(context.Context, *OpensReq) (*OpensList, error)
- func (UnimplementedRbacServer) FindOperationById(context.Context, *OperationKey) (*OperationModel, error)
- func (UnimplementedRbacServer) FindOperationList(context.Context, *OperationReq) (*OperationList, error)
- func (UnimplementedRbacServer) FindOperationPage(context.Context, *OperationReq) (*OperationPage, error)
- func (UnimplementedRbacServer) FindPermById(context.Context, *PermKey) (*PermModel, error)
- func (UnimplementedRbacServer) FindPermList(context.Context, *PermReq) (*PermList, error)
- func (UnimplementedRbacServer) FindPermPage(context.Context, *PermReq) (*PermPage, error)
- func (UnimplementedRbacServer) FindResourceById(context.Context, *ResourceKey) (*ResourceModel, error)
- func (UnimplementedRbacServer) FindResourceList(context.Context, *ResourceReq) (*ResourceList, error)
- func (UnimplementedRbacServer) FindResourcePermList(context.Context, *ResourceReq) (*ResourcePermList, error)
- func (UnimplementedRbacServer) FindResourceTreeList(context.Context, *ResourceReq) (*TreeList, error)
- func (UnimplementedRbacServer) FindRoleById(context.Context, *RoleKey) (*RoleModel, error)
- func (UnimplementedRbacServer) FindRoleList(context.Context, *RoleReq) (*RoleList, error)
- func (UnimplementedRbacServer) FindRoleTreeList(context.Context, *RoleReq) (*TreeList, error)
- func (UnimplementedRbacServer) FindUserById(context.Context, *UserKey) (*UserModel, error)
- func (UnimplementedRbacServer) FindUserByName(context.Context, *UserNameReq) (*UserModel, error)
- func (UnimplementedRbacServer) FindUserInfoList(context.Context, *UserReq) (*UserInfoList, error)
- func (UnimplementedRbacServer) FindUserInfoPage(context.Context, *UserReq) (*UserInfoPage, error)
- func (UnimplementedRbacServer) FindUserList(context.Context, *UserReq) (*UserList, error)
- func (UnimplementedRbacServer) FindUserLogById(context.Context, *UserLogKey) (*UserLogModel, error)
- func (UnimplementedRbacServer) FindUserLogList(context.Context, *UserLogReq) (*UserLogList, error)
- func (UnimplementedRbacServer) FindUserLogPage(context.Context, *UserLogReq) (*UserLogPage, error)
- func (UnimplementedRbacServer) FindUserPage(context.Context, *UserReq) (*UserPage, error)
- func (UnimplementedRbacServer) GetUserDeptInfo(context.Context, *UserKey) (*UserDeptJobInfoRes, error)
- func (UnimplementedRbacServer) GrantPerm(context.Context, *RolePermReq) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) ImportDept(context.Context, *DeptImportReq) (*wrapperspb.StringValue, error)
- func (UnimplementedRbacServer) ImportResource(context.Context, *ResourceImportReq) (*wrapperspb.StringValue, error)
- func (UnimplementedRbacServer) ImportUser(context.Context, *UserImportReq) (*wrapperspb.StringValue, error)
- func (UnimplementedRbacServer) LockDept(context.Context, *EnableDeptReq) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) LockUser(context.Context, *LockUserReq) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) Login(context.Context, *LoginReq) (*TokenResp, error)
- func (UnimplementedRbacServer) LoginByValidCode(context.Context, *ValidCodeLoginReq) (*TokenResp, error)
- func (UnimplementedRbacServer) Logout(context.Context, *LogoutReq) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) MiniAppBindPhone(context.Context, *MiniAppBindPhoneReq) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) MiniAppLogin(context.Context, *MiniAppLoginReq) (*MiniAppLoginResp, error)
- func (UnimplementedRbacServer) MiniAppPhoneNumber(context.Context, *MiniAppPhoneNumberReq) (*MiniAppLoginResp, error)
- func (UnimplementedRbacServer) MoveDept(context.Context, *DeptMoveKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) MoveModule(context.Context, *ModuleMoveKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) MoveOperation(context.Context, *OperationMoveKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) MoveResouce(context.Context, *ResourceMoveKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) MoveRole(context.Context, *RoleMoveKey) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) PrintDept(*DeptExportReq, Rbac_PrintDeptServer) error
- func (UnimplementedRbacServer) PrintUser(*UserExportReq, Rbac_PrintUserServer) error
- func (UnimplementedRbacServer) RefreshToken(context.Context, *RefreshTokenReq) (*TokenResp, error)
- func (UnimplementedRbacServer) ResetPwd(context.Context, *UserResetPwdReq) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) RevokePerm(context.Context, *RolePermReq) (*wrapperspb.Int32Value, error)
- func (UnimplementedRbacServer) RunAsUser(context.Context, *RunAsReq) (*UserModel, error)
- func (UnimplementedRbacServer) SelectDirectoryIds(context.Context, *basic.TenantReq) (*DirectoryListResp, error)
- func (UnimplementedRbacServer) SelectDsdRoles(context.Context, *basic.TenantReq) (*DsdRoleListResp, error)
- func (UnimplementedRbacServer) SelectUserInfo(context.Context, *UserKey) (*UserDeptJobInfoRes, error)
- func (UnimplementedRbacServer) SendValidCode(context.Context, *SendValidCodeReq) (*wrapperspb.BoolValue, error)
- func (UnimplementedRbacServer) UpdateDept(context.Context, *DeptUpdateReq) (*DeptModel, error)
- func (UnimplementedRbacServer) UpdateModule(context.Context, *ModuleUpdateReq) (*ModuleModel, error)
- func (UnimplementedRbacServer) UpdateOpenApp(context.Context, *OpenAppUpdateReq) (*OpenAppModel, error)
- func (UnimplementedRbacServer) UpdateOperation(context.Context, *OperationUpdateReq) (*OperationModel, error)
- func (UnimplementedRbacServer) UpdatePerm(context.Context, *PermUpdateReq) (*PermModel, error)
- func (UnimplementedRbacServer) UpdateResource(context.Context, *ResourceUpdateReq) (*ResourceModel, error)
- func (UnimplementedRbacServer) UpdateRole(context.Context, *RoleUpdateReq) (*RoleModel, error)
- func (UnimplementedRbacServer) UpdateUser(context.Context, *UserUpdateReq) (*UserModel, error)
- func (UnimplementedRbacServer) UpdateUserInfo(context.Context, *UpdateUserReq) (*UserModel, error)
- func (UnimplementedRbacServer) UserInfo(context.Context, *basic.TenantReq) (*UserModel, error)
- func (UnimplementedRbacServer) UserMenus(context.Context, *basic.TenantReq) (*MenuList, error)
- func (UnimplementedRbacServer) UserRolesPerms(context.Context, *basic.TenantReq) (*RolePermSet, error)
- func (UnimplementedRbacServer) Version(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
- type UnsafeRbacServer
- type UpdateUserReq
- func (*UpdateUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserReq) GetAvatar() string
- func (x *UpdateUserReq) GetBirthDate() string
- func (x *UpdateUserReq) GetGender_() basic.Gender
- func (x *UpdateUserReq) GetNickName() string
- func (x *UpdateUserReq) GetRealName() string
- func (x *UpdateUserReq) GetRequestId() string
- func (x *UpdateUserReq) GetTenant() string
- func (x *UpdateUserReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateUserReq) ProtoMessage()
- func (x *UpdateUserReq) ProtoReflect() protoreflect.Message
- func (x *UpdateUserReq) Reset()
- func (x *UpdateUserReq) String() string
- type UserCreateReq
- func (*UserCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserCreateReq) GetApproved_() bool
- func (x *UserCreateReq) GetAvatar_() string
- func (x *UserCreateReq) GetBirthDate() string
- func (x *UserCreateReq) GetDirectoryId() string
- func (x *UserCreateReq) GetEmail_() string
- func (x *UserCreateReq) GetGender_() basic.Gender
- func (x *UserCreateReq) GetLoginName() string
- func (x *UserCreateReq) GetMobilePhone() string
- func (x *UserCreateReq) GetNickName() string
- func (x *UserCreateReq) GetPwd() string
- func (x *UserCreateReq) GetRealName() string
- func (x *UserCreateReq) GetRepeatPwd() string
- func (x *UserCreateReq) GetRequestId() string
- func (x *UserCreateReq) GetRoleIds() []string
- func (x *UserCreateReq) GetStatus_() UserStatus
- func (x *UserCreateReq) GetTenant() string
- func (x *UserCreateReq) GetUserJobs() []*UserJobs
- func (x *UserCreateReq) GetValidateOnly() bool
- func (*UserCreateReq) ProtoMessage()
- func (x *UserCreateReq) ProtoReflect() protoreflect.Message
- func (x *UserCreateReq) Reset()
- func (x *UserCreateReq) String() string
- type UserDeptJobInfoRes
- func (*UserDeptJobInfoRes) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeptJobInfoRes) GetJobInfo() []*JobInfo
- func (x *UserDeptJobInfoRes) GetNickName() string
- func (x *UserDeptJobInfoRes) GetRealName() string
- func (x *UserDeptJobInfoRes) GetUserId() string
- func (*UserDeptJobInfoRes) ProtoMessage()
- func (x *UserDeptJobInfoRes) ProtoReflect() protoreflect.Message
- func (x *UserDeptJobInfoRes) Reset()
- func (x *UserDeptJobInfoRes) String() string
- type UserEnableKey
- func (*UserEnableKey) Descriptor() ([]byte, []int)deprecated
- func (x *UserEnableKey) GetEnabled() bool
- func (x *UserEnableKey) GetTenant() string
- func (x *UserEnableKey) GetUserId() string
- func (*UserEnableKey) ProtoMessage()
- func (x *UserEnableKey) ProtoReflect() protoreflect.Message
- func (x *UserEnableKey) Reset()
- func (x *UserEnableKey) String() string
- type UserExportReq
- func (*UserExportReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserExportReq) GetFileName() string
- func (x *UserExportReq) GetReq() *UserReq
- func (x *UserExportReq) GetTableHeads() []*basic.TableHead
- func (x *UserExportReq) GetTenant() string
- func (x *UserExportReq) GetTitle() string
- func (*UserExportReq) ProtoMessage()
- func (x *UserExportReq) ProtoReflect() protoreflect.Message
- func (x *UserExportReq) Reset()
- func (x *UserExportReq) String() string
- type UserImportReq
- func (*UserImportReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserImportReq) GetAddFlag() bool
- func (x *UserImportReq) GetFileNames() string
- func (x *UserImportReq) GetRequestId() string
- func (x *UserImportReq) GetTenant() string
- func (x *UserImportReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UserImportReq) ProtoMessage()
- func (x *UserImportReq) ProtoReflect() protoreflect.Message
- func (x *UserImportReq) Reset()
- func (x *UserImportReq) String() string
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetDeptId() string
- func (x *UserInfo) GetDeptName() string
- func (x *UserInfo) GetJobId() string
- func (x *UserInfo) GetJobName() string
- func (x *UserInfo) GetKey() string
- func (x *UserInfo) GetMobilePhoneIns() string
- func (x *UserInfo) GetValue() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- type UserInfoList
- type UserInfoPage
- func (*UserInfoPage) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfoPage) GetCurPage() int32
- func (x *UserInfoPage) GetPageSize() int32
- func (x *UserInfoPage) GetResults() []*UserInfo
- func (x *UserInfoPage) GetSubTotalDto() *UserModelTotal
- func (x *UserInfoPage) GetTotalDto() *UserModelTotal
- func (x *UserInfoPage) GetTotalSize() int32
- func (*UserInfoPage) ProtoMessage()
- func (x *UserInfoPage) ProtoReflect() protoreflect.Message
- func (x *UserInfoPage) Reset()
- func (x *UserInfoPage) String() string
- type UserJobs
- type UserKey
- type UserKeyList
- func (*UserKeyList) Descriptor() ([]byte, []int)deprecated
- func (x *UserKeyList) GetTenant() string
- func (x *UserKeyList) GetUserId() []string
- func (*UserKeyList) ProtoMessage()
- func (x *UserKeyList) ProtoReflect() protoreflect.Message
- func (x *UserKeyList) Reset()
- func (x *UserKeyList) String() string
- type UserList
- type UserLogDelReq
- func (*UserLogDelReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserLogDelReq) GetNumber() int32
- func (x *UserLogDelReq) GetTenant() string
- func (*UserLogDelReq) ProtoMessage()
- func (x *UserLogDelReq) ProtoReflect() protoreflect.Message
- func (x *UserLogDelReq) Reset()
- func (x *UserLogDelReq) String() string
- type UserLogExportReq
- func (*UserLogExportReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserLogExportReq) GetFileName() string
- func (x *UserLogExportReq) GetReq() *UserLogReq
- func (x *UserLogExportReq) GetTableHeads() []*basic.TableHead
- func (x *UserLogExportReq) GetTenant() string
- func (x *UserLogExportReq) GetTitle() string
- func (*UserLogExportReq) ProtoMessage()
- func (x *UserLogExportReq) ProtoReflect() protoreflect.Message
- func (x *UserLogExportReq) Reset()
- func (x *UserLogExportReq) String() string
- type UserLogKey
- func (*UserLogKey) Descriptor() ([]byte, []int)deprecated
- func (x *UserLogKey) GetLogId() string
- func (x *UserLogKey) GetPartition_() int32
- func (x *UserLogKey) GetTenant() string
- func (*UserLogKey) ProtoMessage()
- func (x *UserLogKey) ProtoReflect() protoreflect.Message
- func (x *UserLogKey) Reset()
- func (x *UserLogKey) String() string
- type UserLogKeyList
- type UserLogList
- type UserLogModel
- func (*UserLogModel) Descriptor() ([]byte, []int)deprecated
- func (x *UserLogModel) GetCreateBy() string
- func (x *UserLogModel) GetCreateTime() *timestamppb.Timestamp
- func (x *UserLogModel) GetDeviceId() string
- func (x *UserLogModel) GetEnvProps() string
- func (x *UserLogModel) GetLogId() string
- func (x *UserLogModel) GetLogMsg() string
- func (x *UserLogModel) GetLogName() string
- func (x *UserLogModel) GetPartition_() int32
- func (x *UserLogModel) GetProxyIp() string
- func (x *UserLogModel) GetUserIp() string
- func (*UserLogModel) ProtoMessage()
- func (x *UserLogModel) ProtoReflect() protoreflect.Message
- func (x *UserLogModel) Reset()
- func (x *UserLogModel) String() string
- type UserLogModelTotal
- type UserLogPage
- func (*UserLogPage) Descriptor() ([]byte, []int)deprecated
- func (x *UserLogPage) GetCurPage() int32
- func (x *UserLogPage) GetPageSize() int32
- func (x *UserLogPage) GetResults() []*UserLogModel
- func (x *UserLogPage) GetSubTotalDto() *UserLogModelTotal
- func (x *UserLogPage) GetTotalDto() *UserLogModelTotal
- func (x *UserLogPage) GetTotalSize() int32
- func (*UserLogPage) ProtoMessage()
- func (x *UserLogPage) ProtoReflect() protoreflect.Message
- func (x *UserLogPage) Reset()
- func (x *UserLogPage) String() string
- type UserLogReq
- func (*UserLogReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserLogReq) GetCreateBy() string
- func (x *UserLogReq) GetCurPage() int32
- func (x *UserLogReq) GetEndCreateTime() *timestamppb.Timestamp
- func (x *UserLogReq) GetLikeLogName() string
- func (x *UserLogReq) GetOrderAsc() bool
- func (x *UserLogReq) GetOrderName() string
- func (x *UserLogReq) GetPageSize() int32
- func (x *UserLogReq) GetPartition() int32
- func (x *UserLogReq) GetStartCreateTime() *timestamppb.Timestamp
- func (x *UserLogReq) GetTenant() string
- func (*UserLogReq) ProtoMessage()
- func (x *UserLogReq) ProtoReflect() protoreflect.Message
- func (x *UserLogReq) Reset()
- func (x *UserLogReq) String() string
- type UserModel
- func (*UserModel) Descriptor() ([]byte, []int)deprecated
- func (x *UserModel) GetApproved_() bool
- func (x *UserModel) GetAvatar_() string
- func (x *UserModel) GetBirthDate() string
- func (x *UserModel) GetCreateBy() string
- func (x *UserModel) GetCreateTime() *timestamppb.Timestamp
- func (x *UserModel) GetDeleteBy() string
- func (x *UserModel) GetDeleteTime() *timestamppb.Timestamp
- func (x *UserModel) GetDeleted_() bool
- func (x *UserModel) GetDirectoryId() string
- func (x *UserModel) GetEmailApproved() bool
- func (x *UserModel) GetEmailIns() string
- func (x *UserModel) GetEmail_() string
- func (x *UserModel) GetFailedCount() int32
- func (x *UserModel) GetFailedTime() *timestamppb.Timestamp
- func (x *UserModel) GetGender_() basic.Gender
- func (x *UserModel) GetLastLockoutTime() *timestamppb.Timestamp
- func (x *UserModel) GetLastLoginTime() *timestamppb.Timestamp
- func (x *UserModel) GetLoginName() string
- func (x *UserModel) GetMobilePhone() string
- func (x *UserModel) GetMobilePhoneIns() string
- func (x *UserModel) GetNickName() string
- func (x *UserModel) GetPhoneApproved() bool
- func (x *UserModel) GetPrimaryUserId() string
- func (x *UserModel) GetRealName() string
- func (x *UserModel) GetRealNameIns() string
- func (x *UserModel) GetRoleIds() []string
- func (x *UserModel) GetRunAs() bool
- func (x *UserModel) GetStatus_() UserStatus
- func (x *UserModel) GetUpdateBy() string
- func (x *UserModel) GetUpdateTime() *timestamppb.Timestamp
- func (x *UserModel) GetUserId() string
- func (x *UserModel) GetUserJobs() []*UserJobs
- func (x *UserModel) GetVersion_() int32
- func (*UserModel) ProtoMessage()
- func (x *UserModel) ProtoReflect() protoreflect.Message
- func (x *UserModel) Reset()
- func (x *UserModel) String() string
- type UserModelTotal
- type UserNameReq
- func (*UserNameReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserNameReq) GetDirectoryId() string
- func (x *UserNameReq) GetTenant() string
- func (x *UserNameReq) GetUserName() string
- func (*UserNameReq) ProtoMessage()
- func (x *UserNameReq) ProtoReflect() protoreflect.Message
- func (x *UserNameReq) Reset()
- func (x *UserNameReq) String() string
- type UserPage
- func (*UserPage) Descriptor() ([]byte, []int)deprecated
- func (x *UserPage) GetCurPage() int32
- func (x *UserPage) GetPageSize() int32
- func (x *UserPage) GetResults() []*UserModel
- func (x *UserPage) GetSubTotalDto() *UserModelTotal
- func (x *UserPage) GetTotalDto() *UserModelTotal
- func (x *UserPage) GetTotalSize() int32
- func (*UserPage) ProtoMessage()
- func (x *UserPage) ProtoReflect() protoreflect.Message
- func (x *UserPage) Reset()
- func (x *UserPage) String() string
- type UserReq
- func (*UserReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserReq) GetCreateBy() string
- func (x *UserReq) GetCurPage() int32
- func (x *UserReq) GetDeptId() string
- func (x *UserReq) GetDirectoryId() string
- func (x *UserReq) GetHasUserStatus() bool
- func (x *UserReq) GetLoginName() string
- func (x *UserReq) GetOrderAsc() bool
- func (x *UserReq) GetOrderName() string
- func (x *UserReq) GetPageSize() int32
- func (x *UserReq) GetRoleCode() string
- func (x *UserReq) GetShowDeleted() bool
- func (x *UserReq) GetTenant() string
- func (x *UserReq) GetUserId() []string
- func (x *UserReq) GetUserStatus() UserStatus
- func (*UserReq) ProtoMessage()
- func (x *UserReq) ProtoReflect() protoreflect.Message
- func (x *UserReq) Reset()
- func (x *UserReq) String() string
- type UserResetPwdReq
- func (*UserResetPwdReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserResetPwdReq) GetPwd() string
- func (x *UserResetPwdReq) GetRepeatPwd() string
- func (x *UserResetPwdReq) GetTenant() string
- func (x *UserResetPwdReq) GetUserId() string
- func (*UserResetPwdReq) ProtoMessage()
- func (x *UserResetPwdReq) ProtoReflect() protoreflect.Message
- func (x *UserResetPwdReq) Reset()
- func (x *UserResetPwdReq) String() string
- type UserRoleReq
- func (*UserRoleReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserRoleReq) GetRoleCodes() []string
- func (x *UserRoleReq) GetTenant() string
- func (x *UserRoleReq) GetUserId() string
- func (*UserRoleReq) ProtoMessage()
- func (x *UserRoleReq) ProtoReflect() protoreflect.Message
- func (x *UserRoleReq) Reset()
- func (x *UserRoleReq) String() string
- type UserStatus
- type UserUpdateReq
- func (*UserUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserUpdateReq) GetApproved_() bool
- func (x *UserUpdateReq) GetAvatar_() string
- func (x *UserUpdateReq) GetBirthDate() string
- func (x *UserUpdateReq) GetDirectoryId() string
- func (x *UserUpdateReq) GetEmailApproved() bool
- func (x *UserUpdateReq) GetEmail_() string
- func (x *UserUpdateReq) GetGender_() basic.Gender
- func (x *UserUpdateReq) GetLoginName() string
- func (x *UserUpdateReq) GetMobilePhone() string
- func (x *UserUpdateReq) GetNickName() string
- func (x *UserUpdateReq) GetPhoneApproved() bool
- func (x *UserUpdateReq) GetRealName() string
- func (x *UserUpdateReq) GetRequestId() string
- func (x *UserUpdateReq) GetRoleIds() []string
- func (x *UserUpdateReq) GetStatus_() UserStatus
- func (x *UserUpdateReq) GetTenant() string
- func (x *UserUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UserUpdateReq) GetUserId() string
- func (x *UserUpdateReq) GetUserJobs() []*UserJobs
- func (x *UserUpdateReq) GetValidateOnly() bool
- func (*UserUpdateReq) ProtoMessage()
- func (x *UserUpdateReq) ProtoReflect() protoreflect.Message
- func (x *UserUpdateReq) Reset()
- func (x *UserUpdateReq) String() string
- type ValidCodeLoginReq
- func (*ValidCodeLoginReq) Descriptor() ([]byte, []int)deprecated
- func (x *ValidCodeLoginReq) GetClientId() string
- func (x *ValidCodeLoginReq) GetDirectoryId() string
- func (x *ValidCodeLoginReq) GetName() string
- func (x *ValidCodeLoginReq) GetScope() string
- func (x *ValidCodeLoginReq) GetTenant() string
- func (x *ValidCodeLoginReq) GetValidCode() string
- func (*ValidCodeLoginReq) ProtoMessage()
- func (x *ValidCodeLoginReq) ProtoReflect() protoreflect.Message
- func (x *ValidCodeLoginReq) Reset()
- func (x *ValidCodeLoginReq) String() string
- type VerifyResourceReq
- func (*VerifyResourceReq) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyResourceReq) GetTenant() string
- func (x *VerifyResourceReq) GetUrl() string
- func (*VerifyResourceReq) ProtoMessage()
- func (x *VerifyResourceReq) ProtoReflect() protoreflect.Message
- func (x *VerifyResourceReq) Reset()
- func (x *VerifyResourceReq) String() string
- type VerifyRoleReq
- func (*VerifyRoleReq) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyRoleReq) GetAddFlag() bool
- func (x *VerifyRoleReq) GetRoleCode() string
- func (x *VerifyRoleReq) GetRoleId() string
- func (x *VerifyRoleReq) GetTenant() string
- func (*VerifyRoleReq) ProtoMessage()
- func (x *VerifyRoleReq) ProtoReflect() protoreflect.Message
- func (x *VerifyRoleReq) Reset()
- func (x *VerifyRoleReq) String() string
- type VerifyUserReq
- func (*VerifyUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyUserReq) GetDirectoryId() string
- func (x *VerifyUserReq) GetTenant() string
- func (x *VerifyUserReq) GetUserId() string
- func (x *VerifyUserReq) GetUserName() string
- func (*VerifyUserReq) ProtoMessage()
- func (x *VerifyUserReq) ProtoReflect() protoreflect.Message
- func (x *VerifyUserReq) Reset()
- func (x *VerifyUserReq) String() string
- type WxAppLoginReq
- func (*WxAppLoginReq) Descriptor() ([]byte, []int)deprecated
- func (x *WxAppLoginReq) GetLoginCode() string
- func (x *WxAppLoginReq) GetTenant() string
- func (*WxAppLoginReq) ProtoMessage()
- func (x *WxAppLoginReq) ProtoReflect() protoreflect.Message
- func (x *WxAppLoginReq) Reset()
- func (x *WxAppLoginReq) String() string
- type WxAppLoginResp
- func (*WxAppLoginResp) Descriptor() ([]byte, []int)deprecated
- func (x *WxAppLoginResp) GetCacheKey() string
- func (x *WxAppLoginResp) GetStatus() bool
- func (x *WxAppLoginResp) GetToken() *TokenResp
- func (*WxAppLoginResp) ProtoMessage()
- func (x *WxAppLoginResp) ProtoReflect() protoreflect.Message
- func (x *WxAppLoginResp) Reset()
- func (x *WxAppLoginResp) String() string
- type WxAppPhoneNumberReq
- func (*WxAppPhoneNumberReq) Descriptor() ([]byte, []int)deprecated
- func (x *WxAppPhoneNumberReq) GetCacheKey() string
- func (x *WxAppPhoneNumberReq) GetPhoneCode() string
- func (x *WxAppPhoneNumberReq) GetTenant() string
- func (*WxAppPhoneNumberReq) ProtoMessage()
- func (x *WxAppPhoneNumberReq) ProtoReflect() protoreflect.Message
- func (x *WxAppPhoneNumberReq) Reset()
- func (x *WxAppPhoneNumberReq) String() string
- type WxAppPhoneNumberResp
- func (*WxAppPhoneNumberResp) Descriptor() ([]byte, []int)deprecated
- func (x *WxAppPhoneNumberResp) GetMessage() string
- func (x *WxAppPhoneNumberResp) GetStatus() bool
- func (x *WxAppPhoneNumberResp) GetToken() *TokenResp
- func (*WxAppPhoneNumberResp) ProtoMessage()
- func (x *WxAppPhoneNumberResp) ProtoReflect() protoreflect.Message
- func (x *WxAppPhoneNumberResp) Reset()
- func (x *WxAppPhoneNumberResp) String() string
Constants ¶
This section is empty.
Variables ¶
var ( OpensType_name = map[int32]string{ 0: "wechat", 1: "ali_pay", 2: "union_pay", } OpensType_value = map[string]int32{ "wechat": 0, "ali_pay": 1, "union_pay": 2, } )
Enum value maps for OpensType.
var ( ResourceType_name = map[int32]string{ 0: "catalog", 1: "menu", 2: "other", } ResourceType_value = map[string]int32{ "catalog": 0, "menu": 1, "other": 2, } )
Enum value maps for ResourceType.
var ( RoleType_name = map[int32]string{ 0: "role", 1: "job", } RoleType_value = map[string]int32{ "role": 0, "job": 1, } )
Enum value maps for RoleType.
var ( DutyType_name = map[int32]string{ 0: "SSD", 1: "DSD", } DutyType_value = map[string]int32{ "SSD": 0, "DSD": 1, } )
Enum value maps for DutyType.
var ( UserStatus_name = map[int32]string{ 0: "enabled", 1: "disabled", 2: "locked", } UserStatus_value = map[string]int32{ "enabled": 0, "disabled": 1, "locked": 2, } )
Enum value maps for UserStatus.
var File_jmash_rbac_protobuf_miniapp_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_auth_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_dept_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_log_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_module_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_open_app_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_opens_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_operation_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_perm_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_resource_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_role_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_user_log_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_rbac_user_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_protobuf_weixin_message_proto protoreflect.FileDescriptor
var File_jmash_rbac_rbac_rpc_proto protoreflect.FileDescriptor
var Rbac_ServiceDesc = grpc.ServiceDesc{ ServiceName: "jmash.rbac.Rbac", HandlerType: (*RbacServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "version", Handler: _Rbac_Version_Handler, }, { MethodName: "findEnumList", Handler: _Rbac_FindEnumList_Handler, }, { MethodName: "findEnumMap", Handler: _Rbac_FindEnumMap_Handler, }, { MethodName: "findEnumEntry", Handler: _Rbac_FindEnumEntry_Handler, }, { MethodName: "login", Handler: _Rbac_Login_Handler, }, { MethodName: "sendValidCode", Handler: _Rbac_SendValidCode_Handler, }, { MethodName: "loginByValidCode", Handler: _Rbac_LoginByValidCode_Handler, }, { MethodName: "selectDsdRoles", Handler: _Rbac_SelectDsdRoles_Handler, }, { MethodName: "logout", Handler: _Rbac_Logout_Handler, }, { MethodName: "refreshToken", Handler: _Rbac_RefreshToken_Handler, }, { MethodName: "userInfo", Handler: _Rbac_UserInfo_Handler, }, { MethodName: "updateUserInfo", Handler: _Rbac_UpdateUserInfo_Handler, }, { MethodName: "userRolesPerms", Handler: _Rbac_UserRolesPerms_Handler, }, { MethodName: "userMenus", Handler: _Rbac_UserMenus_Handler, }, { MethodName: "changePwd", Handler: _Rbac_ChangePwd_Handler, }, { MethodName: "bindPhoneEmail", Handler: _Rbac_BindPhoneEmail_Handler, }, { MethodName: "runAsUser", Handler: _Rbac_RunAsUser_Handler, }, { MethodName: "allowRunAsUser", Handler: _Rbac_AllowRunAsUser_Handler, }, { MethodName: "findUserPage", Handler: _Rbac_FindUserPage_Handler, }, { MethodName: "findUserList", Handler: _Rbac_FindUserList_Handler, }, { MethodName: "findUserById", Handler: _Rbac_FindUserById_Handler, }, { MethodName: "findUserByName", Handler: _Rbac_FindUserByName_Handler, }, { MethodName: "findUserInfoList", Handler: _Rbac_FindUserInfoList_Handler, }, { MethodName: "findUserInfoPage", Handler: _Rbac_FindUserInfoPage_Handler, }, { MethodName: "createUser", Handler: _Rbac_CreateUser_Handler, }, { MethodName: "updateUser", Handler: _Rbac_UpdateUser_Handler, }, { MethodName: "deleteUser", Handler: _Rbac_DeleteUser_Handler, }, { MethodName: "batchDeleteUser", Handler: _Rbac_BatchDeleteUser_Handler, }, { MethodName: "existUser", Handler: _Rbac_ExistUser_Handler, }, { MethodName: "batchEnableUser", Handler: _Rbac_BatchEnableUser_Handler, }, { MethodName: "enableUser", Handler: _Rbac_EnableUser_Handler, }, { MethodName: "lockUser", Handler: _Rbac_LockUser_Handler, }, { MethodName: "approvedUser", Handler: _Rbac_ApprovedUser_Handler, }, { MethodName: "assignUser", Handler: _Rbac_AssignUser_Handler, }, { MethodName: "deassignUser", Handler: _Rbac_DeassignUser_Handler, }, { MethodName: "resetPwd", Handler: _Rbac_ResetPwd_Handler, }, { MethodName: "importUser", Handler: _Rbac_ImportUser_Handler, }, { MethodName: "selectDirectoryIds", Handler: _Rbac_SelectDirectoryIds_Handler, }, { MethodName: "findModulePage", Handler: _Rbac_FindModulePage_Handler, }, { MethodName: "findModuleList", Handler: _Rbac_FindModuleList_Handler, }, { MethodName: "findModuleById", Handler: _Rbac_FindModuleById_Handler, }, { MethodName: "createModule", Handler: _Rbac_CreateModule_Handler, }, { MethodName: "updateModule", Handler: _Rbac_UpdateModule_Handler, }, { MethodName: "deleteModule", Handler: _Rbac_DeleteModule_Handler, }, { MethodName: "batchDeleteModule", Handler: _Rbac_BatchDeleteModule_Handler, }, { MethodName: "moveModule", Handler: _Rbac_MoveModule_Handler, }, { MethodName: "checkModuleCode", Handler: _Rbac_CheckModuleCode_Handler, }, { MethodName: "findOperationPage", Handler: _Rbac_FindOperationPage_Handler, }, { MethodName: "findOperationList", Handler: _Rbac_FindOperationList_Handler, }, { MethodName: "findOperationById", Handler: _Rbac_FindOperationById_Handler, }, { MethodName: "createOperation", Handler: _Rbac_CreateOperation_Handler, }, { MethodName: "updateOperation", Handler: _Rbac_UpdateOperation_Handler, }, { MethodName: "deleteOperation", Handler: _Rbac_DeleteOperation_Handler, }, { MethodName: "batchDeleteOperation", Handler: _Rbac_BatchDeleteOperation_Handler, }, { MethodName: "moveOperation", Handler: _Rbac_MoveOperation_Handler, }, { MethodName: "checkOperationCode", Handler: _Rbac_CheckOperationCode_Handler, }, { MethodName: "findDeptList", Handler: _Rbac_FindDeptList_Handler, }, { MethodName: "findDeptTreeList", Handler: _Rbac_FindDeptTreeList_Handler, }, { MethodName: "findDeptById", Handler: _Rbac_FindDeptById_Handler, }, { MethodName: "createDept", Handler: _Rbac_CreateDept_Handler, }, { MethodName: "updateDept", Handler: _Rbac_UpdateDept_Handler, }, { MethodName: "deleteDept", Handler: _Rbac_DeleteDept_Handler, }, { MethodName: "batchDeleteDept", Handler: _Rbac_BatchDeleteDept_Handler, }, { MethodName: "moveDept", Handler: _Rbac_MoveDept_Handler, }, { MethodName: "lockDept", Handler: _Rbac_LockDept_Handler, }, { MethodName: "enableDept", Handler: _Rbac_EnableDept_Handler, }, { MethodName: "importDept", Handler: _Rbac_ImportDept_Handler, }, { MethodName: "findLogPage", Handler: _Rbac_FindLogPage_Handler, }, { MethodName: "findLogList", Handler: _Rbac_FindLogList_Handler, }, { MethodName: "findLogById", Handler: _Rbac_FindLogById_Handler, }, { MethodName: "deleteLog", Handler: _Rbac_DeleteLog_Handler, }, { MethodName: "selectUserInfo", Handler: _Rbac_SelectUserInfo_Handler, }, { MethodName: "findOpensList", Handler: _Rbac_FindOpensList_Handler, }, { MethodName: "findOpensById", Handler: _Rbac_FindOpensById_Handler, }, { MethodName: "deleteOpens", Handler: _Rbac_DeleteOpens_Handler, }, { MethodName: "findOpenAppPage", Handler: _Rbac_FindOpenAppPage_Handler, }, { MethodName: "findOpenAppList", Handler: _Rbac_FindOpenAppList_Handler, }, { MethodName: "findOpenAppById", Handler: _Rbac_FindOpenAppById_Handler, }, { MethodName: "createOpenApp", Handler: _Rbac_CreateOpenApp_Handler, }, { MethodName: "updateOpenApp", Handler: _Rbac_UpdateOpenApp_Handler, }, { MethodName: "deleteOpenApp", Handler: _Rbac_DeleteOpenApp_Handler, }, { MethodName: "batchDeleteOpenApp", Handler: _Rbac_BatchDeleteOpenApp_Handler, }, { MethodName: "findPermPage", Handler: _Rbac_FindPermPage_Handler, }, { MethodName: "findPermList", Handler: _Rbac_FindPermList_Handler, }, { MethodName: "findResourcePermList", Handler: _Rbac_FindResourcePermList_Handler, }, { MethodName: "findPermById", Handler: _Rbac_FindPermById_Handler, }, { MethodName: "createPerm", Handler: _Rbac_CreatePerm_Handler, }, { MethodName: "updatePerm", Handler: _Rbac_UpdatePerm_Handler, }, { MethodName: "deletePerm", Handler: _Rbac_DeletePerm_Handler, }, { MethodName: "batchDeletePerm", Handler: _Rbac_BatchDeletePerm_Handler, }, { MethodName: "checkPermCode", Handler: _Rbac_CheckPermCode_Handler, }, { MethodName: "findResourceList", Handler: _Rbac_FindResourceList_Handler, }, { MethodName: "findResourceTreeList", Handler: _Rbac_FindResourceTreeList_Handler, }, { MethodName: "findResourceById", Handler: _Rbac_FindResourceById_Handler, }, { MethodName: "createResource", Handler: _Rbac_CreateResource_Handler, }, { MethodName: "updateResource", Handler: _Rbac_UpdateResource_Handler, }, { MethodName: "deleteResource", Handler: _Rbac_DeleteResource_Handler, }, { MethodName: "batchDeleteResource", Handler: _Rbac_BatchDeleteResource_Handler, }, { MethodName: "importResource", Handler: _Rbac_ImportResource_Handler, }, { MethodName: "existResource", Handler: _Rbac_ExistResource_Handler, }, { MethodName: "moveResouce", Handler: _Rbac_MoveResouce_Handler, }, { MethodName: "findRoleList", Handler: _Rbac_FindRoleList_Handler, }, { MethodName: "findRoleTreeList", Handler: _Rbac_FindRoleTreeList_Handler, }, { MethodName: "findRoleById", Handler: _Rbac_FindRoleById_Handler, }, { MethodName: "createRole", Handler: _Rbac_CreateRole_Handler, }, { MethodName: "updateRole", Handler: _Rbac_UpdateRole_Handler, }, { MethodName: "deleteRole", Handler: _Rbac_DeleteRole_Handler, }, { MethodName: "batchDeleteRole", Handler: _Rbac_BatchDeleteRole_Handler, }, { MethodName: "grantPerm", Handler: _Rbac_GrantPerm_Handler, }, { MethodName: "revokePerm", Handler: _Rbac_RevokePerm_Handler, }, { MethodName: "moveRole", Handler: _Rbac_MoveRole_Handler, }, { MethodName: "existRole", Handler: _Rbac_ExistRole_Handler, }, { MethodName: "findUserLogPage", Handler: _Rbac_FindUserLogPage_Handler, }, { MethodName: "findUserLogList", Handler: _Rbac_FindUserLogList_Handler, }, { MethodName: "findUserLogById", Handler: _Rbac_FindUserLogById_Handler, }, { MethodName: "deleteUserLog", Handler: _Rbac_DeleteUserLog_Handler, }, { MethodName: "getUserDeptInfo", Handler: _Rbac_GetUserDeptInfo_Handler, }, { MethodName: "miniAppLogin", Handler: _Rbac_MiniAppLogin_Handler, }, { MethodName: "miniAppPhoneNumber", Handler: _Rbac_MiniAppPhoneNumber_Handler, }, { MethodName: "miniAppBindPhone", Handler: _Rbac_MiniAppBindPhone_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "exportUser", Handler: _Rbac_ExportUser_Handler, ServerStreams: true, }, { StreamName: "printUser", Handler: _Rbac_PrintUser_Handler, ServerStreams: true, }, { StreamName: "downloadUserTemplate", Handler: _Rbac_DownloadUserTemplate_Handler, ServerStreams: true, }, { StreamName: "downloadDept", Handler: _Rbac_DownloadDept_Handler, ServerStreams: true, }, { StreamName: "exportDept", Handler: _Rbac_ExportDept_Handler, ServerStreams: true, }, { StreamName: "printDept", Handler: _Rbac_PrintDept_Handler, ServerStreams: true, }, { StreamName: "exportLog", Handler: _Rbac_ExportLog_Handler, ServerStreams: true, }, { StreamName: "downloadResource", Handler: _Rbac_DownloadResource_Handler, ServerStreams: true, }, { StreamName: "exportResource", Handler: _Rbac_ExportResource_Handler, ServerStreams: true, }, { StreamName: "exportUserLog", Handler: _Rbac_ExportUserLog_Handler, ServerStreams: true, }, }, Metadata: "jmash/rbac/rbac_rpc.proto", }
Rbac_ServiceDesc is the grpc.ServiceDesc for Rbac service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRbacHandler ¶
RegisterRbacHandler registers the http handlers for service Rbac to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRbacHandlerClient ¶
RegisterRbacHandlerClient registers the http handlers for service Rbac to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RbacClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RbacClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RbacClient" to call the correct interceptors.
func RegisterRbacHandlerFromEndpoint ¶
func RegisterRbacHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRbacHandlerFromEndpoint is same as RegisterRbacHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRbacHandlerServer ¶
RegisterRbacHandlerServer registers the http handlers for service Rbac to "mux". UnaryRPC :call RbacServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRbacHandlerFromEndpoint instead.
func RegisterRbacServer ¶
func RegisterRbacServer(s grpc.ServiceRegistrar, srv RbacServer)
Types ¶
type ActiveRoleReq ¶
type ActiveRoleReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // Active Role IDS. RoleIds []string `protobuf:"bytes,2,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` // contains filtered or unexported fields }
激活角色请求
func (*ActiveRoleReq) Descriptor
deprecated
func (*ActiveRoleReq) Descriptor() ([]byte, []int)
Deprecated: Use ActiveRoleReq.ProtoReflect.Descriptor instead.
func (*ActiveRoleReq) GetRoleIds ¶
func (x *ActiveRoleReq) GetRoleIds() []string
func (*ActiveRoleReq) GetTenant ¶
func (x *ActiveRoleReq) GetTenant() string
func (*ActiveRoleReq) ProtoMessage ¶
func (*ActiveRoleReq) ProtoMessage()
func (*ActiveRoleReq) ProtoReflect ¶
func (x *ActiveRoleReq) ProtoReflect() protoreflect.Message
func (*ActiveRoleReq) Reset ¶
func (x *ActiveRoleReq) Reset()
func (*ActiveRoleReq) String ¶
func (x *ActiveRoleReq) String() string
type ApprovedUserReq ¶
type ApprovedUserReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 审核/取消审核 Approved bool `protobuf:"varint,2,opt,name=approved,proto3" json:"approved,omitempty"` // 用户Id UserId []string `protobuf:"bytes,3,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
审核/取消审核请求.
func (*ApprovedUserReq) Descriptor
deprecated
func (*ApprovedUserReq) Descriptor() ([]byte, []int)
Deprecated: Use ApprovedUserReq.ProtoReflect.Descriptor instead.
func (*ApprovedUserReq) GetApproved ¶
func (x *ApprovedUserReq) GetApproved() bool
func (*ApprovedUserReq) GetTenant ¶
func (x *ApprovedUserReq) GetTenant() string
func (*ApprovedUserReq) GetUserId ¶
func (x *ApprovedUserReq) GetUserId() []string
func (*ApprovedUserReq) ProtoMessage ¶
func (*ApprovedUserReq) ProtoMessage()
func (*ApprovedUserReq) ProtoReflect ¶
func (x *ApprovedUserReq) ProtoReflect() protoreflect.Message
func (*ApprovedUserReq) Reset ¶
func (x *ApprovedUserReq) Reset()
func (*ApprovedUserReq) String ¶
func (x *ApprovedUserReq) String() string
type BindPhoneEmailReq ¶
type BindPhoneEmailReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Email/Phone Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 验证码 ValidCode string `protobuf:"bytes,4,opt,name=valid_code,json=validCode,proto3" json:"valid_code,omitempty"` // contains filtered or unexported fields }
绑定手机号/邮箱请求
func (*BindPhoneEmailReq) Descriptor
deprecated
func (*BindPhoneEmailReq) Descriptor() ([]byte, []int)
Deprecated: Use BindPhoneEmailReq.ProtoReflect.Descriptor instead.
func (*BindPhoneEmailReq) GetName ¶
func (x *BindPhoneEmailReq) GetName() string
func (*BindPhoneEmailReq) GetRequestId ¶
func (x *BindPhoneEmailReq) GetRequestId() string
func (*BindPhoneEmailReq) GetTenant ¶
func (x *BindPhoneEmailReq) GetTenant() string
func (*BindPhoneEmailReq) GetValidCode ¶
func (x *BindPhoneEmailReq) GetValidCode() string
func (*BindPhoneEmailReq) ProtoMessage ¶
func (*BindPhoneEmailReq) ProtoMessage()
func (*BindPhoneEmailReq) ProtoReflect ¶
func (x *BindPhoneEmailReq) ProtoReflect() protoreflect.Message
func (*BindPhoneEmailReq) Reset ¶
func (x *BindPhoneEmailReq) Reset()
func (*BindPhoneEmailReq) String ¶
func (x *BindPhoneEmailReq) String() string
type ChangePwdReq ¶
type ChangePwdReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // *原密码 EncodeOldPwd string `protobuf:"bytes,2,opt,name=encode_old_pwd,json=encodeOldPwd,proto3" json:"encode_old_pwd,omitempty"` // *新密码 EncodeNewPwd string `protobuf:"bytes,3,opt,name=encode_new_pwd,json=encodeNewPwd,proto3" json:"encode_new_pwd,omitempty"` // contains filtered or unexported fields }
密码修改请求
func (*ChangePwdReq) Descriptor
deprecated
func (*ChangePwdReq) Descriptor() ([]byte, []int)
Deprecated: Use ChangePwdReq.ProtoReflect.Descriptor instead.
func (*ChangePwdReq) GetEncodeNewPwd ¶
func (x *ChangePwdReq) GetEncodeNewPwd() string
func (*ChangePwdReq) GetEncodeOldPwd ¶
func (x *ChangePwdReq) GetEncodeOldPwd() string
func (*ChangePwdReq) GetTenant ¶
func (x *ChangePwdReq) GetTenant() string
func (*ChangePwdReq) ProtoMessage ¶
func (*ChangePwdReq) ProtoMessage()
func (*ChangePwdReq) ProtoReflect ¶
func (x *ChangePwdReq) ProtoReflect() protoreflect.Message
func (*ChangePwdReq) Reset ¶
func (x *ChangePwdReq) Reset()
func (*ChangePwdReq) String ¶
func (x *ChangePwdReq) String() string
type DeptCreateReq ¶
type DeptCreateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 部门编码 DeptCode string `protobuf:"bytes,4,opt,name=dept_code,json=deptCode,proto3" json:"dept_code,omitempty"` // 部门名称 DeptName string `protobuf:"bytes,5,opt,name=dept_name,json=deptName,proto3" json:"dept_name,omitempty"` // 部门类型 DeptType string `protobuf:"bytes,6,opt,name=dept_type,json=deptType,proto3" json:"dept_type,omitempty"` // 父部门 ParentId string `protobuf:"bytes,7,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 部门描述 Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // 状态 Status_ bool `protobuf:"varint,11,opt,name=status_,json=status,proto3" json:"status_,omitempty"` // 开放访问 IsOpen bool `protobuf:"varint,12,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` // contains filtered or unexported fields }
组织机构新增实体
func (*DeptCreateReq) Descriptor
deprecated
func (*DeptCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use DeptCreateReq.ProtoReflect.Descriptor instead.
func (*DeptCreateReq) GetDeptCode ¶
func (x *DeptCreateReq) GetDeptCode() string
func (*DeptCreateReq) GetDeptName ¶
func (x *DeptCreateReq) GetDeptName() string
func (*DeptCreateReq) GetDeptType ¶
func (x *DeptCreateReq) GetDeptType() string
func (*DeptCreateReq) GetDescription_ ¶
func (x *DeptCreateReq) GetDescription_() string
func (*DeptCreateReq) GetIsOpen ¶
func (x *DeptCreateReq) GetIsOpen() bool
func (*DeptCreateReq) GetParentId ¶
func (x *DeptCreateReq) GetParentId() string
func (*DeptCreateReq) GetRequestId ¶
func (x *DeptCreateReq) GetRequestId() string
func (*DeptCreateReq) GetStatus_ ¶
func (x *DeptCreateReq) GetStatus_() bool
func (*DeptCreateReq) GetTenant ¶
func (x *DeptCreateReq) GetTenant() string
func (*DeptCreateReq) GetValidateOnly ¶
func (x *DeptCreateReq) GetValidateOnly() bool
func (*DeptCreateReq) ProtoMessage ¶
func (*DeptCreateReq) ProtoMessage()
func (*DeptCreateReq) ProtoReflect ¶
func (x *DeptCreateReq) ProtoReflect() protoreflect.Message
func (*DeptCreateReq) Reset ¶
func (x *DeptCreateReq) Reset()
func (*DeptCreateReq) String ¶
func (x *DeptCreateReq) String() string
type DeptEnableKey ¶
type DeptEnableKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 部门ID DeptId string `protobuf:"bytes,2,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"` // 是否启用 Enable bool `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"` // contains filtered or unexported fields }
启用/禁用
func (*DeptEnableKey) Descriptor
deprecated
func (*DeptEnableKey) Descriptor() ([]byte, []int)
Deprecated: Use DeptEnableKey.ProtoReflect.Descriptor instead.
func (*DeptEnableKey) GetDeptId ¶
func (x *DeptEnableKey) GetDeptId() string
func (*DeptEnableKey) GetEnable ¶
func (x *DeptEnableKey) GetEnable() bool
func (*DeptEnableKey) GetTenant ¶
func (x *DeptEnableKey) GetTenant() string
func (*DeptEnableKey) ProtoMessage ¶
func (*DeptEnableKey) ProtoMessage()
func (*DeptEnableKey) ProtoReflect ¶
func (x *DeptEnableKey) ProtoReflect() protoreflect.Message
func (*DeptEnableKey) Reset ¶
func (x *DeptEnableKey) Reset()
func (*DeptEnableKey) String ¶
func (x *DeptEnableKey) String() string
type DeptExportReq ¶
type DeptExportReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 标题 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // 字段列表 TableHeads []*basic.TableHead `protobuf:"bytes,3,rep,name=table_heads,json=tableHeads,proto3" json:"table_heads,omitempty"` // 显示文件名 FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 筛选条件 Req *DeptReq `protobuf:"bytes,5,opt,name=req,proto3" json:"req,omitempty"` // contains filtered or unexported fields }
func (*DeptExportReq) Descriptor
deprecated
func (*DeptExportReq) Descriptor() ([]byte, []int)
Deprecated: Use DeptExportReq.ProtoReflect.Descriptor instead.
func (*DeptExportReq) GetFileName ¶
func (x *DeptExportReq) GetFileName() string
func (*DeptExportReq) GetReq ¶
func (x *DeptExportReq) GetReq() *DeptReq
func (*DeptExportReq) GetTableHeads ¶
func (x *DeptExportReq) GetTableHeads() []*basic.TableHead
func (*DeptExportReq) GetTenant ¶
func (x *DeptExportReq) GetTenant() string
func (*DeptExportReq) GetTitle ¶
func (x *DeptExportReq) GetTitle() string
func (*DeptExportReq) ProtoMessage ¶
func (*DeptExportReq) ProtoMessage()
func (*DeptExportReq) ProtoReflect ¶
func (x *DeptExportReq) ProtoReflect() protoreflect.Message
func (*DeptExportReq) Reset ¶
func (x *DeptExportReq) Reset()
func (*DeptExportReq) String ¶
func (x *DeptExportReq) String() string
type DeptImportReq ¶
type DeptImportReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 文件名 FileNames string `protobuf:"bytes,3,opt,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"` // 是否新增标识 AddFlag bool `protobuf:"varint,4,opt,name=add_flag,json=addFlag,proto3" json:"add_flag,omitempty"` // 更新字段掩码. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
部门导入请求
func (*DeptImportReq) Descriptor
deprecated
func (*DeptImportReq) Descriptor() ([]byte, []int)
Deprecated: Use DeptImportReq.ProtoReflect.Descriptor instead.
func (*DeptImportReq) GetAddFlag ¶
func (x *DeptImportReq) GetAddFlag() bool
func (*DeptImportReq) GetFileNames ¶
func (x *DeptImportReq) GetFileNames() string
func (*DeptImportReq) GetRequestId ¶
func (x *DeptImportReq) GetRequestId() string
func (*DeptImportReq) GetTenant ¶
func (x *DeptImportReq) GetTenant() string
func (*DeptImportReq) GetUpdateMask ¶
func (x *DeptImportReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*DeptImportReq) ProtoMessage ¶
func (*DeptImportReq) ProtoMessage()
func (*DeptImportReq) ProtoReflect ¶
func (x *DeptImportReq) ProtoReflect() protoreflect.Message
func (*DeptImportReq) Reset ¶
func (x *DeptImportReq) Reset()
func (*DeptImportReq) String ¶
func (x *DeptImportReq) String() string
type DeptKey ¶
type DeptKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 部门ID DeptId string `protobuf:"bytes,2,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"` // contains filtered or unexported fields }
组织机构Key
func (*DeptKey) Descriptor
deprecated
func (*DeptKey) ProtoMessage ¶
func (*DeptKey) ProtoMessage()
func (*DeptKey) ProtoReflect ¶
func (x *DeptKey) ProtoReflect() protoreflect.Message
type DeptKeyList ¶
type DeptKeyList struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 部门ID DeptId []string `protobuf:"bytes,2,rep,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"` // contains filtered or unexported fields }
组织机构List
func (*DeptKeyList) Descriptor
deprecated
func (*DeptKeyList) Descriptor() ([]byte, []int)
Deprecated: Use DeptKeyList.ProtoReflect.Descriptor instead.
func (*DeptKeyList) GetDeptId ¶
func (x *DeptKeyList) GetDeptId() []string
func (*DeptKeyList) GetTenant ¶
func (x *DeptKeyList) GetTenant() string
func (*DeptKeyList) ProtoMessage ¶
func (*DeptKeyList) ProtoMessage()
func (*DeptKeyList) ProtoReflect ¶
func (x *DeptKeyList) ProtoReflect() protoreflect.Message
func (*DeptKeyList) Reset ¶
func (x *DeptKeyList) Reset()
func (*DeptKeyList) String ¶
func (x *DeptKeyList) String() string
type DeptList ¶
type DeptList struct { // 当前页内容 Results []*DeptModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
组织机构列表
func (*DeptList) Descriptor
deprecated
func (*DeptList) GetResults ¶
func (*DeptList) ProtoMessage ¶
func (*DeptList) ProtoMessage()
func (*DeptList) ProtoReflect ¶
func (x *DeptList) ProtoReflect() protoreflect.Message
type DeptModel ¶
type DeptModel struct { // 部门ID DeptId string `protobuf:"bytes,1,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"` // 部门编码 DeptCode string `protobuf:"bytes,2,opt,name=dept_code,json=deptCode,proto3" json:"dept_code,omitempty"` // 部门名称 DeptName string `protobuf:"bytes,3,opt,name=dept_name,json=deptName,proto3" json:"dept_name,omitempty"` // 部门类型 DeptType string `protobuf:"bytes,4,opt,name=dept_type,json=deptType,proto3" json:"dept_type,omitempty"` // 父部门 ParentId string `protobuf:"bytes,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 部门描述 Description_ string `protobuf:"bytes,6,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // 深度 Depth_ int32 `protobuf:"varint,7,opt,name=depth_,json=depth,proto3" json:"depth_,omitempty"` // 排序 OrderBy int32 `protobuf:"varint,8,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // 状态 Status_ bool `protobuf:"varint,9,opt,name=status_,json=status,proto3" json:"status_,omitempty"` // 乐观锁 Version_ int32 `protobuf:"varint,10,opt,name=version_,json=version,proto3" json:"version_,omitempty"` // 创建人 CreateBy string `protobuf:"bytes,11,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 创建时间 CreateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 更新人 UpdateBy string `protobuf:"bytes,13,opt,name=update_by,json=updateBy,proto3" json:"update_by,omitempty"` // 更新时间 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // 孩子资源列表 Children []*DeptModel `protobuf:"bytes,15,rep,name=children,proto3" json:"children,omitempty"` // 开放访问 IsOpen bool `protobuf:"varint,16,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` // contains filtered or unexported fields }
组织机构实体
func (*DeptModel) Descriptor
deprecated
func (*DeptModel) GetChildren ¶
func (*DeptModel) GetCreateBy ¶
func (*DeptModel) GetCreateTime ¶
func (x *DeptModel) GetCreateTime() *timestamppb.Timestamp
func (*DeptModel) GetDeptCode ¶
func (*DeptModel) GetDeptName ¶
func (*DeptModel) GetDeptType ¶
func (*DeptModel) GetDescription_ ¶
func (*DeptModel) GetOrderBy ¶
func (*DeptModel) GetParentId ¶
func (*DeptModel) GetStatus_ ¶
func (*DeptModel) GetUpdateBy ¶
func (*DeptModel) GetUpdateTime ¶
func (x *DeptModel) GetUpdateTime() *timestamppb.Timestamp
func (*DeptModel) GetVersion_ ¶
func (*DeptModel) ProtoMessage ¶
func (*DeptModel) ProtoMessage()
func (*DeptModel) ProtoReflect ¶
func (x *DeptModel) ProtoReflect() protoreflect.Message
type DeptModelTotal ¶
type DeptModelTotal struct { // 总记录数 TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
合计
func (*DeptModelTotal) Descriptor
deprecated
func (*DeptModelTotal) Descriptor() ([]byte, []int)
Deprecated: Use DeptModelTotal.ProtoReflect.Descriptor instead.
func (*DeptModelTotal) GetTotalSize ¶
func (x *DeptModelTotal) GetTotalSize() int32
func (*DeptModelTotal) ProtoMessage ¶
func (*DeptModelTotal) ProtoMessage()
func (*DeptModelTotal) ProtoReflect ¶
func (x *DeptModelTotal) ProtoReflect() protoreflect.Message
func (*DeptModelTotal) Reset ¶
func (x *DeptModelTotal) Reset()
func (*DeptModelTotal) String ¶
func (x *DeptModelTotal) String() string
type DeptMoveKey ¶
type DeptMoveKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 部门ID DeptId string `protobuf:"bytes,2,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"` // 是否上移 Up bool `protobuf:"varint,3,opt,name=up,proto3" json:"up,omitempty"` // contains filtered or unexported fields }
上移/下移
func (*DeptMoveKey) Descriptor
deprecated
func (*DeptMoveKey) Descriptor() ([]byte, []int)
Deprecated: Use DeptMoveKey.ProtoReflect.Descriptor instead.
func (*DeptMoveKey) GetDeptId ¶
func (x *DeptMoveKey) GetDeptId() string
func (*DeptMoveKey) GetTenant ¶
func (x *DeptMoveKey) GetTenant() string
func (*DeptMoveKey) GetUp ¶
func (x *DeptMoveKey) GetUp() bool
func (*DeptMoveKey) ProtoMessage ¶
func (*DeptMoveKey) ProtoMessage()
func (*DeptMoveKey) ProtoReflect ¶
func (x *DeptMoveKey) ProtoReflect() protoreflect.Message
func (*DeptMoveKey) Reset ¶
func (x *DeptMoveKey) Reset()
func (*DeptMoveKey) String ¶
func (x *DeptMoveKey) String() string
type DeptPage ¶
type DeptPage struct { // 当前页内容 Results []*DeptModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *DeptModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *DeptModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
组织机构分页
func (*DeptPage) Descriptor
deprecated
func (*DeptPage) GetCurPage ¶
func (*DeptPage) GetPageSize ¶
func (*DeptPage) GetResults ¶
func (*DeptPage) GetSubTotalDto ¶
func (x *DeptPage) GetSubTotalDto() *DeptModelTotal
func (*DeptPage) GetTotalDto ¶
func (x *DeptPage) GetTotalDto() *DeptModelTotal
func (*DeptPage) GetTotalSize ¶
func (*DeptPage) ProtoMessage ¶
func (*DeptPage) ProtoMessage()
func (*DeptPage) ProtoReflect ¶
func (x *DeptPage) ProtoReflect() protoreflect.Message
type DeptReq ¶
type DeptReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 排序名称 OrderName string `protobuf:"bytes,3,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"` // 是否升序排序 OrderAsc bool `protobuf:"varint,4,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"` // 创建人 CreateBy string `protobuf:"bytes,5,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 部门名称 LikeDeptName string `protobuf:"bytes,6,opt,name=like_dept_name,json=likeDeptName,proto3" json:"like_dept_name,omitempty"` // 是否包含状态字段 HasStatus bool `protobuf:"varint,7,opt,name=has_status,json=hasStatus,proto3" json:"has_status,omitempty"` // 部门状态 Status bool `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"` // 需要隐藏的部门 ExcludeId string `protobuf:"bytes,9,opt,name=exclude_id,json=excludeId,proto3" json:"exclude_id,omitempty"` // 上级部门 ParentId string `protobuf:"bytes,10,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 部门类型 DeptType string `protobuf:"bytes,11,opt,name=dept_type,json=deptType,proto3" json:"dept_type,omitempty"` // 是否包含开放访问 HasOpen bool `protobuf:"varint,12,opt,name=has_open,json=hasOpen,proto3" json:"has_open,omitempty"` // 是否开放访问 IsOpen bool `protobuf:"varint,13,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` // contains filtered or unexported fields }
组织机构查询
func (*DeptReq) Descriptor
deprecated
func (*DeptReq) GetCreateBy ¶
func (*DeptReq) GetDeptType ¶
func (*DeptReq) GetExcludeId ¶
func (*DeptReq) GetHasOpen ¶
func (*DeptReq) GetHasStatus ¶
func (*DeptReq) GetLikeDeptName ¶
func (*DeptReq) GetOrderAsc ¶
func (*DeptReq) GetOrderName ¶
func (*DeptReq) GetParentId ¶
func (*DeptReq) ProtoMessage ¶
func (*DeptReq) ProtoMessage()
func (*DeptReq) ProtoReflect ¶
func (x *DeptReq) ProtoReflect() protoreflect.Message
type DeptUpdateReq ¶
type DeptUpdateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 更新字段掩码. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // 部门ID DeptId string `protobuf:"bytes,5,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"` // 部门编码 DeptCode string `protobuf:"bytes,6,opt,name=dept_code,json=deptCode,proto3" json:"dept_code,omitempty"` // 部门名称 DeptName string `protobuf:"bytes,7,opt,name=dept_name,json=deptName,proto3" json:"dept_name,omitempty"` // 部门类型 DeptType string `protobuf:"bytes,8,opt,name=dept_type,json=deptType,proto3" json:"dept_type,omitempty"` // 父部门 ParentId string `protobuf:"bytes,9,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 部门描述 Description_ string `protobuf:"bytes,10,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // 状态 Status_ bool `protobuf:"varint,11,opt,name=status_,json=status,proto3" json:"status_,omitempty"` // 开放访问 IsOpen bool `protobuf:"varint,12,opt,name=is_open,json=isOpen,proto3" json:"is_open,omitempty"` // contains filtered or unexported fields }
组织机构修改实体
func (*DeptUpdateReq) Descriptor
deprecated
func (*DeptUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use DeptUpdateReq.ProtoReflect.Descriptor instead.
func (*DeptUpdateReq) GetDeptCode ¶
func (x *DeptUpdateReq) GetDeptCode() string
func (*DeptUpdateReq) GetDeptId ¶
func (x *DeptUpdateReq) GetDeptId() string
func (*DeptUpdateReq) GetDeptName ¶
func (x *DeptUpdateReq) GetDeptName() string
func (*DeptUpdateReq) GetDeptType ¶
func (x *DeptUpdateReq) GetDeptType() string
func (*DeptUpdateReq) GetDescription_ ¶
func (x *DeptUpdateReq) GetDescription_() string
func (*DeptUpdateReq) GetIsOpen ¶
func (x *DeptUpdateReq) GetIsOpen() bool
func (*DeptUpdateReq) GetParentId ¶
func (x *DeptUpdateReq) GetParentId() string
func (*DeptUpdateReq) GetRequestId ¶
func (x *DeptUpdateReq) GetRequestId() string
func (*DeptUpdateReq) GetStatus_ ¶
func (x *DeptUpdateReq) GetStatus_() bool
func (*DeptUpdateReq) GetTenant ¶
func (x *DeptUpdateReq) GetTenant() string
func (*DeptUpdateReq) GetUpdateMask ¶
func (x *DeptUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*DeptUpdateReq) GetValidateOnly ¶
func (x *DeptUpdateReq) GetValidateOnly() bool
func (*DeptUpdateReq) ProtoMessage ¶
func (*DeptUpdateReq) ProtoMessage()
func (*DeptUpdateReq) ProtoReflect ¶
func (x *DeptUpdateReq) ProtoReflect() protoreflect.Message
func (*DeptUpdateReq) Reset ¶
func (x *DeptUpdateReq) Reset()
func (*DeptUpdateReq) String ¶
func (x *DeptUpdateReq) String() string
type DirectoryListResp ¶
type DirectoryListResp struct { DirectoryId []string `protobuf:"bytes,1,rep,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // contains filtered or unexported fields }
func (*DirectoryListResp) Descriptor
deprecated
func (*DirectoryListResp) Descriptor() ([]byte, []int)
Deprecated: Use DirectoryListResp.ProtoReflect.Descriptor instead.
func (*DirectoryListResp) GetDirectoryId ¶
func (x *DirectoryListResp) GetDirectoryId() []string
func (*DirectoryListResp) ProtoMessage ¶
func (*DirectoryListResp) ProtoMessage()
func (*DirectoryListResp) ProtoReflect ¶
func (x *DirectoryListResp) ProtoReflect() protoreflect.Message
func (*DirectoryListResp) Reset ¶
func (x *DirectoryListResp) Reset()
func (*DirectoryListResp) String ¶
func (x *DirectoryListResp) String() string
type DsdRoleListResp ¶
type DsdRoleListResp struct { RoleList []*RoleModel `protobuf:"bytes,1,rep,name=roleList,proto3" json:"roleList,omitempty"` // contains filtered or unexported fields }
func (*DsdRoleListResp) Descriptor
deprecated
func (*DsdRoleListResp) Descriptor() ([]byte, []int)
Deprecated: Use DsdRoleListResp.ProtoReflect.Descriptor instead.
func (*DsdRoleListResp) GetRoleList ¶
func (x *DsdRoleListResp) GetRoleList() []*RoleModel
func (*DsdRoleListResp) ProtoMessage ¶
func (*DsdRoleListResp) ProtoMessage()
func (*DsdRoleListResp) ProtoReflect ¶
func (x *DsdRoleListResp) ProtoReflect() protoreflect.Message
func (*DsdRoleListResp) Reset ¶
func (x *DsdRoleListResp) Reset()
func (*DsdRoleListResp) String ¶
func (x *DsdRoleListResp) String() string
type DutyType ¶
type DutyType int32
职责分离类型.
func (DutyType) Descriptor ¶
func (DutyType) Descriptor() protoreflect.EnumDescriptor
func (DutyType) EnumDescriptor
deprecated
func (DutyType) Number ¶
func (x DutyType) Number() protoreflect.EnumNumber
func (DutyType) Type ¶
func (DutyType) Type() protoreflect.EnumType
type EnableDeptReq ¶
type EnableDeptReq struct { // 租户 Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 是否启用 Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"` // 部门 DeptId []string `protobuf:"bytes,3,rep,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"` // contains filtered or unexported fields }
func (*EnableDeptReq) Descriptor
deprecated
func (*EnableDeptReq) Descriptor() ([]byte, []int)
Deprecated: Use EnableDeptReq.ProtoReflect.Descriptor instead.
func (*EnableDeptReq) GetDeptId ¶
func (x *EnableDeptReq) GetDeptId() []string
func (*EnableDeptReq) GetEnable ¶
func (x *EnableDeptReq) GetEnable() bool
func (*EnableDeptReq) GetTenant ¶
func (x *EnableDeptReq) GetTenant() string
func (*EnableDeptReq) ProtoMessage ¶
func (*EnableDeptReq) ProtoMessage()
func (*EnableDeptReq) ProtoReflect ¶
func (x *EnableDeptReq) ProtoReflect() protoreflect.Message
func (*EnableDeptReq) Reset ¶
func (x *EnableDeptReq) Reset()
func (*EnableDeptReq) String ¶
func (x *EnableDeptReq) String() string
type EnableUserReq ¶
type EnableUserReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 启用/禁用 Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // 用户Id UserId []string `protobuf:"bytes,3,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
启禁用用户请求.
func (*EnableUserReq) Descriptor
deprecated
func (*EnableUserReq) Descriptor() ([]byte, []int)
Deprecated: Use EnableUserReq.ProtoReflect.Descriptor instead.
func (*EnableUserReq) GetEnabled ¶
func (x *EnableUserReq) GetEnabled() bool
func (*EnableUserReq) GetTenant ¶
func (x *EnableUserReq) GetTenant() string
func (*EnableUserReq) GetUserId ¶
func (x *EnableUserReq) GetUserId() []string
func (*EnableUserReq) ProtoMessage ¶
func (*EnableUserReq) ProtoMessage()
func (*EnableUserReq) ProtoReflect ¶
func (x *EnableUserReq) ProtoReflect() protoreflect.Message
func (*EnableUserReq) Reset ¶
func (x *EnableUserReq) Reset()
func (*EnableUserReq) String ¶
func (x *EnableUserReq) String() string
type JobInfo ¶
type JobInfo struct { JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` DeptId string `protobuf:"bytes,3,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"` DeptName string `protobuf:"bytes,4,opt,name=dept_name,json=deptName,proto3" json:"dept_name,omitempty"` // contains filtered or unexported fields }
func (*JobInfo) Descriptor
deprecated
func (*JobInfo) GetDeptName ¶
func (*JobInfo) GetJobName ¶
func (*JobInfo) ProtoMessage ¶
func (*JobInfo) ProtoMessage()
func (*JobInfo) ProtoReflect ¶
func (x *JobInfo) ProtoReflect() protoreflect.Message
type LockUserReq ¶
type LockUserReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 锁/解锁 Lock bool `protobuf:"varint,2,opt,name=lock,proto3" json:"lock,omitempty"` // 用户Id UserId []string `protobuf:"bytes,3,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
锁/解锁用户请求.
func (*LockUserReq) Descriptor
deprecated
func (*LockUserReq) Descriptor() ([]byte, []int)
Deprecated: Use LockUserReq.ProtoReflect.Descriptor instead.
func (*LockUserReq) GetLock ¶
func (x *LockUserReq) GetLock() bool
func (*LockUserReq) GetTenant ¶
func (x *LockUserReq) GetTenant() string
func (*LockUserReq) GetUserId ¶
func (x *LockUserReq) GetUserId() []string
func (*LockUserReq) ProtoMessage ¶
func (*LockUserReq) ProtoMessage()
func (*LockUserReq) ProtoReflect ¶
func (x *LockUserReq) ProtoReflect() protoreflect.Message
func (*LockUserReq) Reset ¶
func (x *LockUserReq) Reset()
func (*LockUserReq) String ¶
func (x *LockUserReq) String() string
type LogDelReq ¶
type LogDelReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 清理N年前日志功能 Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
清理N年前日志功能
func (*LogDelReq) Descriptor
deprecated
func (*LogDelReq) ProtoMessage ¶
func (*LogDelReq) ProtoMessage()
func (*LogDelReq) ProtoReflect ¶
func (x *LogDelReq) ProtoReflect() protoreflect.Message
type LogExportReq ¶
type LogExportReq struct { // 租户 Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 标题 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // 字段列表 TableHeads []*basic.TableHead `protobuf:"bytes,3,rep,name=table_heads,json=tableHeads,proto3" json:"table_heads,omitempty"` // 显示文件名 FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 筛选条件 Req *LogReq `protobuf:"bytes,5,opt,name=req,proto3" json:"req,omitempty"` // contains filtered or unexported fields }
func (*LogExportReq) Descriptor
deprecated
func (*LogExportReq) Descriptor() ([]byte, []int)
Deprecated: Use LogExportReq.ProtoReflect.Descriptor instead.
func (*LogExportReq) GetFileName ¶
func (x *LogExportReq) GetFileName() string
func (*LogExportReq) GetReq ¶
func (x *LogExportReq) GetReq() *LogReq
func (*LogExportReq) GetTableHeads ¶
func (x *LogExportReq) GetTableHeads() []*basic.TableHead
func (*LogExportReq) GetTenant ¶
func (x *LogExportReq) GetTenant() string
func (*LogExportReq) GetTitle ¶
func (x *LogExportReq) GetTitle() string
func (*LogExportReq) ProtoMessage ¶
func (*LogExportReq) ProtoMessage()
func (*LogExportReq) ProtoReflect ¶
func (x *LogExportReq) ProtoReflect() protoreflect.Message
func (*LogExportReq) Reset ¶
func (x *LogExportReq) Reset()
func (*LogExportReq) String ¶
func (x *LogExportReq) String() string
type LogKey ¶
type LogKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` LogId string `protobuf:"bytes,2,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"` Partition_ int32 `protobuf:"varint,3,opt,name=partition_,json=partition,proto3" json:"partition_,omitempty"` // contains filtered or unexported fields }
操作日志主键
func (*LogKey) Descriptor
deprecated
func (*LogKey) GetPartition_ ¶
func (*LogKey) ProtoMessage ¶
func (*LogKey) ProtoMessage()
func (*LogKey) ProtoReflect ¶
func (x *LogKey) ProtoReflect() protoreflect.Message
type LogKeyList ¶
type LogKeyList struct { LogKey []*LogKey `protobuf:"bytes,1,rep,name=log_key,json=logKey,proto3" json:"log_key,omitempty"` // contains filtered or unexported fields }
操作日志List
func (*LogKeyList) Descriptor
deprecated
func (*LogKeyList) Descriptor() ([]byte, []int)
Deprecated: Use LogKeyList.ProtoReflect.Descriptor instead.
func (*LogKeyList) GetLogKey ¶
func (x *LogKeyList) GetLogKey() []*LogKey
func (*LogKeyList) ProtoMessage ¶
func (*LogKeyList) ProtoMessage()
func (*LogKeyList) ProtoReflect ¶
func (x *LogKeyList) ProtoReflect() protoreflect.Message
func (*LogKeyList) Reset ¶
func (x *LogKeyList) Reset()
func (*LogKeyList) String ¶
func (x *LogKeyList) String() string
type LogList ¶
type LogList struct { // 当前页内容 Results []*LogModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
操作日志列表
func (*LogList) Descriptor
deprecated
func (*LogList) GetResults ¶
func (*LogList) ProtoMessage ¶
func (*LogList) ProtoMessage()
func (*LogList) ProtoReflect ¶
func (x *LogList) ProtoReflect() protoreflect.Message
type LogModel ¶
type LogModel struct { // 日志 LogId string `protobuf:"bytes,1,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"` // 表分区 Partition_ int32 `protobuf:"varint,2,opt,name=partition_,json=partition,proto3" json:"partition_,omitempty"` // 日志名称 LogName string `protobuf:"bytes,3,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"` // 日志级别 LogLevel string `protobuf:"bytes,4,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"` // 日志信息 LogMsg string `protobuf:"bytes,5,opt,name=log_msg,json=logMsg,proto3" json:"log_msg,omitempty"` // 环境参数 EnvProps string `protobuf:"bytes,6,opt,name=env_props,json=envProps,proto3" json:"env_props,omitempty"` // 日志内容 LogContent string `protobuf:"bytes,7,opt,name=log_content,json=logContent,proto3" json:"log_content,omitempty"` // 用户IP UserIp string `protobuf:"bytes,8,opt,name=user_ip,json=userIp,proto3" json:"user_ip,omitempty"` // 代理IP ProxyIp string `protobuf:"bytes,9,opt,name=proxy_ip,json=proxyIp,proto3" json:"proxy_ip,omitempty"` // 创建人/用户ID CreateBy string `protobuf:"bytes,10,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 创建时间/操作时间 CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
操作日志实体
func (*LogModel) Descriptor
deprecated
func (*LogModel) GetCreateBy ¶
func (*LogModel) GetCreateTime ¶
func (x *LogModel) GetCreateTime() *timestamppb.Timestamp
func (*LogModel) GetEnvProps ¶
func (*LogModel) GetLogContent ¶
func (*LogModel) GetLogLevel ¶
func (*LogModel) GetLogName ¶
func (*LogModel) GetPartition_ ¶
func (*LogModel) GetProxyIp ¶
func (*LogModel) ProtoMessage ¶
func (*LogModel) ProtoMessage()
func (*LogModel) ProtoReflect ¶
func (x *LogModel) ProtoReflect() protoreflect.Message
type LogModelTotal ¶
type LogModelTotal struct { // 总记录数 TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
合计
func (*LogModelTotal) Descriptor
deprecated
func (*LogModelTotal) Descriptor() ([]byte, []int)
Deprecated: Use LogModelTotal.ProtoReflect.Descriptor instead.
func (*LogModelTotal) GetTotalSize ¶
func (x *LogModelTotal) GetTotalSize() int32
func (*LogModelTotal) ProtoMessage ¶
func (*LogModelTotal) ProtoMessage()
func (*LogModelTotal) ProtoReflect ¶
func (x *LogModelTotal) ProtoReflect() protoreflect.Message
func (*LogModelTotal) Reset ¶
func (x *LogModelTotal) Reset()
func (*LogModelTotal) String ¶
func (x *LogModelTotal) String() string
type LogPage ¶
type LogPage struct { // 当前页内容 Results []*LogModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *LogModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *LogModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
操作日志分页
func (*LogPage) Descriptor
deprecated
func (*LogPage) GetCurPage ¶
func (*LogPage) GetPageSize ¶
func (*LogPage) GetResults ¶
func (*LogPage) GetSubTotalDto ¶
func (x *LogPage) GetSubTotalDto() *LogModelTotal
func (*LogPage) GetTotalDto ¶
func (x *LogPage) GetTotalDto() *LogModelTotal
func (*LogPage) GetTotalSize ¶
func (*LogPage) ProtoMessage ¶
func (*LogPage) ProtoMessage()
func (*LogPage) ProtoReflect ¶
func (x *LogPage) ProtoReflect() protoreflect.Message
type LogReq ¶
type LogReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 排序名称 OrderName string `protobuf:"bytes,4,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"` // 是否升序排序 OrderAsc bool `protobuf:"varint,5,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"` // 创建人 CreateBy string `protobuf:"bytes,6,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 创建时间开始 StartCreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_create_time,json=startCreateTime,proto3" json:"start_create_time,omitempty"` // 创建时间结束 EndCreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_create_time,json=endCreateTime,proto3" json:"end_create_time,omitempty"` // 月份 Partition int32 `protobuf:"varint,9,opt,name=partition,proto3" json:"partition,omitempty"` // 日志名称 LikeLogName string `protobuf:"bytes,10,opt,name=like_log_name,json=likeLogName,proto3" json:"like_log_name,omitempty"` // 日志级别 LogLevel string `protobuf:"bytes,11,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"` // 日志信息 LikeLogMsg string `protobuf:"bytes,12,opt,name=like_log_msg,json=likeLogMsg,proto3" json:"like_log_msg,omitempty"` // contains filtered or unexported fields }
操作日志查询
func (*LogReq) Descriptor
deprecated
func (*LogReq) GetCreateBy ¶
func (*LogReq) GetCurPage ¶
func (*LogReq) GetEndCreateTime ¶
func (x *LogReq) GetEndCreateTime() *timestamppb.Timestamp
func (*LogReq) GetLikeLogMsg ¶
func (*LogReq) GetLikeLogName ¶
func (*LogReq) GetLogLevel ¶
func (*LogReq) GetOrderAsc ¶
func (*LogReq) GetOrderName ¶
func (*LogReq) GetPageSize ¶
func (*LogReq) GetPartition ¶
func (*LogReq) GetStartCreateTime ¶
func (x *LogReq) GetStartCreateTime() *timestamppb.Timestamp
func (*LogReq) ProtoMessage ¶
func (*LogReq) ProtoMessage()
func (*LogReq) ProtoReflect ¶
func (x *LogReq) ProtoReflect() protoreflect.Message
type LoginReq ¶
type LoginReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 目录ID DirectoryId string `protobuf:"bytes,2,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // 登录用户. UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // 加密密钥. EncodePwd string `protobuf:"bytes,4,opt,name=encode_pwd,json=encodePwd,proto3" json:"encode_pwd,omitempty"` // 客户端ID ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // 范围 Scope string `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"` // 验证码ID Captcha ID ticket. CaptchaId string `protobuf:"bytes,7,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` // 用户输入验证码文本. CaptchaCode string `protobuf:"bytes,8,opt,name=captcha_code,json=captchaCode,proto3" json:"captcha_code,omitempty"` // contains filtered or unexported fields }
登录请求.
func (*LoginReq) Descriptor
deprecated
func (*LoginReq) GetCaptchaCode ¶
func (*LoginReq) GetCaptchaId ¶
func (*LoginReq) GetClientId ¶
func (*LoginReq) GetDirectoryId ¶
func (*LoginReq) GetEncodePwd ¶
func (*LoginReq) GetUserName ¶
func (*LoginReq) ProtoMessage ¶
func (*LoginReq) ProtoMessage()
func (*LoginReq) ProtoReflect ¶
func (x *LoginReq) ProtoReflect() protoreflect.Message
type LogoutReq ¶
type LogoutReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 客户端ID ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // 登录用户Token. AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
登出.
func (*LogoutReq) Descriptor
deprecated
func (*LogoutReq) GetAccessToken ¶
func (*LogoutReq) GetClientId ¶
func (*LogoutReq) ProtoMessage ¶
func (*LogoutReq) ProtoMessage()
func (*LogoutReq) ProtoReflect ¶
func (x *LogoutReq) ProtoReflect() protoreflect.Message
type Menu ¶
type Menu struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` ComponentName string `protobuf:"bytes,2,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` Redirect string `protobuf:"bytes,3,opt,name=redirect,proto3" json:"redirect,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Meta *MenuMeta `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"` Children []*Menu `protobuf:"bytes,6,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
菜单
func (*Menu) Descriptor
deprecated
func (*Menu) GetChildren ¶
func (*Menu) GetComponentName ¶
func (*Menu) GetRedirect ¶
func (*Menu) ProtoMessage ¶
func (*Menu) ProtoMessage()
func (*Menu) ProtoReflect ¶
func (x *Menu) ProtoReflect() protoreflect.Message
type MenuList ¶
type MenuList struct { Menus []*Menu `protobuf:"bytes,1,rep,name=menus,proto3" json:"menus,omitempty"` // contains filtered or unexported fields }
菜单列表
func (*MenuList) Descriptor
deprecated
func (*MenuList) ProtoMessage ¶
func (*MenuList) ProtoMessage()
func (*MenuList) ProtoReflect ¶
func (x *MenuList) ProtoReflect() protoreflect.Message
type MenuMeta ¶
type MenuMeta struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"` Hidden bool `protobuf:"varint,4,opt,name=hidden,proto3" json:"hidden,omitempty"` KeepAlive bool `protobuf:"varint,5,opt,name=keep_alive,json=keepAlive,proto3" json:"keep_alive,omitempty"` // contains filtered or unexported fields }
菜单Meta
func (*MenuMeta) Descriptor
deprecated
func (*MenuMeta) GetKeepAlive ¶
func (*MenuMeta) ProtoMessage ¶
func (*MenuMeta) ProtoMessage()
func (*MenuMeta) ProtoReflect ¶
func (x *MenuMeta) ProtoReflect() protoreflect.Message
type MiniAppBindPhoneReq ¶
type MiniAppBindPhoneReq struct { // 租户 Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 手机号code PhoneCode string `protobuf:"bytes,2,opt,name=phone_code,json=phoneCode,proto3" json:"phone_code,omitempty"` // 小程序ID AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // 第三方平台APPID,可选 ComponentAppid string `protobuf:"bytes,4,opt,name=component_appid,json=componentAppid,proto3" json:"component_appid,omitempty"` // contains filtered or unexported fields }
func (*MiniAppBindPhoneReq) Descriptor
deprecated
func (*MiniAppBindPhoneReq) Descriptor() ([]byte, []int)
Deprecated: Use MiniAppBindPhoneReq.ProtoReflect.Descriptor instead.
func (*MiniAppBindPhoneReq) GetAppId ¶
func (x *MiniAppBindPhoneReq) GetAppId() string
func (*MiniAppBindPhoneReq) GetComponentAppid ¶
func (x *MiniAppBindPhoneReq) GetComponentAppid() string
func (*MiniAppBindPhoneReq) GetPhoneCode ¶
func (x *MiniAppBindPhoneReq) GetPhoneCode() string
func (*MiniAppBindPhoneReq) GetTenant ¶
func (x *MiniAppBindPhoneReq) GetTenant() string
func (*MiniAppBindPhoneReq) ProtoMessage ¶
func (*MiniAppBindPhoneReq) ProtoMessage()
func (*MiniAppBindPhoneReq) ProtoReflect ¶
func (x *MiniAppBindPhoneReq) ProtoReflect() protoreflect.Message
func (*MiniAppBindPhoneReq) Reset ¶
func (x *MiniAppBindPhoneReq) Reset()
func (*MiniAppBindPhoneReq) String ¶
func (x *MiniAppBindPhoneReq) String() string
type MiniAppLoginReq ¶
type MiniAppLoginReq struct { // 租户 Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 登录code LoginCode string `protobuf:"bytes,2,opt,name=login_code,json=loginCode,proto3" json:"login_code,omitempty"` // 小程序ID AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // 第三方平台APPID,可选 ComponentAppid string `protobuf:"bytes,4,opt,name=component_appid,json=componentAppid,proto3" json:"component_appid,omitempty"` // contains filtered or unexported fields }
小程序登录请求
func (*MiniAppLoginReq) Descriptor
deprecated
func (*MiniAppLoginReq) Descriptor() ([]byte, []int)
Deprecated: Use MiniAppLoginReq.ProtoReflect.Descriptor instead.
func (*MiniAppLoginReq) GetAppId ¶
func (x *MiniAppLoginReq) GetAppId() string
func (*MiniAppLoginReq) GetComponentAppid ¶
func (x *MiniAppLoginReq) GetComponentAppid() string
func (*MiniAppLoginReq) GetLoginCode ¶
func (x *MiniAppLoginReq) GetLoginCode() string
func (*MiniAppLoginReq) GetTenant ¶
func (x *MiniAppLoginReq) GetTenant() string
func (*MiniAppLoginReq) ProtoMessage ¶
func (*MiniAppLoginReq) ProtoMessage()
func (*MiniAppLoginReq) ProtoReflect ¶
func (x *MiniAppLoginReq) ProtoReflect() protoreflect.Message
func (*MiniAppLoginReq) Reset ¶
func (x *MiniAppLoginReq) Reset()
func (*MiniAppLoginReq) String ¶
func (x *MiniAppLoginReq) String() string
type MiniAppLoginResp ¶
type MiniAppLoginResp struct { // 成功状态 Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // 成功时返回的Token Token *TokenResp `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // 信息 Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
小程序登录响应.
func (*MiniAppLoginResp) Descriptor
deprecated
func (*MiniAppLoginResp) Descriptor() ([]byte, []int)
Deprecated: Use MiniAppLoginResp.ProtoReflect.Descriptor instead.
func (*MiniAppLoginResp) GetMessage ¶
func (x *MiniAppLoginResp) GetMessage() string
func (*MiniAppLoginResp) GetStatus ¶
func (x *MiniAppLoginResp) GetStatus() bool
func (*MiniAppLoginResp) GetToken ¶
func (x *MiniAppLoginResp) GetToken() *TokenResp
func (*MiniAppLoginResp) ProtoMessage ¶
func (*MiniAppLoginResp) ProtoMessage()
func (*MiniAppLoginResp) ProtoReflect ¶
func (x *MiniAppLoginResp) ProtoReflect() protoreflect.Message
func (*MiniAppLoginResp) Reset ¶
func (x *MiniAppLoginResp) Reset()
func (*MiniAppLoginResp) String ¶
func (x *MiniAppLoginResp) String() string
type MiniAppPhoneNumberReq ¶
type MiniAppPhoneNumberReq struct { // 租户 Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 手机号code PhoneCode string `protobuf:"bytes,2,opt,name=phone_code,json=phoneCode,proto3" json:"phone_code,omitempty"` // 登录code LoginCode string `protobuf:"bytes,3,opt,name=login_code,json=loginCode,proto3" json:"login_code,omitempty"` // 小程序ID AppId string `protobuf:"bytes,4,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // 第三方平台APPID,可选 ComponentAppid string `protobuf:"bytes,5,opt,name=component_appid,json=componentAppid,proto3" json:"component_appid,omitempty"` // 昵称 NickName string `protobuf:"bytes,6,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` // contains filtered or unexported fields }
小程序获取手机号请求
func (*MiniAppPhoneNumberReq) Descriptor
deprecated
func (*MiniAppPhoneNumberReq) Descriptor() ([]byte, []int)
Deprecated: Use MiniAppPhoneNumberReq.ProtoReflect.Descriptor instead.
func (*MiniAppPhoneNumberReq) GetAppId ¶
func (x *MiniAppPhoneNumberReq) GetAppId() string
func (*MiniAppPhoneNumberReq) GetComponentAppid ¶
func (x *MiniAppPhoneNumberReq) GetComponentAppid() string
func (*MiniAppPhoneNumberReq) GetLoginCode ¶
func (x *MiniAppPhoneNumberReq) GetLoginCode() string
func (*MiniAppPhoneNumberReq) GetNickName ¶
func (x *MiniAppPhoneNumberReq) GetNickName() string
func (*MiniAppPhoneNumberReq) GetPhoneCode ¶
func (x *MiniAppPhoneNumberReq) GetPhoneCode() string
func (*MiniAppPhoneNumberReq) GetTenant ¶
func (x *MiniAppPhoneNumberReq) GetTenant() string
func (*MiniAppPhoneNumberReq) ProtoMessage ¶
func (*MiniAppPhoneNumberReq) ProtoMessage()
func (*MiniAppPhoneNumberReq) ProtoReflect ¶
func (x *MiniAppPhoneNumberReq) ProtoReflect() protoreflect.Message
func (*MiniAppPhoneNumberReq) Reset ¶
func (x *MiniAppPhoneNumberReq) Reset()
func (*MiniAppPhoneNumberReq) String ¶
func (x *MiniAppPhoneNumberReq) String() string
type ModuleCheck ¶
type ModuleCheck struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 编码 ModuleCode string `protobuf:"bytes,2,opt,name=module_code,json=moduleCode,proto3" json:"module_code,omitempty"` // contains filtered or unexported fields }
模块检查
func (*ModuleCheck) Descriptor
deprecated
func (*ModuleCheck) Descriptor() ([]byte, []int)
Deprecated: Use ModuleCheck.ProtoReflect.Descriptor instead.
func (*ModuleCheck) GetModuleCode ¶
func (x *ModuleCheck) GetModuleCode() string
func (*ModuleCheck) GetTenant ¶
func (x *ModuleCheck) GetTenant() string
func (*ModuleCheck) ProtoMessage ¶
func (*ModuleCheck) ProtoMessage()
func (*ModuleCheck) ProtoReflect ¶
func (x *ModuleCheck) ProtoReflect() protoreflect.Message
func (*ModuleCheck) Reset ¶
func (x *ModuleCheck) Reset()
func (*ModuleCheck) String ¶
func (x *ModuleCheck) String() string
type ModuleCreateReq ¶
type ModuleCreateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 模块编码 ModuleCode string `protobuf:"bytes,4,opt,name=module_code,json=moduleCode,proto3" json:"module_code,omitempty"` // 模块名称 ModuleName string `protobuf:"bytes,5,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` // 模块描述 Description_ string `protobuf:"bytes,6,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // contains filtered or unexported fields }
系统模块新增实体
func (*ModuleCreateReq) Descriptor
deprecated
func (*ModuleCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use ModuleCreateReq.ProtoReflect.Descriptor instead.
func (*ModuleCreateReq) GetDescription_ ¶
func (x *ModuleCreateReq) GetDescription_() string
func (*ModuleCreateReq) GetModuleCode ¶
func (x *ModuleCreateReq) GetModuleCode() string
func (*ModuleCreateReq) GetModuleName ¶
func (x *ModuleCreateReq) GetModuleName() string
func (*ModuleCreateReq) GetRequestId ¶
func (x *ModuleCreateReq) GetRequestId() string
func (*ModuleCreateReq) GetTenant ¶
func (x *ModuleCreateReq) GetTenant() string
func (*ModuleCreateReq) GetValidateOnly ¶
func (x *ModuleCreateReq) GetValidateOnly() bool
func (*ModuleCreateReq) ProtoMessage ¶
func (*ModuleCreateReq) ProtoMessage()
func (*ModuleCreateReq) ProtoReflect ¶
func (x *ModuleCreateReq) ProtoReflect() protoreflect.Message
func (*ModuleCreateReq) Reset ¶
func (x *ModuleCreateReq) Reset()
func (*ModuleCreateReq) String ¶
func (x *ModuleCreateReq) String() string
type ModuleExportReq ¶
type ModuleExportReq struct { // 标题 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // 字段列表 TableHeads []*basic.TableHead `protobuf:"bytes,2,rep,name=table_heads,json=tableHeads,proto3" json:"table_heads,omitempty"` // 显示文件名 FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 筛选条件 Req *ModuleReq `protobuf:"bytes,4,opt,name=req,proto3" json:"req,omitempty"` // contains filtered or unexported fields }
func (*ModuleExportReq) Descriptor
deprecated
func (*ModuleExportReq) Descriptor() ([]byte, []int)
Deprecated: Use ModuleExportReq.ProtoReflect.Descriptor instead.
func (*ModuleExportReq) GetFileName ¶
func (x *ModuleExportReq) GetFileName() string
func (*ModuleExportReq) GetReq ¶
func (x *ModuleExportReq) GetReq() *ModuleReq
func (*ModuleExportReq) GetTableHeads ¶
func (x *ModuleExportReq) GetTableHeads() []*basic.TableHead
func (*ModuleExportReq) GetTitle ¶
func (x *ModuleExportReq) GetTitle() string
func (*ModuleExportReq) ProtoMessage ¶
func (*ModuleExportReq) ProtoMessage()
func (*ModuleExportReq) ProtoReflect ¶
func (x *ModuleExportReq) ProtoReflect() protoreflect.Message
func (*ModuleExportReq) Reset ¶
func (x *ModuleExportReq) Reset()
func (*ModuleExportReq) String ¶
func (x *ModuleExportReq) String() string
type ModuleKey ¶
type ModuleKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 系统模块ID. ModuleId string `protobuf:"bytes,2,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // contains filtered or unexported fields }
系统模块Key.
func (*ModuleKey) Descriptor
deprecated
func (*ModuleKey) GetModuleId ¶
func (*ModuleKey) ProtoMessage ¶
func (*ModuleKey) ProtoMessage()
func (*ModuleKey) ProtoReflect ¶
func (x *ModuleKey) ProtoReflect() protoreflect.Message
type ModuleKeyList ¶
type ModuleKeyList struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 系统模块ID. ModuleId []string `protobuf:"bytes,2,rep,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // contains filtered or unexported fields }
系统模块List
func (*ModuleKeyList) Descriptor
deprecated
func (*ModuleKeyList) Descriptor() ([]byte, []int)
Deprecated: Use ModuleKeyList.ProtoReflect.Descriptor instead.
func (*ModuleKeyList) GetModuleId ¶
func (x *ModuleKeyList) GetModuleId() []string
func (*ModuleKeyList) GetTenant ¶
func (x *ModuleKeyList) GetTenant() string
func (*ModuleKeyList) ProtoMessage ¶
func (*ModuleKeyList) ProtoMessage()
func (*ModuleKeyList) ProtoReflect ¶
func (x *ModuleKeyList) ProtoReflect() protoreflect.Message
func (*ModuleKeyList) Reset ¶
func (x *ModuleKeyList) Reset()
func (*ModuleKeyList) String ¶
func (x *ModuleKeyList) String() string
type ModuleList ¶
type ModuleList struct { // 当前页内容 Results []*ModuleModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
系统模块列表
func (*ModuleList) Descriptor
deprecated
func (*ModuleList) Descriptor() ([]byte, []int)
Deprecated: Use ModuleList.ProtoReflect.Descriptor instead.
func (*ModuleList) GetResults ¶
func (x *ModuleList) GetResults() []*ModuleModel
func (*ModuleList) ProtoMessage ¶
func (*ModuleList) ProtoMessage()
func (*ModuleList) ProtoReflect ¶
func (x *ModuleList) ProtoReflect() protoreflect.Message
func (*ModuleList) Reset ¶
func (x *ModuleList) Reset()
func (*ModuleList) String ¶
func (x *ModuleList) String() string
type ModuleModel ¶
type ModuleModel struct { // 模块ID ModuleId string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // 模块编码 ModuleCode string `protobuf:"bytes,2,opt,name=module_code,json=moduleCode,proto3" json:"module_code,omitempty"` // 模块名称 ModuleName string `protobuf:"bytes,3,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` // 模块排序 OrderBy int32 `protobuf:"varint,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // 模块描述 Description_ string `protobuf:"bytes,5,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // contains filtered or unexported fields }
系统模块实体
func (*ModuleModel) Descriptor
deprecated
func (*ModuleModel) Descriptor() ([]byte, []int)
Deprecated: Use ModuleModel.ProtoReflect.Descriptor instead.
func (*ModuleModel) GetDescription_ ¶
func (x *ModuleModel) GetDescription_() string
func (*ModuleModel) GetModuleCode ¶
func (x *ModuleModel) GetModuleCode() string
func (*ModuleModel) GetModuleId ¶
func (x *ModuleModel) GetModuleId() string
func (*ModuleModel) GetModuleName ¶
func (x *ModuleModel) GetModuleName() string
func (*ModuleModel) GetOrderBy ¶
func (x *ModuleModel) GetOrderBy() int32
func (*ModuleModel) ProtoMessage ¶
func (*ModuleModel) ProtoMessage()
func (*ModuleModel) ProtoReflect ¶
func (x *ModuleModel) ProtoReflect() protoreflect.Message
func (*ModuleModel) Reset ¶
func (x *ModuleModel) Reset()
func (*ModuleModel) String ¶
func (x *ModuleModel) String() string
type ModuleModelTotal ¶
type ModuleModelTotal struct { // 总记录数 TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
合计
func (*ModuleModelTotal) Descriptor
deprecated
func (*ModuleModelTotal) Descriptor() ([]byte, []int)
Deprecated: Use ModuleModelTotal.ProtoReflect.Descriptor instead.
func (*ModuleModelTotal) GetTotalSize ¶
func (x *ModuleModelTotal) GetTotalSize() int32
func (*ModuleModelTotal) ProtoMessage ¶
func (*ModuleModelTotal) ProtoMessage()
func (*ModuleModelTotal) ProtoReflect ¶
func (x *ModuleModelTotal) ProtoReflect() protoreflect.Message
func (*ModuleModelTotal) Reset ¶
func (x *ModuleModelTotal) Reset()
func (*ModuleModelTotal) String ¶
func (x *ModuleModelTotal) String() string
type ModuleMoveKey ¶
type ModuleMoveKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 系统模块ID. ModuleId string `protobuf:"bytes,2,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // 是否上移 Up bool `protobuf:"varint,3,opt,name=up,proto3" json:"up,omitempty"` // contains filtered or unexported fields }
上移/下移.
func (*ModuleMoveKey) Descriptor
deprecated
func (*ModuleMoveKey) Descriptor() ([]byte, []int)
Deprecated: Use ModuleMoveKey.ProtoReflect.Descriptor instead.
func (*ModuleMoveKey) GetModuleId ¶
func (x *ModuleMoveKey) GetModuleId() string
func (*ModuleMoveKey) GetTenant ¶
func (x *ModuleMoveKey) GetTenant() string
func (*ModuleMoveKey) GetUp ¶
func (x *ModuleMoveKey) GetUp() bool
func (*ModuleMoveKey) ProtoMessage ¶
func (*ModuleMoveKey) ProtoMessage()
func (*ModuleMoveKey) ProtoReflect ¶
func (x *ModuleMoveKey) ProtoReflect() protoreflect.Message
func (*ModuleMoveKey) Reset ¶
func (x *ModuleMoveKey) Reset()
func (*ModuleMoveKey) String ¶
func (x *ModuleMoveKey) String() string
type ModulePage ¶
type ModulePage struct { // 当前页内容 Results []*ModuleModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *ModuleModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *ModuleModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
系统模块分页
func (*ModulePage) Descriptor
deprecated
func (*ModulePage) Descriptor() ([]byte, []int)
Deprecated: Use ModulePage.ProtoReflect.Descriptor instead.
func (*ModulePage) GetCurPage ¶
func (x *ModulePage) GetCurPage() int32
func (*ModulePage) GetPageSize ¶
func (x *ModulePage) GetPageSize() int32
func (*ModulePage) GetResults ¶
func (x *ModulePage) GetResults() []*ModuleModel
func (*ModulePage) GetSubTotalDto ¶
func (x *ModulePage) GetSubTotalDto() *ModuleModelTotal
func (*ModulePage) GetTotalDto ¶
func (x *ModulePage) GetTotalDto() *ModuleModelTotal
func (*ModulePage) GetTotalSize ¶
func (x *ModulePage) GetTotalSize() int32
func (*ModulePage) ProtoMessage ¶
func (*ModulePage) ProtoMessage()
func (*ModulePage) ProtoReflect ¶
func (x *ModulePage) ProtoReflect() protoreflect.Message
func (*ModulePage) Reset ¶
func (x *ModulePage) Reset()
func (*ModulePage) String ¶
func (x *ModulePage) String() string
type ModuleReq ¶
type ModuleReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 模块编码 ModuleCode string `protobuf:"bytes,4,opt,name=module_code,json=moduleCode,proto3" json:"module_code,omitempty"` // 模块名称 LikeModuleName string `protobuf:"bytes,5,opt,name=like_module_name,json=likeModuleName,proto3" json:"like_module_name,omitempty"` // 排序名称 OrderName string `protobuf:"bytes,6,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"` // 是否升序排序 OrderAsc bool `protobuf:"varint,7,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"` // contains filtered or unexported fields }
系统模块查询
func (*ModuleReq) Descriptor
deprecated
func (*ModuleReq) GetCurPage ¶
func (*ModuleReq) GetLikeModuleName ¶
func (*ModuleReq) GetModuleCode ¶
func (*ModuleReq) GetOrderAsc ¶
func (*ModuleReq) GetOrderName ¶
func (*ModuleReq) GetPageSize ¶
func (*ModuleReq) ProtoMessage ¶
func (*ModuleReq) ProtoMessage()
func (*ModuleReq) ProtoReflect ¶
func (x *ModuleReq) ProtoReflect() protoreflect.Message
type ModuleUpdateReq ¶
type ModuleUpdateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 更新字段掩码. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // 模块ID ModuleId string `protobuf:"bytes,5,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // 模块编码 ModuleCode string `protobuf:"bytes,6,opt,name=module_code,json=moduleCode,proto3" json:"module_code,omitempty"` // 模块名称 ModuleName string `protobuf:"bytes,7,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` // 模块描述 Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // contains filtered or unexported fields }
系统模块修改实体
func (*ModuleUpdateReq) Descriptor
deprecated
func (*ModuleUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use ModuleUpdateReq.ProtoReflect.Descriptor instead.
func (*ModuleUpdateReq) GetDescription_ ¶
func (x *ModuleUpdateReq) GetDescription_() string
func (*ModuleUpdateReq) GetModuleCode ¶
func (x *ModuleUpdateReq) GetModuleCode() string
func (*ModuleUpdateReq) GetModuleId ¶
func (x *ModuleUpdateReq) GetModuleId() string
func (*ModuleUpdateReq) GetModuleName ¶
func (x *ModuleUpdateReq) GetModuleName() string
func (*ModuleUpdateReq) GetRequestId ¶
func (x *ModuleUpdateReq) GetRequestId() string
func (*ModuleUpdateReq) GetTenant ¶
func (x *ModuleUpdateReq) GetTenant() string
func (*ModuleUpdateReq) GetUpdateMask ¶
func (x *ModuleUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*ModuleUpdateReq) GetValidateOnly ¶
func (x *ModuleUpdateReq) GetValidateOnly() bool
func (*ModuleUpdateReq) ProtoMessage ¶
func (*ModuleUpdateReq) ProtoMessage()
func (*ModuleUpdateReq) ProtoReflect ¶
func (x *ModuleUpdateReq) ProtoReflect() protoreflect.Message
func (*ModuleUpdateReq) Reset ¶
func (x *ModuleUpdateReq) Reset()
func (*ModuleUpdateReq) String ¶
func (x *ModuleUpdateReq) String() string
type OpenAppCreateReq ¶
type OpenAppCreateReq struct { Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 应用ID AppId string `protobuf:"bytes,4,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // 应用名称 AppName string `protobuf:"bytes,5,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` // 三方OpenID Type OpenType OpensType `protobuf:"varint,6,opt,name=open_type,json=openType,proto3,enum=jmash.rbac.OpensType" json:"open_type,omitempty"` // 密钥(加密存储) AppSecret string `protobuf:"bytes,7,opt,name=app_secret,json=appSecret,proto3" json:"app_secret,omitempty"` // 描述 Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // contains filtered or unexported fields }
开发平台应用新增实体
func (*OpenAppCreateReq) Descriptor
deprecated
func (*OpenAppCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use OpenAppCreateReq.ProtoReflect.Descriptor instead.
func (*OpenAppCreateReq) GetAppId ¶
func (x *OpenAppCreateReq) GetAppId() string
func (*OpenAppCreateReq) GetAppName ¶
func (x *OpenAppCreateReq) GetAppName() string
func (*OpenAppCreateReq) GetAppSecret ¶
func (x *OpenAppCreateReq) GetAppSecret() string
func (*OpenAppCreateReq) GetDescription_ ¶
func (x *OpenAppCreateReq) GetDescription_() string
func (*OpenAppCreateReq) GetOpenType ¶
func (x *OpenAppCreateReq) GetOpenType() OpensType
func (*OpenAppCreateReq) GetRequestId ¶
func (x *OpenAppCreateReq) GetRequestId() string
func (*OpenAppCreateReq) GetTenant ¶
func (x *OpenAppCreateReq) GetTenant() string
func (*OpenAppCreateReq) GetValidateOnly ¶
func (x *OpenAppCreateReq) GetValidateOnly() bool
func (*OpenAppCreateReq) ProtoMessage ¶
func (*OpenAppCreateReq) ProtoMessage()
func (*OpenAppCreateReq) ProtoReflect ¶
func (x *OpenAppCreateReq) ProtoReflect() protoreflect.Message
func (*OpenAppCreateReq) Reset ¶
func (x *OpenAppCreateReq) Reset()
func (*OpenAppCreateReq) String ¶
func (x *OpenAppCreateReq) String() string
type OpenAppKey ¶
type OpenAppKey struct { Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` OpenAppId string `protobuf:"bytes,2,opt,name=open_app_id,json=openAppId,proto3" json:"open_app_id,omitempty"` // contains filtered or unexported fields }
开发平台应用主键
func (*OpenAppKey) Descriptor
deprecated
func (*OpenAppKey) Descriptor() ([]byte, []int)
Deprecated: Use OpenAppKey.ProtoReflect.Descriptor instead.
func (*OpenAppKey) GetOpenAppId ¶
func (x *OpenAppKey) GetOpenAppId() string
func (*OpenAppKey) GetTenant ¶
func (x *OpenAppKey) GetTenant() string
func (*OpenAppKey) ProtoMessage ¶
func (*OpenAppKey) ProtoMessage()
func (*OpenAppKey) ProtoReflect ¶
func (x *OpenAppKey) ProtoReflect() protoreflect.Message
func (*OpenAppKey) Reset ¶
func (x *OpenAppKey) Reset()
func (*OpenAppKey) String ¶
func (x *OpenAppKey) String() string
type OpenAppKeyList ¶
type OpenAppKeyList struct { Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` OpenAppId []string `protobuf:"bytes,2,rep,name=open_app_id,json=openAppId,proto3" json:"open_app_id,omitempty"` // contains filtered or unexported fields }
开发平台应用List
func (*OpenAppKeyList) Descriptor
deprecated
func (*OpenAppKeyList) Descriptor() ([]byte, []int)
Deprecated: Use OpenAppKeyList.ProtoReflect.Descriptor instead.
func (*OpenAppKeyList) GetOpenAppId ¶
func (x *OpenAppKeyList) GetOpenAppId() []string
func (*OpenAppKeyList) GetTenant ¶
func (x *OpenAppKeyList) GetTenant() string
func (*OpenAppKeyList) ProtoMessage ¶
func (*OpenAppKeyList) ProtoMessage()
func (*OpenAppKeyList) ProtoReflect ¶
func (x *OpenAppKeyList) ProtoReflect() protoreflect.Message
func (*OpenAppKeyList) Reset ¶
func (x *OpenAppKeyList) Reset()
func (*OpenAppKeyList) String ¶
func (x *OpenAppKeyList) String() string
type OpenAppList ¶
type OpenAppList struct { // 当前页内容 Results []*OpenAppModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
开发平台应用列表
func (*OpenAppList) Descriptor
deprecated
func (*OpenAppList) Descriptor() ([]byte, []int)
Deprecated: Use OpenAppList.ProtoReflect.Descriptor instead.
func (*OpenAppList) GetResults ¶
func (x *OpenAppList) GetResults() []*OpenAppModel
func (*OpenAppList) ProtoMessage ¶
func (*OpenAppList) ProtoMessage()
func (*OpenAppList) ProtoReflect ¶
func (x *OpenAppList) ProtoReflect() protoreflect.Message
func (*OpenAppList) Reset ¶
func (x *OpenAppList) Reset()
func (*OpenAppList) String ¶
func (x *OpenAppList) String() string
type OpenAppModel ¶
type OpenAppModel struct { // 开放应用ID OpenAppId string `protobuf:"bytes,1,opt,name=open_app_id,json=openAppId,proto3" json:"open_app_id,omitempty"` // 应用ID AppId string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // 应用名称 AppName string `protobuf:"bytes,3,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` // 三方OpenID Type OpenType string `protobuf:"bytes,4,opt,name=open_type,json=openType,proto3" json:"open_type,omitempty"` // 密钥(加密存储) AppSecret string `protobuf:"bytes,5,opt,name=app_secret,json=appSecret,proto3" json:"app_secret,omitempty"` // 描述 Description_ string `protobuf:"bytes,6,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // contains filtered or unexported fields }
开发平台应用实体
func (*OpenAppModel) Descriptor
deprecated
func (*OpenAppModel) Descriptor() ([]byte, []int)
Deprecated: Use OpenAppModel.ProtoReflect.Descriptor instead.
func (*OpenAppModel) GetAppId ¶
func (x *OpenAppModel) GetAppId() string
func (*OpenAppModel) GetAppName ¶
func (x *OpenAppModel) GetAppName() string
func (*OpenAppModel) GetAppSecret ¶
func (x *OpenAppModel) GetAppSecret() string
func (*OpenAppModel) GetDescription_ ¶
func (x *OpenAppModel) GetDescription_() string
func (*OpenAppModel) GetOpenAppId ¶
func (x *OpenAppModel) GetOpenAppId() string
func (*OpenAppModel) GetOpenType ¶
func (x *OpenAppModel) GetOpenType() string
func (*OpenAppModel) ProtoMessage ¶
func (*OpenAppModel) ProtoMessage()
func (*OpenAppModel) ProtoReflect ¶
func (x *OpenAppModel) ProtoReflect() protoreflect.Message
func (*OpenAppModel) Reset ¶
func (x *OpenAppModel) Reset()
func (*OpenAppModel) String ¶
func (x *OpenAppModel) String() string
type OpenAppModelTotal ¶
type OpenAppModelTotal struct { // 总记录数 TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
合计
func (*OpenAppModelTotal) Descriptor
deprecated
func (*OpenAppModelTotal) Descriptor() ([]byte, []int)
Deprecated: Use OpenAppModelTotal.ProtoReflect.Descriptor instead.
func (*OpenAppModelTotal) GetTotalSize ¶
func (x *OpenAppModelTotal) GetTotalSize() int32
func (*OpenAppModelTotal) ProtoMessage ¶
func (*OpenAppModelTotal) ProtoMessage()
func (*OpenAppModelTotal) ProtoReflect ¶
func (x *OpenAppModelTotal) ProtoReflect() protoreflect.Message
func (*OpenAppModelTotal) Reset ¶
func (x *OpenAppModelTotal) Reset()
func (*OpenAppModelTotal) String ¶
func (x *OpenAppModelTotal) String() string
type OpenAppPage ¶
type OpenAppPage struct { // 当前页内容 Results []*OpenAppModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *OpenAppModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *OpenAppModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
开发平台应用分页
func (*OpenAppPage) Descriptor
deprecated
func (*OpenAppPage) Descriptor() ([]byte, []int)
Deprecated: Use OpenAppPage.ProtoReflect.Descriptor instead.
func (*OpenAppPage) GetCurPage ¶
func (x *OpenAppPage) GetCurPage() int32
func (*OpenAppPage) GetPageSize ¶
func (x *OpenAppPage) GetPageSize() int32
func (*OpenAppPage) GetResults ¶
func (x *OpenAppPage) GetResults() []*OpenAppModel
func (*OpenAppPage) GetSubTotalDto ¶
func (x *OpenAppPage) GetSubTotalDto() *OpenAppModelTotal
func (*OpenAppPage) GetTotalDto ¶
func (x *OpenAppPage) GetTotalDto() *OpenAppModelTotal
func (*OpenAppPage) GetTotalSize ¶
func (x *OpenAppPage) GetTotalSize() int32
func (*OpenAppPage) ProtoMessage ¶
func (*OpenAppPage) ProtoMessage()
func (*OpenAppPage) ProtoReflect ¶
func (x *OpenAppPage) ProtoReflect() protoreflect.Message
func (*OpenAppPage) Reset ¶
func (x *OpenAppPage) Reset()
func (*OpenAppPage) String ¶
func (x *OpenAppPage) String() string
type OpenAppReq ¶
type OpenAppReq struct { Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 排序名称 OrderName string `protobuf:"bytes,4,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"` // 是否升序排序 OrderAsc bool `protobuf:"varint,5,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"` // contains filtered or unexported fields }
开发平台应用查询
func (*OpenAppReq) Descriptor
deprecated
func (*OpenAppReq) Descriptor() ([]byte, []int)
Deprecated: Use OpenAppReq.ProtoReflect.Descriptor instead.
func (*OpenAppReq) GetCurPage ¶
func (x *OpenAppReq) GetCurPage() int32
func (*OpenAppReq) GetOrderAsc ¶
func (x *OpenAppReq) GetOrderAsc() bool
func (*OpenAppReq) GetOrderName ¶
func (x *OpenAppReq) GetOrderName() string
func (*OpenAppReq) GetPageSize ¶
func (x *OpenAppReq) GetPageSize() int32
func (*OpenAppReq) GetTenant ¶
func (x *OpenAppReq) GetTenant() string
func (*OpenAppReq) ProtoMessage ¶
func (*OpenAppReq) ProtoMessage()
func (*OpenAppReq) ProtoReflect ¶
func (x *OpenAppReq) ProtoReflect() protoreflect.Message
func (*OpenAppReq) Reset ¶
func (x *OpenAppReq) Reset()
func (*OpenAppReq) String ¶
func (x *OpenAppReq) String() string
type OpenAppUpdateReq ¶
type OpenAppUpdateReq struct { Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 更新字段掩码. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // 开放应用ID OpenAppId string `protobuf:"bytes,5,opt,name=open_app_id,json=openAppId,proto3" json:"open_app_id,omitempty"` // 应用ID AppId string `protobuf:"bytes,6,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // 应用名称 AppName string `protobuf:"bytes,7,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` // 三方OpenID Type OpenType string `protobuf:"bytes,8,opt,name=open_type,json=openType,proto3" json:"open_type,omitempty"` // 密钥(加密存储) AppSecret string `protobuf:"bytes,9,opt,name=app_secret,json=appSecret,proto3" json:"app_secret,omitempty"` // 描述 Description_ string `protobuf:"bytes,10,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // contains filtered or unexported fields }
开发平台应用修改实体
func (*OpenAppUpdateReq) Descriptor
deprecated
func (*OpenAppUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use OpenAppUpdateReq.ProtoReflect.Descriptor instead.
func (*OpenAppUpdateReq) GetAppId ¶
func (x *OpenAppUpdateReq) GetAppId() string
func (*OpenAppUpdateReq) GetAppName ¶
func (x *OpenAppUpdateReq) GetAppName() string
func (*OpenAppUpdateReq) GetAppSecret ¶
func (x *OpenAppUpdateReq) GetAppSecret() string
func (*OpenAppUpdateReq) GetDescription_ ¶
func (x *OpenAppUpdateReq) GetDescription_() string
func (*OpenAppUpdateReq) GetOpenAppId ¶
func (x *OpenAppUpdateReq) GetOpenAppId() string
func (*OpenAppUpdateReq) GetOpenType ¶
func (x *OpenAppUpdateReq) GetOpenType() string
func (*OpenAppUpdateReq) GetRequestId ¶
func (x *OpenAppUpdateReq) GetRequestId() string
func (*OpenAppUpdateReq) GetTenant ¶
func (x *OpenAppUpdateReq) GetTenant() string
func (*OpenAppUpdateReq) GetUpdateMask ¶
func (x *OpenAppUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*OpenAppUpdateReq) GetValidateOnly ¶
func (x *OpenAppUpdateReq) GetValidateOnly() bool
func (*OpenAppUpdateReq) ProtoMessage ¶
func (*OpenAppUpdateReq) ProtoMessage()
func (*OpenAppUpdateReq) ProtoReflect ¶
func (x *OpenAppUpdateReq) ProtoReflect() protoreflect.Message
func (*OpenAppUpdateReq) Reset ¶
func (x *OpenAppUpdateReq) Reset()
func (*OpenAppUpdateReq) String ¶
func (x *OpenAppUpdateReq) String() string
type OpensKey ¶
type OpensKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` AppId string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` OpenId string `protobuf:"bytes,4,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"` // contains filtered or unexported fields }
三方登录主键
func (*OpensKey) Descriptor
deprecated
func (*OpensKey) ProtoMessage ¶
func (*OpensKey) ProtoMessage()
func (*OpensKey) ProtoReflect ¶
func (x *OpensKey) ProtoReflect() protoreflect.Message
type OpensKeyList ¶
type OpensKeyList struct { OpensKey []*OpensKey `protobuf:"bytes,1,rep,name=opens_key,json=opensKey,proto3" json:"opens_key,omitempty"` // contains filtered or unexported fields }
三方登录List
func (*OpensKeyList) Descriptor
deprecated
func (*OpensKeyList) Descriptor() ([]byte, []int)
Deprecated: Use OpensKeyList.ProtoReflect.Descriptor instead.
func (*OpensKeyList) GetOpensKey ¶
func (x *OpensKeyList) GetOpensKey() []*OpensKey
func (*OpensKeyList) ProtoMessage ¶
func (*OpensKeyList) ProtoMessage()
func (*OpensKeyList) ProtoReflect ¶
func (x *OpensKeyList) ProtoReflect() protoreflect.Message
func (*OpensKeyList) Reset ¶
func (x *OpensKeyList) Reset()
func (*OpensKeyList) String ¶
func (x *OpensKeyList) String() string
type OpensList ¶
type OpensList struct { // 当前页内容 Results []*OpensModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
三方登录列表
func (*OpensList) Descriptor
deprecated
func (*OpensList) GetResults ¶
func (x *OpensList) GetResults() []*OpensModel
func (*OpensList) ProtoMessage ¶
func (*OpensList) ProtoMessage()
func (*OpensList) ProtoReflect ¶
func (x *OpensList) ProtoReflect() protoreflect.Message
type OpensModel ¶
type OpensModel struct { // OpenID OpenId string `protobuf:"bytes,1,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"` // 账号ID UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 应用ID AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // 唯一ID UnionId string `protobuf:"bytes,4,opt,name=union_id,json=unionId,proto3" json:"union_id,omitempty"` // 昵称 NickName string `protobuf:"bytes,5,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` // 三方OpenID Type OpenType OpensType `protobuf:"varint,6,opt,name=open_type,json=openType,proto3,enum=jmash.rbac.OpensType" json:"open_type,omitempty"` // 创建人 CreateBy string `protobuf:"bytes,8,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 创建时间 CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 更新人 UpdateBy string `protobuf:"bytes,10,opt,name=update_by,json=updateBy,proto3" json:"update_by,omitempty"` // 更新时间 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
三方登录实体
func (*OpensModel) Descriptor
deprecated
func (*OpensModel) Descriptor() ([]byte, []int)
Deprecated: Use OpensModel.ProtoReflect.Descriptor instead.
func (*OpensModel) GetAppId ¶
func (x *OpensModel) GetAppId() string
func (*OpensModel) GetCreateBy ¶
func (x *OpensModel) GetCreateBy() string
func (*OpensModel) GetCreateTime ¶
func (x *OpensModel) GetCreateTime() *timestamppb.Timestamp
func (*OpensModel) GetNickName ¶
func (x *OpensModel) GetNickName() string
func (*OpensModel) GetOpenId ¶
func (x *OpensModel) GetOpenId() string
func (*OpensModel) GetOpenType ¶
func (x *OpensModel) GetOpenType() OpensType
func (*OpensModel) GetUnionId ¶
func (x *OpensModel) GetUnionId() string
func (*OpensModel) GetUpdateBy ¶
func (x *OpensModel) GetUpdateBy() string
func (*OpensModel) GetUpdateTime ¶
func (x *OpensModel) GetUpdateTime() *timestamppb.Timestamp
func (*OpensModel) GetUserId ¶
func (x *OpensModel) GetUserId() string
func (*OpensModel) ProtoMessage ¶
func (*OpensModel) ProtoMessage()
func (*OpensModel) ProtoReflect ¶
func (x *OpensModel) ProtoReflect() protoreflect.Message
func (*OpensModel) Reset ¶
func (x *OpensModel) Reset()
func (*OpensModel) String ¶
func (x *OpensModel) String() string
type OpensModelTotal ¶
type OpensModelTotal struct { // 总记录数 TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
合计
func (*OpensModelTotal) Descriptor
deprecated
func (*OpensModelTotal) Descriptor() ([]byte, []int)
Deprecated: Use OpensModelTotal.ProtoReflect.Descriptor instead.
func (*OpensModelTotal) GetTotalSize ¶
func (x *OpensModelTotal) GetTotalSize() int32
func (*OpensModelTotal) ProtoMessage ¶
func (*OpensModelTotal) ProtoMessage()
func (*OpensModelTotal) ProtoReflect ¶
func (x *OpensModelTotal) ProtoReflect() protoreflect.Message
func (*OpensModelTotal) Reset ¶
func (x *OpensModelTotal) Reset()
func (*OpensModelTotal) String ¶
func (x *OpensModelTotal) String() string
type OpensPage ¶
type OpensPage struct { // 当前页内容 Results []*OpensModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *OpensModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *OpensModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
三方登录分页
func (*OpensPage) Descriptor
deprecated
func (*OpensPage) GetCurPage ¶
func (*OpensPage) GetPageSize ¶
func (*OpensPage) GetResults ¶
func (x *OpensPage) GetResults() []*OpensModel
func (*OpensPage) GetSubTotalDto ¶
func (x *OpensPage) GetSubTotalDto() *OpensModelTotal
func (*OpensPage) GetTotalDto ¶
func (x *OpensPage) GetTotalDto() *OpensModelTotal
func (*OpensPage) GetTotalSize ¶
func (*OpensPage) ProtoMessage ¶
func (*OpensPage) ProtoMessage()
func (*OpensPage) ProtoReflect ¶
func (x *OpensPage) ProtoReflect() protoreflect.Message
type OpensReq ¶
type OpensReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 账号ID UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 排序名称 OrderName string `protobuf:"bytes,3,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"` // 是否升序排序 OrderAsc bool `protobuf:"varint,4,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"` // contains filtered or unexported fields }
三方登录查询
func (*OpensReq) Descriptor
deprecated
func (*OpensReq) GetOrderAsc ¶
func (*OpensReq) GetOrderName ¶
func (*OpensReq) ProtoMessage ¶
func (*OpensReq) ProtoMessage()
func (*OpensReq) ProtoReflect ¶
func (x *OpensReq) ProtoReflect() protoreflect.Message
type OpensType ¶
type OpensType int32
三方OpenID Type枚举
func (OpensType) Descriptor ¶
func (OpensType) Descriptor() protoreflect.EnumDescriptor
func (OpensType) EnumDescriptor
deprecated
func (OpensType) Number ¶
func (x OpensType) Number() protoreflect.EnumNumber
func (OpensType) Type ¶
func (OpensType) Type() protoreflect.EnumType
type OperationCheck ¶
type OperationCheck struct { // 租户 Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 操作编码 OperationCode string `protobuf:"bytes,2,opt,name=operation_code,json=operationCode,proto3" json:"operation_code,omitempty"` // contains filtered or unexported fields }
操作校验
func (*OperationCheck) Descriptor
deprecated
func (*OperationCheck) Descriptor() ([]byte, []int)
Deprecated: Use OperationCheck.ProtoReflect.Descriptor instead.
func (*OperationCheck) GetOperationCode ¶
func (x *OperationCheck) GetOperationCode() string
func (*OperationCheck) GetTenant ¶
func (x *OperationCheck) GetTenant() string
func (*OperationCheck) ProtoMessage ¶
func (*OperationCheck) ProtoMessage()
func (*OperationCheck) ProtoReflect ¶
func (x *OperationCheck) ProtoReflect() protoreflect.Message
func (*OperationCheck) Reset ¶
func (x *OperationCheck) Reset()
func (*OperationCheck) String ¶
func (x *OperationCheck) String() string
type OperationCreateReq ¶
type OperationCreateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 操作编码 OperationCode string `protobuf:"bytes,4,opt,name=operation_code,json=operationCode,proto3" json:"operation_code,omitempty"` // 操作名称 OperationName string `protobuf:"bytes,5,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` // contains filtered or unexported fields }
操作表新增实体
func (*OperationCreateReq) Descriptor
deprecated
func (*OperationCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use OperationCreateReq.ProtoReflect.Descriptor instead.
func (*OperationCreateReq) GetOperationCode ¶
func (x *OperationCreateReq) GetOperationCode() string
func (*OperationCreateReq) GetOperationName ¶
func (x *OperationCreateReq) GetOperationName() string
func (*OperationCreateReq) GetRequestId ¶
func (x *OperationCreateReq) GetRequestId() string
func (*OperationCreateReq) GetTenant ¶
func (x *OperationCreateReq) GetTenant() string
func (*OperationCreateReq) GetValidateOnly ¶
func (x *OperationCreateReq) GetValidateOnly() bool
func (*OperationCreateReq) ProtoMessage ¶
func (*OperationCreateReq) ProtoMessage()
func (*OperationCreateReq) ProtoReflect ¶
func (x *OperationCreateReq) ProtoReflect() protoreflect.Message
func (*OperationCreateReq) Reset ¶
func (x *OperationCreateReq) Reset()
func (*OperationCreateReq) String ¶
func (x *OperationCreateReq) String() string
type OperationExportReq ¶
type OperationExportReq struct { // 标题 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // 字段列表 TableHeads []*basic.TableHead `protobuf:"bytes,2,rep,name=table_heads,json=tableHeads,proto3" json:"table_heads,omitempty"` // 显示文件名 FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 筛选条件 Req *OperationReq `protobuf:"bytes,4,opt,name=req,proto3" json:"req,omitempty"` // contains filtered or unexported fields }
func (*OperationExportReq) Descriptor
deprecated
func (*OperationExportReq) Descriptor() ([]byte, []int)
Deprecated: Use OperationExportReq.ProtoReflect.Descriptor instead.
func (*OperationExportReq) GetFileName ¶
func (x *OperationExportReq) GetFileName() string
func (*OperationExportReq) GetReq ¶
func (x *OperationExportReq) GetReq() *OperationReq
func (*OperationExportReq) GetTableHeads ¶
func (x *OperationExportReq) GetTableHeads() []*basic.TableHead
func (*OperationExportReq) GetTitle ¶
func (x *OperationExportReq) GetTitle() string
func (*OperationExportReq) ProtoMessage ¶
func (*OperationExportReq) ProtoMessage()
func (*OperationExportReq) ProtoReflect ¶
func (x *OperationExportReq) ProtoReflect() protoreflect.Message
func (*OperationExportReq) Reset ¶
func (x *OperationExportReq) Reset()
func (*OperationExportReq) String ¶
func (x *OperationExportReq) String() string
type OperationKey ¶
type OperationKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // contains filtered or unexported fields }
操作表List
func (*OperationKey) Descriptor
deprecated
func (*OperationKey) Descriptor() ([]byte, []int)
Deprecated: Use OperationKey.ProtoReflect.Descriptor instead.
func (*OperationKey) GetOperationId ¶
func (x *OperationKey) GetOperationId() string
func (*OperationKey) GetTenant ¶
func (x *OperationKey) GetTenant() string
func (*OperationKey) ProtoMessage ¶
func (*OperationKey) ProtoMessage()
func (*OperationKey) ProtoReflect ¶
func (x *OperationKey) ProtoReflect() protoreflect.Message
func (*OperationKey) Reset ¶
func (x *OperationKey) Reset()
func (*OperationKey) String ¶
func (x *OperationKey) String() string
type OperationKeyList ¶
type OperationKeyList struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` OperationId []string `protobuf:"bytes,2,rep,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // contains filtered or unexported fields }
操作表List
func (*OperationKeyList) Descriptor
deprecated
func (*OperationKeyList) Descriptor() ([]byte, []int)
Deprecated: Use OperationKeyList.ProtoReflect.Descriptor instead.
func (*OperationKeyList) GetOperationId ¶
func (x *OperationKeyList) GetOperationId() []string
func (*OperationKeyList) GetTenant ¶
func (x *OperationKeyList) GetTenant() string
func (*OperationKeyList) ProtoMessage ¶
func (*OperationKeyList) ProtoMessage()
func (*OperationKeyList) ProtoReflect ¶
func (x *OperationKeyList) ProtoReflect() protoreflect.Message
func (*OperationKeyList) Reset ¶
func (x *OperationKeyList) Reset()
func (*OperationKeyList) String ¶
func (x *OperationKeyList) String() string
type OperationList ¶
type OperationList struct { // 当前页内容 Results []*OperationModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
操作表列表
func (*OperationList) Descriptor
deprecated
func (*OperationList) Descriptor() ([]byte, []int)
Deprecated: Use OperationList.ProtoReflect.Descriptor instead.
func (*OperationList) GetResults ¶
func (x *OperationList) GetResults() []*OperationModel
func (*OperationList) ProtoMessage ¶
func (*OperationList) ProtoMessage()
func (*OperationList) ProtoReflect ¶
func (x *OperationList) ProtoReflect() protoreflect.Message
func (*OperationList) Reset ¶
func (x *OperationList) Reset()
func (*OperationList) String ¶
func (x *OperationList) String() string
type OperationModel ¶
type OperationModel struct { // 操作ID OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // 操作编码 OperationCode string `protobuf:"bytes,2,opt,name=operation_code,json=operationCode,proto3" json:"operation_code,omitempty"` // 操作名称 OperationName string `protobuf:"bytes,3,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` // contains filtered or unexported fields }
操作表实体
func (*OperationModel) Descriptor
deprecated
func (*OperationModel) Descriptor() ([]byte, []int)
Deprecated: Use OperationModel.ProtoReflect.Descriptor instead.
func (*OperationModel) GetOperationCode ¶
func (x *OperationModel) GetOperationCode() string
func (*OperationModel) GetOperationId ¶
func (x *OperationModel) GetOperationId() string
func (*OperationModel) GetOperationName ¶
func (x *OperationModel) GetOperationName() string
func (*OperationModel) ProtoMessage ¶
func (*OperationModel) ProtoMessage()
func (*OperationModel) ProtoReflect ¶
func (x *OperationModel) ProtoReflect() protoreflect.Message
func (*OperationModel) Reset ¶
func (x *OperationModel) Reset()
func (*OperationModel) String ¶
func (x *OperationModel) String() string
type OperationModelTotal ¶
type OperationModelTotal struct { // 总记录数 TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
合计
func (*OperationModelTotal) Descriptor
deprecated
func (*OperationModelTotal) Descriptor() ([]byte, []int)
Deprecated: Use OperationModelTotal.ProtoReflect.Descriptor instead.
func (*OperationModelTotal) GetTotalSize ¶
func (x *OperationModelTotal) GetTotalSize() int32
func (*OperationModelTotal) ProtoMessage ¶
func (*OperationModelTotal) ProtoMessage()
func (*OperationModelTotal) ProtoReflect ¶
func (x *OperationModelTotal) ProtoReflect() protoreflect.Message
func (*OperationModelTotal) Reset ¶
func (x *OperationModelTotal) Reset()
func (*OperationModelTotal) String ¶
func (x *OperationModelTotal) String() string
type OperationMoveKey ¶
type OperationMoveKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 操作ID OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // 是否上移 Up bool `protobuf:"varint,3,opt,name=up,proto3" json:"up,omitempty"` // contains filtered or unexported fields }
上移/下移
func (*OperationMoveKey) Descriptor
deprecated
func (*OperationMoveKey) Descriptor() ([]byte, []int)
Deprecated: Use OperationMoveKey.ProtoReflect.Descriptor instead.
func (*OperationMoveKey) GetOperationId ¶
func (x *OperationMoveKey) GetOperationId() string
func (*OperationMoveKey) GetTenant ¶
func (x *OperationMoveKey) GetTenant() string
func (*OperationMoveKey) GetUp ¶
func (x *OperationMoveKey) GetUp() bool
func (*OperationMoveKey) ProtoMessage ¶
func (*OperationMoveKey) ProtoMessage()
func (*OperationMoveKey) ProtoReflect ¶
func (x *OperationMoveKey) ProtoReflect() protoreflect.Message
func (*OperationMoveKey) Reset ¶
func (x *OperationMoveKey) Reset()
func (*OperationMoveKey) String ¶
func (x *OperationMoveKey) String() string
type OperationPage ¶
type OperationPage struct { // 当前页内容 Results []*OperationModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *OperationModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *OperationModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
操作表分页
func (*OperationPage) Descriptor
deprecated
func (*OperationPage) Descriptor() ([]byte, []int)
Deprecated: Use OperationPage.ProtoReflect.Descriptor instead.
func (*OperationPage) GetCurPage ¶
func (x *OperationPage) GetCurPage() int32
func (*OperationPage) GetPageSize ¶
func (x *OperationPage) GetPageSize() int32
func (*OperationPage) GetResults ¶
func (x *OperationPage) GetResults() []*OperationModel
func (*OperationPage) GetSubTotalDto ¶
func (x *OperationPage) GetSubTotalDto() *OperationModelTotal
func (*OperationPage) GetTotalDto ¶
func (x *OperationPage) GetTotalDto() *OperationModelTotal
func (*OperationPage) GetTotalSize ¶
func (x *OperationPage) GetTotalSize() int32
func (*OperationPage) ProtoMessage ¶
func (*OperationPage) ProtoMessage()
func (*OperationPage) ProtoReflect ¶
func (x *OperationPage) ProtoReflect() protoreflect.Message
func (*OperationPage) Reset ¶
func (x *OperationPage) Reset()
func (*OperationPage) String ¶
func (x *OperationPage) String() string
type OperationReq ¶
type OperationReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 操作编码 OperationCode string `protobuf:"bytes,4,opt,name=operation_code,json=operationCode,proto3" json:"operation_code,omitempty"` // 操作名称 LikeOperationName string `protobuf:"bytes,5,opt,name=like_operation_name,json=likeOperationName,proto3" json:"like_operation_name,omitempty"` // 排序名称 OrderName string `protobuf:"bytes,6,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"` // 是否升序排序 OrderAsc bool `protobuf:"varint,7,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"` // contains filtered or unexported fields }
操作表查询
func (*OperationReq) Descriptor
deprecated
func (*OperationReq) Descriptor() ([]byte, []int)
Deprecated: Use OperationReq.ProtoReflect.Descriptor instead.
func (*OperationReq) GetCurPage ¶
func (x *OperationReq) GetCurPage() int32
func (*OperationReq) GetLikeOperationName ¶
func (x *OperationReq) GetLikeOperationName() string
func (*OperationReq) GetOperationCode ¶
func (x *OperationReq) GetOperationCode() string
func (*OperationReq) GetOrderAsc ¶
func (x *OperationReq) GetOrderAsc() bool
func (*OperationReq) GetOrderName ¶
func (x *OperationReq) GetOrderName() string
func (*OperationReq) GetPageSize ¶
func (x *OperationReq) GetPageSize() int32
func (*OperationReq) GetTenant ¶
func (x *OperationReq) GetTenant() string
func (*OperationReq) ProtoMessage ¶
func (*OperationReq) ProtoMessage()
func (*OperationReq) ProtoReflect ¶
func (x *OperationReq) ProtoReflect() protoreflect.Message
func (*OperationReq) Reset ¶
func (x *OperationReq) Reset()
func (*OperationReq) String ¶
func (x *OperationReq) String() string
type OperationUpdateReq ¶
type OperationUpdateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 更新字段掩码. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // 操作ID OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // 操作编码 OperationCode string `protobuf:"bytes,6,opt,name=operation_code,json=operationCode,proto3" json:"operation_code,omitempty"` // 操作名称 OperationName string `protobuf:"bytes,7,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` // contains filtered or unexported fields }
操作表修改实体
func (*OperationUpdateReq) Descriptor
deprecated
func (*OperationUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use OperationUpdateReq.ProtoReflect.Descriptor instead.
func (*OperationUpdateReq) GetOperationCode ¶
func (x *OperationUpdateReq) GetOperationCode() string
func (*OperationUpdateReq) GetOperationId ¶
func (x *OperationUpdateReq) GetOperationId() string
func (*OperationUpdateReq) GetOperationName ¶
func (x *OperationUpdateReq) GetOperationName() string
func (*OperationUpdateReq) GetRequestId ¶
func (x *OperationUpdateReq) GetRequestId() string
func (*OperationUpdateReq) GetTenant ¶
func (x *OperationUpdateReq) GetTenant() string
func (*OperationUpdateReq) GetUpdateMask ¶
func (x *OperationUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*OperationUpdateReq) GetValidateOnly ¶
func (x *OperationUpdateReq) GetValidateOnly() bool
func (*OperationUpdateReq) ProtoMessage ¶
func (*OperationUpdateReq) ProtoMessage()
func (*OperationUpdateReq) ProtoReflect ¶
func (x *OperationUpdateReq) ProtoReflect() protoreflect.Message
func (*OperationUpdateReq) Reset ¶
func (x *OperationUpdateReq) Reset()
func (*OperationUpdateReq) String ¶
func (x *OperationUpdateReq) String() string
type PermCheck ¶
type PermCheck struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 权限编码 PermCode string `protobuf:"bytes,2,opt,name=perm_code,json=permCode,proto3" json:"perm_code,omitempty"` // contains filtered or unexported fields }
权限编码校验
func (*PermCheck) Descriptor
deprecated
func (*PermCheck) GetPermCode ¶
func (*PermCheck) ProtoMessage ¶
func (*PermCheck) ProtoMessage()
func (*PermCheck) ProtoReflect ¶
func (x *PermCheck) ProtoReflect() protoreflect.Message
type PermCreateReq ¶
type PermCreateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 权限编码 PermCode string `protobuf:"bytes,4,opt,name=perm_code,json=permCode,proto3" json:"perm_code,omitempty"` // 权限名称 PermName string `protobuf:"bytes,5,opt,name=perm_name,json=permName,proto3" json:"perm_name,omitempty"` // contains filtered or unexported fields }
权限表新增实体
func (*PermCreateReq) Descriptor
deprecated
func (*PermCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use PermCreateReq.ProtoReflect.Descriptor instead.
func (*PermCreateReq) GetPermCode ¶
func (x *PermCreateReq) GetPermCode() string
func (*PermCreateReq) GetPermName ¶
func (x *PermCreateReq) GetPermName() string
func (*PermCreateReq) GetRequestId ¶
func (x *PermCreateReq) GetRequestId() string
func (*PermCreateReq) GetTenant ¶
func (x *PermCreateReq) GetTenant() string
func (*PermCreateReq) GetValidateOnly ¶
func (x *PermCreateReq) GetValidateOnly() bool
func (*PermCreateReq) ProtoMessage ¶
func (*PermCreateReq) ProtoMessage()
func (*PermCreateReq) ProtoReflect ¶
func (x *PermCreateReq) ProtoReflect() protoreflect.Message
func (*PermCreateReq) Reset ¶
func (x *PermCreateReq) Reset()
func (*PermCreateReq) String ¶
func (x *PermCreateReq) String() string
type PermKey ¶
type PermKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` PermId string `protobuf:"bytes,2,opt,name=perm_id,json=permId,proto3" json:"perm_id,omitempty"` // contains filtered or unexported fields }
权限表Key
func (*PermKey) Descriptor
deprecated
func (*PermKey) ProtoMessage ¶
func (*PermKey) ProtoMessage()
func (*PermKey) ProtoReflect ¶
func (x *PermKey) ProtoReflect() protoreflect.Message
type PermKeyList ¶
type PermKeyList struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` PermId []string `protobuf:"bytes,2,rep,name=perm_id,json=permId,proto3" json:"perm_id,omitempty"` // contains filtered or unexported fields }
权限表List
func (*PermKeyList) Descriptor
deprecated
func (*PermKeyList) Descriptor() ([]byte, []int)
Deprecated: Use PermKeyList.ProtoReflect.Descriptor instead.
func (*PermKeyList) GetPermId ¶
func (x *PermKeyList) GetPermId() []string
func (*PermKeyList) GetTenant ¶
func (x *PermKeyList) GetTenant() string
func (*PermKeyList) ProtoMessage ¶
func (*PermKeyList) ProtoMessage()
func (*PermKeyList) ProtoReflect ¶
func (x *PermKeyList) ProtoReflect() protoreflect.Message
func (*PermKeyList) Reset ¶
func (x *PermKeyList) Reset()
func (*PermKeyList) String ¶
func (x *PermKeyList) String() string
type PermList ¶
type PermList struct { // 当前页内容 Results []*PermModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
权限表列表
func (*PermList) Descriptor
deprecated
func (*PermList) GetResults ¶
func (*PermList) ProtoMessage ¶
func (*PermList) ProtoMessage()
func (*PermList) ProtoReflect ¶
func (x *PermList) ProtoReflect() protoreflect.Message
type PermModel ¶
type PermModel struct { // 权限ID PermId string `protobuf:"bytes,1,opt,name=perm_id,json=permId,proto3" json:"perm_id,omitempty"` // 权限编码 PermCode string `protobuf:"bytes,2,opt,name=perm_code,json=permCode,proto3" json:"perm_code,omitempty"` // 权限名称 PermName string `protobuf:"bytes,3,opt,name=perm_name,json=permName,proto3" json:"perm_name,omitempty"` // contains filtered or unexported fields }
权限表实体
func (*PermModel) Descriptor
deprecated
func (*PermModel) GetPermCode ¶
func (*PermModel) GetPermName ¶
func (*PermModel) ProtoMessage ¶
func (*PermModel) ProtoMessage()
func (*PermModel) ProtoReflect ¶
func (x *PermModel) ProtoReflect() protoreflect.Message
type PermModelTotal ¶
type PermModelTotal struct { // 总记录数 TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
合计
func (*PermModelTotal) Descriptor
deprecated
func (*PermModelTotal) Descriptor() ([]byte, []int)
Deprecated: Use PermModelTotal.ProtoReflect.Descriptor instead.
func (*PermModelTotal) GetTotalSize ¶
func (x *PermModelTotal) GetTotalSize() int32
func (*PermModelTotal) ProtoMessage ¶
func (*PermModelTotal) ProtoMessage()
func (*PermModelTotal) ProtoReflect ¶
func (x *PermModelTotal) ProtoReflect() protoreflect.Message
func (*PermModelTotal) Reset ¶
func (x *PermModelTotal) Reset()
func (*PermModelTotal) String ¶
func (x *PermModelTotal) String() string
type PermPage ¶
type PermPage struct { // 当前页内容 Results []*PermModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *PermModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *PermModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
权限表分页
func (*PermPage) Descriptor
deprecated
func (*PermPage) GetCurPage ¶
func (*PermPage) GetPageSize ¶
func (*PermPage) GetResults ¶
func (*PermPage) GetSubTotalDto ¶
func (x *PermPage) GetSubTotalDto() *PermModelTotal
func (*PermPage) GetTotalDto ¶
func (x *PermPage) GetTotalDto() *PermModelTotal
func (*PermPage) GetTotalSize ¶
func (*PermPage) ProtoMessage ¶
func (*PermPage) ProtoMessage()
func (*PermPage) ProtoReflect ¶
func (x *PermPage) ProtoReflect() protoreflect.Message
type PermReq ¶
type PermReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 排序名称 OrderName string `protobuf:"bytes,4,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"` // 是否升序排序 OrderAsc bool `protobuf:"varint,5,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"` // 权限编码 LikePermCode string `protobuf:"bytes,6,opt,name=like_perm_code,json=likePermCode,proto3" json:"like_perm_code,omitempty"` // 权限名称 LikePermName string `protobuf:"bytes,7,opt,name=like_perm_name,json=likePermName,proto3" json:"like_perm_name,omitempty"` // contains filtered or unexported fields }
权限表查询
func (*PermReq) Descriptor
deprecated
func (*PermReq) GetCurPage ¶
func (*PermReq) GetLikePermCode ¶
func (*PermReq) GetLikePermName ¶
func (*PermReq) GetOrderAsc ¶
func (*PermReq) GetOrderName ¶
func (*PermReq) GetPageSize ¶
func (*PermReq) ProtoMessage ¶
func (*PermReq) ProtoMessage()
func (*PermReq) ProtoReflect ¶
func (x *PermReq) ProtoReflect() protoreflect.Message
type PermUpdateReq ¶
type PermUpdateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 更新字段掩码. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // 权限ID PermId string `protobuf:"bytes,5,opt,name=perm_id,json=permId,proto3" json:"perm_id,omitempty"` // 权限编码 PermCode string `protobuf:"bytes,6,opt,name=perm_code,json=permCode,proto3" json:"perm_code,omitempty"` // 权限名称 PermName string `protobuf:"bytes,7,opt,name=perm_name,json=permName,proto3" json:"perm_name,omitempty"` // contains filtered or unexported fields }
权限表修改实体
func (*PermUpdateReq) Descriptor
deprecated
func (*PermUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use PermUpdateReq.ProtoReflect.Descriptor instead.
func (*PermUpdateReq) GetPermCode ¶
func (x *PermUpdateReq) GetPermCode() string
func (*PermUpdateReq) GetPermId ¶
func (x *PermUpdateReq) GetPermId() string
func (*PermUpdateReq) GetPermName ¶
func (x *PermUpdateReq) GetPermName() string
func (*PermUpdateReq) GetRequestId ¶
func (x *PermUpdateReq) GetRequestId() string
func (*PermUpdateReq) GetTenant ¶
func (x *PermUpdateReq) GetTenant() string
func (*PermUpdateReq) GetUpdateMask ¶
func (x *PermUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*PermUpdateReq) GetValidateOnly ¶
func (x *PermUpdateReq) GetValidateOnly() bool
func (*PermUpdateReq) ProtoMessage ¶
func (*PermUpdateReq) ProtoMessage()
func (*PermUpdateReq) ProtoReflect ¶
func (x *PermUpdateReq) ProtoReflect() protoreflect.Message
func (*PermUpdateReq) Reset ¶
func (x *PermUpdateReq) Reset()
func (*PermUpdateReq) String ¶
func (x *PermUpdateReq) String() string
type RbacClient ¶
type RbacClient interface { // 版本 Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) // 枚举值列表 FindEnumList(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*basic.EnumValueList, error) // 枚举值Map FindEnumMap(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*basic.CustomEnumValueMap, error) // 枚举值 FindEnumEntry(ctx context.Context, in *basic.EnumEntryReq, opts ...grpc.CallOption) (*basic.EntryList, error) // 用户登录 Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*TokenResp, error) // 发送验证码. SendValidCode(ctx context.Context, in *SendValidCodeReq, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 通过验证码登录 LoginByValidCode(ctx context.Context, in *ValidCodeLoginReq, opts ...grpc.CallOption) (*TokenResp, error) // 登录选择动态互斥角色,无需权限. SelectDsdRoles(ctx context.Context, in *basic.TenantReq, opts ...grpc.CallOption) (*DsdRoleListResp, error) // 用户登出. Logout(ctx context.Context, in *LogoutReq, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 刷新Token RefreshToken(ctx context.Context, in *RefreshTokenReq, opts ...grpc.CallOption) (*TokenResp, error) // 获取当前会话用户(含DSD动态职责分离). UserInfo(ctx context.Context, in *basic.TenantReq, opts ...grpc.CallOption) (*UserModel, error) // 个人中心修改个人信息 UpdateUserInfo(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*UserModel, error) // 获取当前会话角色列表和权限列表. UserRolesPerms(ctx context.Context, in *basic.TenantReq, opts ...grpc.CallOption) (*RolePermSet, error) // 获取当前会话用户菜单 UserMenus(ctx context.Context, in *basic.TenantReq, opts ...grpc.CallOption) (*MenuList, error) // 修改密码 ChangePwd(ctx context.Context, in *ChangePwdReq, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 重新绑定手机号/邮箱 BindPhoneEmail(ctx context.Context, in *BindPhoneEmailReq, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 切换用户身份 RunAsUser(ctx context.Context, in *RunAsReq, opts ...grpc.CallOption) (*UserModel, error) // 默认可切换用户 AllowRunAsUser(ctx context.Context, in *basic.TenantReq, opts ...grpc.CallOption) (*UserList, error) // 查询翻页信息用户 FindUserPage(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*UserPage, error) // 查询列表信息用户 FindUserList(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*UserList, error) // 查询用户 FindUserById(ctx context.Context, in *UserKey, opts ...grpc.CallOption) (*UserModel, error) // 根据用户名查询用户 FindUserByName(ctx context.Context, in *UserNameReq, opts ...grpc.CallOption) (*UserModel, error) // 查询用户列表 FindUserInfoList(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*UserInfoList, error) // 查询用户分页 FindUserInfoPage(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*UserInfoPage, error) // 创建实体用户 CreateUser(ctx context.Context, in *UserCreateReq, opts ...grpc.CallOption) (*UserModel, error) // 修改实体用户 UpdateUser(ctx context.Context, in *UserUpdateReq, opts ...grpc.CallOption) (*UserModel, error) // 删除用户 DeleteUser(ctx context.Context, in *UserKey, opts ...grpc.CallOption) (*UserModel, error) // 批量删除用户 BatchDeleteUser(ctx context.Context, in *UserKeyList, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 校验邮箱/手机号/用户名/是否存在 ExistUser(ctx context.Context, in *VerifyUserReq, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 批量启用禁用用户 BatchEnableUser(ctx context.Context, in *EnableUserReq, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 启用禁用用户 EnableUser(ctx context.Context, in *UserEnableKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 锁定/解锁用户 LockUser(ctx context.Context, in *LockUserReq, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 审核/取消审核用户 ApprovedUser(ctx context.Context, in *ApprovedUserReq, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 给用户分配角色 AssignUser(ctx context.Context, in *UserRoleReq, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 取消用户分配角色 DeassignUser(ctx context.Context, in *UserRoleReq, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 后台用户重置密码 ResetPwd(ctx context.Context, in *UserResetPwdReq, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 导出用户 ExportUser(ctx context.Context, in *UserExportReq, opts ...grpc.CallOption) (Rbac_ExportUserClient, error) // 打印用户 PrintUser(ctx context.Context, in *UserExportReq, opts ...grpc.CallOption) (Rbac_PrintUserClient, error) // 下载导入模板用户 DownloadUserTemplate(ctx context.Context, in *basic.TenantReq, opts ...grpc.CallOption) (Rbac_DownloadUserTemplateClient, error) // 导入用户 ImportUser(ctx context.Context, in *UserImportReq, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) // 查询目录ID SelectDirectoryIds(ctx context.Context, in *basic.TenantReq, opts ...grpc.CallOption) (*DirectoryListResp, error) // 查询翻页信息系统模块 FindModulePage(ctx context.Context, in *ModuleReq, opts ...grpc.CallOption) (*ModulePage, error) // 查询列表信息系统模块 FindModuleList(ctx context.Context, in *ModuleReq, opts ...grpc.CallOption) (*ModuleList, error) // 查询系统模块 FindModuleById(ctx context.Context, in *ModuleKey, opts ...grpc.CallOption) (*ModuleModel, error) // 创建实体系统模块 CreateModule(ctx context.Context, in *ModuleCreateReq, opts ...grpc.CallOption) (*ModuleModel, error) // 修改实体系统模块 UpdateModule(ctx context.Context, in *ModuleUpdateReq, opts ...grpc.CallOption) (*ModuleModel, error) // 删除系统模块 DeleteModule(ctx context.Context, in *ModuleKey, opts ...grpc.CallOption) (*ModuleModel, error) // 批量删除系统模块 BatchDeleteModule(ctx context.Context, in *ModuleKeyList, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 上移/下移模块 MoveModule(ctx context.Context, in *ModuleMoveKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 模块编码校验 CheckModuleCode(ctx context.Context, in *ModuleCheck, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 查询翻页信息操作表 FindOperationPage(ctx context.Context, in *OperationReq, opts ...grpc.CallOption) (*OperationPage, error) // 查询列表信息操作表 FindOperationList(ctx context.Context, in *OperationReq, opts ...grpc.CallOption) (*OperationList, error) // 查询操作表 FindOperationById(ctx context.Context, in *OperationKey, opts ...grpc.CallOption) (*OperationModel, error) // 创建实体操作表 CreateOperation(ctx context.Context, in *OperationCreateReq, opts ...grpc.CallOption) (*OperationModel, error) // 修改实体操作表 UpdateOperation(ctx context.Context, in *OperationUpdateReq, opts ...grpc.CallOption) (*OperationModel, error) // 删除操作表 DeleteOperation(ctx context.Context, in *OperationKey, opts ...grpc.CallOption) (*OperationModel, error) // 批量删除操作表 BatchDeleteOperation(ctx context.Context, in *OperationKeyList, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 上移/下移操作 MoveOperation(ctx context.Context, in *OperationMoveKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 操作编码校验 CheckOperationCode(ctx context.Context, in *OperationCheck, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 查询列表信息组织机构cc FindDeptList(ctx context.Context, in *DeptReq, opts ...grpc.CallOption) (*DeptList, error) // 查询树结构列表组织机构 FindDeptTreeList(ctx context.Context, in *DeptReq, opts ...grpc.CallOption) (*TreeList, error) // 查询组织机构 FindDeptById(ctx context.Context, in *DeptKey, opts ...grpc.CallOption) (*DeptModel, error) // 创建实体组织机构 CreateDept(ctx context.Context, in *DeptCreateReq, opts ...grpc.CallOption) (*DeptModel, error) // 修改实体组织机构 UpdateDept(ctx context.Context, in *DeptUpdateReq, opts ...grpc.CallOption) (*DeptModel, error) // 删除组织机构 DeleteDept(ctx context.Context, in *DeptKey, opts ...grpc.CallOption) (*DeptModel, error) // 批量删除组织机构 BatchDeleteDept(ctx context.Context, in *DeptKeyList, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 上移/下移部门 MoveDept(ctx context.Context, in *DeptMoveKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 批量启用禁用部门 LockDept(ctx context.Context, in *EnableDeptReq, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 启用禁用部门 EnableDept(ctx context.Context, in *DeptEnableKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 下载导入模板组织机构 DownloadDept(ctx context.Context, in *basic.TenantReq, opts ...grpc.CallOption) (Rbac_DownloadDeptClient, error) // 导入组织机构 ImportDept(ctx context.Context, in *DeptImportReq, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) // 导出组织机构 ExportDept(ctx context.Context, in *DeptExportReq, opts ...grpc.CallOption) (Rbac_ExportDeptClient, error) // 打印组织机构 PrintDept(ctx context.Context, in *DeptExportReq, opts ...grpc.CallOption) (Rbac_PrintDeptClient, error) // 查询翻页信息操作日志 FindLogPage(ctx context.Context, in *LogReq, opts ...grpc.CallOption) (*LogPage, error) // 查询列表信息操作日志 FindLogList(ctx context.Context, in *LogReq, opts ...grpc.CallOption) (*LogList, error) // 查询操作日志 FindLogById(ctx context.Context, in *LogKey, opts ...grpc.CallOption) (*LogModel, error) // 删除安全日志 DeleteLog(ctx context.Context, in *LogDelReq, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 查询用户部门岗位信息 SelectUserInfo(ctx context.Context, in *UserKey, opts ...grpc.CallOption) (*UserDeptJobInfoRes, error) // 导出操作日志 ExportLog(ctx context.Context, in *LogExportReq, opts ...grpc.CallOption) (Rbac_ExportLogClient, error) // 查询列表信息三方登录 FindOpensList(ctx context.Context, in *OpensReq, opts ...grpc.CallOption) (*OpensList, error) // 查询三方登录 FindOpensById(ctx context.Context, in *OpensKey, opts ...grpc.CallOption) (*OpensModel, error) // 解绑三方登录 DeleteOpens(ctx context.Context, in *OpensKey, opts ...grpc.CallOption) (*OpensModel, error) // 查询翻页信息开发平台应用 FindOpenAppPage(ctx context.Context, in *OpenAppReq, opts ...grpc.CallOption) (*OpenAppPage, error) // 查询列表信息开发平台应用 FindOpenAppList(ctx context.Context, in *OpenAppReq, opts ...grpc.CallOption) (*OpenAppList, error) // 查询开发平台应用 FindOpenAppById(ctx context.Context, in *OpenAppKey, opts ...grpc.CallOption) (*OpenAppModel, error) // 创建实体开发平台应用 CreateOpenApp(ctx context.Context, in *OpenAppCreateReq, opts ...grpc.CallOption) (*OpenAppModel, error) // 修改实体开发平台应用 UpdateOpenApp(ctx context.Context, in *OpenAppUpdateReq, opts ...grpc.CallOption) (*OpenAppModel, error) // 删除开发平台应用 DeleteOpenApp(ctx context.Context, in *OpenAppKey, opts ...grpc.CallOption) (*OpenAppModel, error) // 批量删除开发平台应用 BatchDeleteOpenApp(ctx context.Context, in *OpenAppKeyList, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 查询翻页信息权限表 FindPermPage(ctx context.Context, in *PermReq, opts ...grpc.CallOption) (*PermPage, error) // 查询列表信息权限表 FindPermList(ctx context.Context, in *PermReq, opts ...grpc.CallOption) (*PermList, error) // 查询资源权限新信息 FindResourcePermList(ctx context.Context, in *ResourceReq, opts ...grpc.CallOption) (*ResourcePermList, error) // 查询权限表 FindPermById(ctx context.Context, in *PermKey, opts ...grpc.CallOption) (*PermModel, error) // 创建实体权限表 CreatePerm(ctx context.Context, in *PermCreateReq, opts ...grpc.CallOption) (*PermModel, error) // 修改实体权限表 UpdatePerm(ctx context.Context, in *PermUpdateReq, opts ...grpc.CallOption) (*PermModel, error) // 删除权限表 DeletePerm(ctx context.Context, in *PermKey, opts ...grpc.CallOption) (*PermModel, error) // 批量删除权限表 BatchDeletePerm(ctx context.Context, in *PermKeyList, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 权限编码校验 CheckPermCode(ctx context.Context, in *PermCheck, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 查询列表信息资源表 FindResourceList(ctx context.Context, in *ResourceReq, opts ...grpc.CallOption) (*ResourceList, error) // 查询资源树级结构 FindResourceTreeList(ctx context.Context, in *ResourceReq, opts ...grpc.CallOption) (*TreeList, error) // 查询资源表 FindResourceById(ctx context.Context, in *ResourceKey, opts ...grpc.CallOption) (*ResourceModel, error) // 创建实体资源表 CreateResource(ctx context.Context, in *ResourceCreateReq, opts ...grpc.CallOption) (*ResourceModel, error) // 修改实体资源表 UpdateResource(ctx context.Context, in *ResourceUpdateReq, opts ...grpc.CallOption) (*ResourceModel, error) // 删除资源表 DeleteResource(ctx context.Context, in *ResourceKey, opts ...grpc.CallOption) (*ResourceModel, error) // 批量删除资源表 BatchDeleteResource(ctx context.Context, in *ResourceKeyList, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 下载导入资源 DownloadResource(ctx context.Context, in *ResourceExportReq, opts ...grpc.CallOption) (Rbac_DownloadResourceClient, error) // 导入资源表 ImportResource(ctx context.Context, in *ResourceImportReq, opts ...grpc.CallOption) (*wrapperspb.StringValue, error) // 导出资源表 ExportResource(ctx context.Context, in *ResourceExportReq, opts ...grpc.CallOption) (Rbac_ExportResourceClient, error) // 校验资源 ExistResource(ctx context.Context, in *VerifyResourceReq, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 上移/下移 MoveResouce(ctx context.Context, in *ResourceMoveKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 查询列表信息角色/职务表 FindRoleList(ctx context.Context, in *RoleReq, opts ...grpc.CallOption) (*RoleList, error) // 查询列表信息角色/职务表 FindRoleTreeList(ctx context.Context, in *RoleReq, opts ...grpc.CallOption) (*TreeList, error) // 查询角色/职务表 FindRoleById(ctx context.Context, in *RoleKey, opts ...grpc.CallOption) (*RoleModel, error) // 创建实体角色/职务表 CreateRole(ctx context.Context, in *RoleCreateReq, opts ...grpc.CallOption) (*RoleModel, error) // 修改实体角色/职务表 UpdateRole(ctx context.Context, in *RoleUpdateReq, opts ...grpc.CallOption) (*RoleModel, error) // 删除角色/职务表 DeleteRole(ctx context.Context, in *RoleKey, opts ...grpc.CallOption) (*RoleModel, error) // 批量删除角色/职务表 BatchDeleteRole(ctx context.Context, in *RoleKeyList, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 角色授予权限. GrantPerm(ctx context.Context, in *RolePermReq, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 取消角色授予权限. RevokePerm(ctx context.Context, in *RolePermReq, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 上移/下移角色 MoveRole(ctx context.Context, in *RoleMoveKey, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 校验角色 ExistRole(ctx context.Context, in *VerifyRoleReq, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // 查询翻页信息安全日志 FindUserLogPage(ctx context.Context, in *UserLogReq, opts ...grpc.CallOption) (*UserLogPage, error) // 查询列表信息安全日志 FindUserLogList(ctx context.Context, in *UserLogReq, opts ...grpc.CallOption) (*UserLogList, error) // 查询安全日志 FindUserLogById(ctx context.Context, in *UserLogKey, opts ...grpc.CallOption) (*UserLogModel, error) // 删除安全日志 DeleteUserLog(ctx context.Context, in *UserLogDelReq, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) // 导出安全日志 ExportUserLog(ctx context.Context, in *UserLogExportReq, opts ...grpc.CallOption) (Rbac_ExportUserLogClient, error) // 日志获取用户信息. GetUserDeptInfo(ctx context.Context, in *UserKey, opts ...grpc.CallOption) (*UserDeptJobInfoRes, error) // 小程序授权登录 MiniAppLogin(ctx context.Context, in *MiniAppLoginReq, opts ...grpc.CallOption) (*MiniAppLoginResp, error) // 获取微信小程序手机号 MiniAppPhoneNumber(ctx context.Context, in *MiniAppPhoneNumberReq, opts ...grpc.CallOption) (*MiniAppLoginResp, error) // 已登录状态小程序更换绑定手机号 MiniAppBindPhone(ctx context.Context, in *MiniAppBindPhoneReq, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) }
RbacClient is the client API for Rbac service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRbacClient ¶
func NewRbacClient(cc grpc.ClientConnInterface) RbacClient
type RbacServer ¶
type RbacServer interface { // 版本 Version(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error) // 枚举值列表 FindEnumList(context.Context, *wrapperspb.StringValue) (*basic.EnumValueList, error) // 枚举值Map FindEnumMap(context.Context, *wrapperspb.StringValue) (*basic.CustomEnumValueMap, error) // 枚举值 FindEnumEntry(context.Context, *basic.EnumEntryReq) (*basic.EntryList, error) // 用户登录 Login(context.Context, *LoginReq) (*TokenResp, error) // 发送验证码. SendValidCode(context.Context, *SendValidCodeReq) (*wrapperspb.BoolValue, error) // 通过验证码登录 LoginByValidCode(context.Context, *ValidCodeLoginReq) (*TokenResp, error) // 登录选择动态互斥角色,无需权限. SelectDsdRoles(context.Context, *basic.TenantReq) (*DsdRoleListResp, error) // 用户登出. Logout(context.Context, *LogoutReq) (*wrapperspb.BoolValue, error) // 刷新Token RefreshToken(context.Context, *RefreshTokenReq) (*TokenResp, error) // 获取当前会话用户(含DSD动态职责分离). UserInfo(context.Context, *basic.TenantReq) (*UserModel, error) // 个人中心修改个人信息 UpdateUserInfo(context.Context, *UpdateUserReq) (*UserModel, error) // 获取当前会话角色列表和权限列表. UserRolesPerms(context.Context, *basic.TenantReq) (*RolePermSet, error) // 获取当前会话用户菜单 UserMenus(context.Context, *basic.TenantReq) (*MenuList, error) // 修改密码 ChangePwd(context.Context, *ChangePwdReq) (*wrapperspb.BoolValue, error) // 重新绑定手机号/邮箱 BindPhoneEmail(context.Context, *BindPhoneEmailReq) (*wrapperspb.BoolValue, error) // 切换用户身份 RunAsUser(context.Context, *RunAsReq) (*UserModel, error) // 默认可切换用户 AllowRunAsUser(context.Context, *basic.TenantReq) (*UserList, error) // 查询翻页信息用户 FindUserPage(context.Context, *UserReq) (*UserPage, error) // 查询列表信息用户 FindUserList(context.Context, *UserReq) (*UserList, error) // 查询用户 FindUserById(context.Context, *UserKey) (*UserModel, error) // 根据用户名查询用户 FindUserByName(context.Context, *UserNameReq) (*UserModel, error) // 查询用户列表 FindUserInfoList(context.Context, *UserReq) (*UserInfoList, error) // 查询用户分页 FindUserInfoPage(context.Context, *UserReq) (*UserInfoPage, error) // 创建实体用户 CreateUser(context.Context, *UserCreateReq) (*UserModel, error) // 修改实体用户 UpdateUser(context.Context, *UserUpdateReq) (*UserModel, error) // 删除用户 DeleteUser(context.Context, *UserKey) (*UserModel, error) // 批量删除用户 BatchDeleteUser(context.Context, *UserKeyList) (*wrapperspb.Int32Value, error) // 校验邮箱/手机号/用户名/是否存在 ExistUser(context.Context, *VerifyUserReq) (*wrapperspb.BoolValue, error) // 批量启用禁用用户 BatchEnableUser(context.Context, *EnableUserReq) (*wrapperspb.Int32Value, error) // 启用禁用用户 EnableUser(context.Context, *UserEnableKey) (*wrapperspb.BoolValue, error) // 锁定/解锁用户 LockUser(context.Context, *LockUserReq) (*wrapperspb.Int32Value, error) // 审核/取消审核用户 ApprovedUser(context.Context, *ApprovedUserReq) (*wrapperspb.Int32Value, error) // 给用户分配角色 AssignUser(context.Context, *UserRoleReq) (*wrapperspb.Int32Value, error) // 取消用户分配角色 DeassignUser(context.Context, *UserRoleReq) (*wrapperspb.Int32Value, error) // 后台用户重置密码 ResetPwd(context.Context, *UserResetPwdReq) (*wrapperspb.BoolValue, error) // 导出用户 ExportUser(*UserExportReq, Rbac_ExportUserServer) error // 打印用户 PrintUser(*UserExportReq, Rbac_PrintUserServer) error // 下载导入模板用户 DownloadUserTemplate(*basic.TenantReq, Rbac_DownloadUserTemplateServer) error // 导入用户 ImportUser(context.Context, *UserImportReq) (*wrapperspb.StringValue, error) // 查询目录ID SelectDirectoryIds(context.Context, *basic.TenantReq) (*DirectoryListResp, error) // 查询翻页信息系统模块 FindModulePage(context.Context, *ModuleReq) (*ModulePage, error) // 查询列表信息系统模块 FindModuleList(context.Context, *ModuleReq) (*ModuleList, error) // 查询系统模块 FindModuleById(context.Context, *ModuleKey) (*ModuleModel, error) // 创建实体系统模块 CreateModule(context.Context, *ModuleCreateReq) (*ModuleModel, error) // 修改实体系统模块 UpdateModule(context.Context, *ModuleUpdateReq) (*ModuleModel, error) // 删除系统模块 DeleteModule(context.Context, *ModuleKey) (*ModuleModel, error) // 批量删除系统模块 BatchDeleteModule(context.Context, *ModuleKeyList) (*wrapperspb.Int32Value, error) // 上移/下移模块 MoveModule(context.Context, *ModuleMoveKey) (*wrapperspb.BoolValue, error) // 模块编码校验 CheckModuleCode(context.Context, *ModuleCheck) (*wrapperspb.BoolValue, error) // 查询翻页信息操作表 FindOperationPage(context.Context, *OperationReq) (*OperationPage, error) // 查询列表信息操作表 FindOperationList(context.Context, *OperationReq) (*OperationList, error) // 查询操作表 FindOperationById(context.Context, *OperationKey) (*OperationModel, error) // 创建实体操作表 CreateOperation(context.Context, *OperationCreateReq) (*OperationModel, error) // 修改实体操作表 UpdateOperation(context.Context, *OperationUpdateReq) (*OperationModel, error) // 删除操作表 DeleteOperation(context.Context, *OperationKey) (*OperationModel, error) // 批量删除操作表 BatchDeleteOperation(context.Context, *OperationKeyList) (*wrapperspb.Int32Value, error) // 上移/下移操作 MoveOperation(context.Context, *OperationMoveKey) (*wrapperspb.BoolValue, error) // 操作编码校验 CheckOperationCode(context.Context, *OperationCheck) (*wrapperspb.BoolValue, error) // 查询列表信息组织机构cc FindDeptList(context.Context, *DeptReq) (*DeptList, error) // 查询树结构列表组织机构 FindDeptTreeList(context.Context, *DeptReq) (*TreeList, error) // 查询组织机构 FindDeptById(context.Context, *DeptKey) (*DeptModel, error) // 创建实体组织机构 CreateDept(context.Context, *DeptCreateReq) (*DeptModel, error) // 修改实体组织机构 UpdateDept(context.Context, *DeptUpdateReq) (*DeptModel, error) // 删除组织机构 DeleteDept(context.Context, *DeptKey) (*DeptModel, error) // 批量删除组织机构 BatchDeleteDept(context.Context, *DeptKeyList) (*wrapperspb.Int32Value, error) // 上移/下移部门 MoveDept(context.Context, *DeptMoveKey) (*wrapperspb.BoolValue, error) // 批量启用禁用部门 LockDept(context.Context, *EnableDeptReq) (*wrapperspb.Int32Value, error) // 启用禁用部门 EnableDept(context.Context, *DeptEnableKey) (*wrapperspb.BoolValue, error) // 下载导入模板组织机构 DownloadDept(*basic.TenantReq, Rbac_DownloadDeptServer) error // 导入组织机构 ImportDept(context.Context, *DeptImportReq) (*wrapperspb.StringValue, error) // 导出组织机构 ExportDept(*DeptExportReq, Rbac_ExportDeptServer) error // 打印组织机构 PrintDept(*DeptExportReq, Rbac_PrintDeptServer) error // 查询翻页信息操作日志 FindLogPage(context.Context, *LogReq) (*LogPage, error) // 查询列表信息操作日志 FindLogList(context.Context, *LogReq) (*LogList, error) // 查询操作日志 FindLogById(context.Context, *LogKey) (*LogModel, error) // 删除安全日志 DeleteLog(context.Context, *LogDelReq) (*wrapperspb.Int32Value, error) // 查询用户部门岗位信息 SelectUserInfo(context.Context, *UserKey) (*UserDeptJobInfoRes, error) // 导出操作日志 ExportLog(*LogExportReq, Rbac_ExportLogServer) error // 查询列表信息三方登录 FindOpensList(context.Context, *OpensReq) (*OpensList, error) // 查询三方登录 FindOpensById(context.Context, *OpensKey) (*OpensModel, error) // 解绑三方登录 DeleteOpens(context.Context, *OpensKey) (*OpensModel, error) // 查询翻页信息开发平台应用 FindOpenAppPage(context.Context, *OpenAppReq) (*OpenAppPage, error) // 查询列表信息开发平台应用 FindOpenAppList(context.Context, *OpenAppReq) (*OpenAppList, error) // 查询开发平台应用 FindOpenAppById(context.Context, *OpenAppKey) (*OpenAppModel, error) // 创建实体开发平台应用 CreateOpenApp(context.Context, *OpenAppCreateReq) (*OpenAppModel, error) // 修改实体开发平台应用 UpdateOpenApp(context.Context, *OpenAppUpdateReq) (*OpenAppModel, error) // 删除开发平台应用 DeleteOpenApp(context.Context, *OpenAppKey) (*OpenAppModel, error) // 批量删除开发平台应用 BatchDeleteOpenApp(context.Context, *OpenAppKeyList) (*wrapperspb.Int32Value, error) // 查询翻页信息权限表 FindPermPage(context.Context, *PermReq) (*PermPage, error) // 查询列表信息权限表 FindPermList(context.Context, *PermReq) (*PermList, error) // 查询资源权限新信息 FindResourcePermList(context.Context, *ResourceReq) (*ResourcePermList, error) // 查询权限表 FindPermById(context.Context, *PermKey) (*PermModel, error) // 创建实体权限表 CreatePerm(context.Context, *PermCreateReq) (*PermModel, error) // 修改实体权限表 UpdatePerm(context.Context, *PermUpdateReq) (*PermModel, error) // 删除权限表 DeletePerm(context.Context, *PermKey) (*PermModel, error) // 批量删除权限表 BatchDeletePerm(context.Context, *PermKeyList) (*wrapperspb.Int32Value, error) // 权限编码校验 CheckPermCode(context.Context, *PermCheck) (*wrapperspb.BoolValue, error) // 查询列表信息资源表 FindResourceList(context.Context, *ResourceReq) (*ResourceList, error) // 查询资源树级结构 FindResourceTreeList(context.Context, *ResourceReq) (*TreeList, error) // 查询资源表 FindResourceById(context.Context, *ResourceKey) (*ResourceModel, error) // 创建实体资源表 CreateResource(context.Context, *ResourceCreateReq) (*ResourceModel, error) // 修改实体资源表 UpdateResource(context.Context, *ResourceUpdateReq) (*ResourceModel, error) // 删除资源表 DeleteResource(context.Context, *ResourceKey) (*ResourceModel, error) // 批量删除资源表 BatchDeleteResource(context.Context, *ResourceKeyList) (*wrapperspb.Int32Value, error) // 下载导入资源 DownloadResource(*ResourceExportReq, Rbac_DownloadResourceServer) error // 导入资源表 ImportResource(context.Context, *ResourceImportReq) (*wrapperspb.StringValue, error) // 导出资源表 ExportResource(*ResourceExportReq, Rbac_ExportResourceServer) error // 校验资源 ExistResource(context.Context, *VerifyResourceReq) (*wrapperspb.BoolValue, error) // 上移/下移 MoveResouce(context.Context, *ResourceMoveKey) (*wrapperspb.BoolValue, error) // 查询列表信息角色/职务表 FindRoleList(context.Context, *RoleReq) (*RoleList, error) // 查询列表信息角色/职务表 FindRoleTreeList(context.Context, *RoleReq) (*TreeList, error) // 查询角色/职务表 FindRoleById(context.Context, *RoleKey) (*RoleModel, error) // 创建实体角色/职务表 CreateRole(context.Context, *RoleCreateReq) (*RoleModel, error) // 修改实体角色/职务表 UpdateRole(context.Context, *RoleUpdateReq) (*RoleModel, error) // 删除角色/职务表 DeleteRole(context.Context, *RoleKey) (*RoleModel, error) // 批量删除角色/职务表 BatchDeleteRole(context.Context, *RoleKeyList) (*wrapperspb.Int32Value, error) // 角色授予权限. GrantPerm(context.Context, *RolePermReq) (*wrapperspb.Int32Value, error) // 取消角色授予权限. RevokePerm(context.Context, *RolePermReq) (*wrapperspb.Int32Value, error) // 上移/下移角色 MoveRole(context.Context, *RoleMoveKey) (*wrapperspb.BoolValue, error) // 校验角色 ExistRole(context.Context, *VerifyRoleReq) (*wrapperspb.BoolValue, error) // 查询翻页信息安全日志 FindUserLogPage(context.Context, *UserLogReq) (*UserLogPage, error) // 查询列表信息安全日志 FindUserLogList(context.Context, *UserLogReq) (*UserLogList, error) // 查询安全日志 FindUserLogById(context.Context, *UserLogKey) (*UserLogModel, error) // 删除安全日志 DeleteUserLog(context.Context, *UserLogDelReq) (*wrapperspb.Int32Value, error) // 导出安全日志 ExportUserLog(*UserLogExportReq, Rbac_ExportUserLogServer) error // 日志获取用户信息. GetUserDeptInfo(context.Context, *UserKey) (*UserDeptJobInfoRes, error) // 小程序授权登录 MiniAppLogin(context.Context, *MiniAppLoginReq) (*MiniAppLoginResp, error) // 获取微信小程序手机号 MiniAppPhoneNumber(context.Context, *MiniAppPhoneNumberReq) (*MiniAppLoginResp, error) // 已登录状态小程序更换绑定手机号 MiniAppBindPhone(context.Context, *MiniAppBindPhoneReq) (*wrapperspb.BoolValue, error) // contains filtered or unexported methods }
RbacServer is the server API for Rbac service. All implementations must embed UnimplementedRbacServer for forward compatibility
type Rbac_DownloadDeptClient ¶
type Rbac_DownloadDeptClient interface { Recv() (*httpbody.HttpBody, error) grpc.ClientStream }
type Rbac_DownloadDeptServer ¶
type Rbac_DownloadDeptServer interface { Send(*httpbody.HttpBody) error grpc.ServerStream }
type Rbac_DownloadResourceClient ¶
type Rbac_DownloadResourceClient interface { Recv() (*httpbody.HttpBody, error) grpc.ClientStream }
type Rbac_DownloadResourceServer ¶
type Rbac_DownloadResourceServer interface { Send(*httpbody.HttpBody) error grpc.ServerStream }
type Rbac_DownloadUserTemplateClient ¶
type Rbac_DownloadUserTemplateClient interface { Recv() (*httpbody.HttpBody, error) grpc.ClientStream }
type Rbac_DownloadUserTemplateServer ¶
type Rbac_DownloadUserTemplateServer interface { Send(*httpbody.HttpBody) error grpc.ServerStream }
type Rbac_ExportDeptClient ¶
type Rbac_ExportDeptClient interface { Recv() (*httpbody.HttpBody, error) grpc.ClientStream }
type Rbac_ExportDeptServer ¶
type Rbac_ExportDeptServer interface { Send(*httpbody.HttpBody) error grpc.ServerStream }
type Rbac_ExportLogClient ¶
type Rbac_ExportLogClient interface { Recv() (*httpbody.HttpBody, error) grpc.ClientStream }
type Rbac_ExportLogServer ¶
type Rbac_ExportLogServer interface { Send(*httpbody.HttpBody) error grpc.ServerStream }
type Rbac_ExportResourceClient ¶
type Rbac_ExportResourceClient interface { Recv() (*httpbody.HttpBody, error) grpc.ClientStream }
type Rbac_ExportResourceServer ¶
type Rbac_ExportResourceServer interface { Send(*httpbody.HttpBody) error grpc.ServerStream }
type Rbac_ExportUserClient ¶
type Rbac_ExportUserClient interface { Recv() (*httpbody.HttpBody, error) grpc.ClientStream }
type Rbac_ExportUserLogClient ¶
type Rbac_ExportUserLogClient interface { Recv() (*httpbody.HttpBody, error) grpc.ClientStream }
type Rbac_ExportUserLogServer ¶
type Rbac_ExportUserLogServer interface { Send(*httpbody.HttpBody) error grpc.ServerStream }
type Rbac_ExportUserServer ¶
type Rbac_ExportUserServer interface { Send(*httpbody.HttpBody) error grpc.ServerStream }
type Rbac_PrintDeptClient ¶
type Rbac_PrintDeptClient interface { Recv() (*basic.FileDownloadResp, error) grpc.ClientStream }
type Rbac_PrintDeptServer ¶
type Rbac_PrintDeptServer interface { Send(*basic.FileDownloadResp) error grpc.ServerStream }
type Rbac_PrintUserClient ¶
type Rbac_PrintUserClient interface { Recv() (*httpbody.HttpBody, error) grpc.ClientStream }
type Rbac_PrintUserServer ¶
type Rbac_PrintUserServer interface { Send(*httpbody.HttpBody) error grpc.ServerStream }
type RefreshTokenReq ¶
type RefreshTokenReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 刷新Token. RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // 客户端ID ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
刷新token
func (*RefreshTokenReq) Descriptor
deprecated
func (*RefreshTokenReq) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenReq.ProtoReflect.Descriptor instead.
func (*RefreshTokenReq) GetClientId ¶
func (x *RefreshTokenReq) GetClientId() string
func (*RefreshTokenReq) GetRefreshToken ¶
func (x *RefreshTokenReq) GetRefreshToken() string
func (*RefreshTokenReq) GetTenant ¶
func (x *RefreshTokenReq) GetTenant() string
func (*RefreshTokenReq) ProtoMessage ¶
func (*RefreshTokenReq) ProtoMessage()
func (*RefreshTokenReq) ProtoReflect ¶
func (x *RefreshTokenReq) ProtoReflect() protoreflect.Message
func (*RefreshTokenReq) Reset ¶
func (x *RefreshTokenReq) Reset()
func (*RefreshTokenReq) String ¶
func (x *RefreshTokenReq) String() string
type ResourceCreateReq ¶
type ResourceCreateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 模块ID ModuleId string `protobuf:"bytes,4,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // 资源编码 ResourceCode string `protobuf:"bytes,5,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"` // 资源名称 ResourceName string `protobuf:"bytes,6,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // 资源类型 ResourceType ResourceType `` /* 127-byte string literal not displayed */ // 父资源ID ParentId string `protobuf:"bytes,8,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 目标 Target_ string `protobuf:"bytes,9,opt,name=target_,json=target,proto3" json:"target_,omitempty"` // URL Url_ string `protobuf:"bytes,10,opt,name=url_,json=url,proto3" json:"url_,omitempty"` // 是否隐藏 Hidden_ bool `protobuf:"varint,11,opt,name=hidden_,json=hidden,proto3" json:"hidden_,omitempty"` // 图标 Icon_ string `protobuf:"bytes,12,opt,name=icon_,json=icon,proto3" json:"icon_,omitempty"` // 操作ID列表 OperCodes []string `protobuf:"bytes,13,rep,name=oper_codes,json=operCodes,proto3" json:"oper_codes,omitempty"` // contains filtered or unexported fields }
资源表新增实体
func (*ResourceCreateReq) Descriptor
deprecated
func (*ResourceCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCreateReq.ProtoReflect.Descriptor instead.
func (*ResourceCreateReq) GetHidden_ ¶
func (x *ResourceCreateReq) GetHidden_() bool
func (*ResourceCreateReq) GetIcon_ ¶
func (x *ResourceCreateReq) GetIcon_() string
func (*ResourceCreateReq) GetModuleId ¶
func (x *ResourceCreateReq) GetModuleId() string
func (*ResourceCreateReq) GetOperCodes ¶
func (x *ResourceCreateReq) GetOperCodes() []string
func (*ResourceCreateReq) GetParentId ¶
func (x *ResourceCreateReq) GetParentId() string
func (*ResourceCreateReq) GetRequestId ¶
func (x *ResourceCreateReq) GetRequestId() string
func (*ResourceCreateReq) GetResourceCode ¶
func (x *ResourceCreateReq) GetResourceCode() string
func (*ResourceCreateReq) GetResourceName ¶
func (x *ResourceCreateReq) GetResourceName() string
func (*ResourceCreateReq) GetResourceType ¶
func (x *ResourceCreateReq) GetResourceType() ResourceType
func (*ResourceCreateReq) GetTarget_ ¶
func (x *ResourceCreateReq) GetTarget_() string
func (*ResourceCreateReq) GetTenant ¶
func (x *ResourceCreateReq) GetTenant() string
func (*ResourceCreateReq) GetUrl_ ¶
func (x *ResourceCreateReq) GetUrl_() string
func (*ResourceCreateReq) GetValidateOnly ¶
func (x *ResourceCreateReq) GetValidateOnly() bool
func (*ResourceCreateReq) ProtoMessage ¶
func (*ResourceCreateReq) ProtoMessage()
func (*ResourceCreateReq) ProtoReflect ¶
func (x *ResourceCreateReq) ProtoReflect() protoreflect.Message
func (*ResourceCreateReq) Reset ¶
func (x *ResourceCreateReq) Reset()
func (*ResourceCreateReq) String ¶
func (x *ResourceCreateReq) String() string
type ResourceExportReq ¶
type ResourceExportReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 标题 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // 字段列表 TableHeads []*basic.TableHead `protobuf:"bytes,3,rep,name=table_heads,json=tableHeads,proto3" json:"table_heads,omitempty"` // 显示文件名 FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 资源ID ResourceId string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // 筛选条件 Req *ResourceReq `protobuf:"bytes,6,opt,name=req,proto3" json:"req,omitempty"` // contains filtered or unexported fields }
func (*ResourceExportReq) Descriptor
deprecated
func (*ResourceExportReq) Descriptor() ([]byte, []int)
Deprecated: Use ResourceExportReq.ProtoReflect.Descriptor instead.
func (*ResourceExportReq) GetFileName ¶
func (x *ResourceExportReq) GetFileName() string
func (*ResourceExportReq) GetReq ¶
func (x *ResourceExportReq) GetReq() *ResourceReq
func (*ResourceExportReq) GetResourceId ¶
func (x *ResourceExportReq) GetResourceId() string
func (*ResourceExportReq) GetTableHeads ¶
func (x *ResourceExportReq) GetTableHeads() []*basic.TableHead
func (*ResourceExportReq) GetTenant ¶
func (x *ResourceExportReq) GetTenant() string
func (*ResourceExportReq) GetTitle ¶
func (x *ResourceExportReq) GetTitle() string
func (*ResourceExportReq) ProtoMessage ¶
func (*ResourceExportReq) ProtoMessage()
func (*ResourceExportReq) ProtoReflect ¶
func (x *ResourceExportReq) ProtoReflect() protoreflect.Message
func (*ResourceExportReq) Reset ¶
func (x *ResourceExportReq) Reset()
func (*ResourceExportReq) String ¶
func (x *ResourceExportReq) String() string
type ResourceImportReq ¶
type ResourceImportReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 文件名 FileNames string `protobuf:"bytes,3,opt,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"` // 是否新增标识 AddFlag bool `protobuf:"varint,4,opt,name=add_flag,json=addFlag,proto3" json:"add_flag,omitempty"` // 更新字段掩码. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
资源导入请求
func (*ResourceImportReq) Descriptor
deprecated
func (*ResourceImportReq) Descriptor() ([]byte, []int)
Deprecated: Use ResourceImportReq.ProtoReflect.Descriptor instead.
func (*ResourceImportReq) GetAddFlag ¶
func (x *ResourceImportReq) GetAddFlag() bool
func (*ResourceImportReq) GetFileNames ¶
func (x *ResourceImportReq) GetFileNames() string
func (*ResourceImportReq) GetRequestId ¶
func (x *ResourceImportReq) GetRequestId() string
func (*ResourceImportReq) GetTenant ¶
func (x *ResourceImportReq) GetTenant() string
func (*ResourceImportReq) GetUpdateMask ¶
func (x *ResourceImportReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*ResourceImportReq) ProtoMessage ¶
func (*ResourceImportReq) ProtoMessage()
func (*ResourceImportReq) ProtoReflect ¶
func (x *ResourceImportReq) ProtoReflect() protoreflect.Message
func (*ResourceImportReq) Reset ¶
func (x *ResourceImportReq) Reset()
func (*ResourceImportReq) String ¶
func (x *ResourceImportReq) String() string
type ResourceKey ¶
type ResourceKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // contains filtered or unexported fields }
资源表List
func (*ResourceKey) Descriptor
deprecated
func (*ResourceKey) Descriptor() ([]byte, []int)
Deprecated: Use ResourceKey.ProtoReflect.Descriptor instead.
func (*ResourceKey) GetResourceId ¶
func (x *ResourceKey) GetResourceId() string
func (*ResourceKey) GetTenant ¶
func (x *ResourceKey) GetTenant() string
func (*ResourceKey) ProtoMessage ¶
func (*ResourceKey) ProtoMessage()
func (*ResourceKey) ProtoReflect ¶
func (x *ResourceKey) ProtoReflect() protoreflect.Message
func (*ResourceKey) Reset ¶
func (x *ResourceKey) Reset()
func (*ResourceKey) String ¶
func (x *ResourceKey) String() string
type ResourceKeyList ¶
type ResourceKeyList struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` ResourceId []string `protobuf:"bytes,2,rep,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // contains filtered or unexported fields }
资源表List
func (*ResourceKeyList) Descriptor
deprecated
func (*ResourceKeyList) Descriptor() ([]byte, []int)
Deprecated: Use ResourceKeyList.ProtoReflect.Descriptor instead.
func (*ResourceKeyList) GetResourceId ¶
func (x *ResourceKeyList) GetResourceId() []string
func (*ResourceKeyList) GetTenant ¶
func (x *ResourceKeyList) GetTenant() string
func (*ResourceKeyList) ProtoMessage ¶
func (*ResourceKeyList) ProtoMessage()
func (*ResourceKeyList) ProtoReflect ¶
func (x *ResourceKeyList) ProtoReflect() protoreflect.Message
func (*ResourceKeyList) Reset ¶
func (x *ResourceKeyList) Reset()
func (*ResourceKeyList) String ¶
func (x *ResourceKeyList) String() string
type ResourceList ¶
type ResourceList struct { // 当前页内容 Results []*ResourceModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
资源表列表
func (*ResourceList) Descriptor
deprecated
func (*ResourceList) Descriptor() ([]byte, []int)
Deprecated: Use ResourceList.ProtoReflect.Descriptor instead.
func (*ResourceList) GetResults ¶
func (x *ResourceList) GetResults() []*ResourceModel
func (*ResourceList) ProtoMessage ¶
func (*ResourceList) ProtoMessage()
func (*ResourceList) ProtoReflect ¶
func (x *ResourceList) ProtoReflect() protoreflect.Message
func (*ResourceList) Reset ¶
func (x *ResourceList) Reset()
func (*ResourceList) String ¶
func (x *ResourceList) String() string
type ResourceModel ¶
type ResourceModel struct { // 资源ID ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // 模块ID ModuleId string `protobuf:"bytes,2,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // 资源编码 ResourceCode string `protobuf:"bytes,3,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"` // 资源名称 ResourceName string `protobuf:"bytes,4,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // 资源类型 ResourceType string `protobuf:"bytes,5,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` // 父资源ID ParentId string `protobuf:"bytes,6,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 深度 Depth_ int32 `protobuf:"varint,7,opt,name=depth_,json=depth,proto3" json:"depth_,omitempty"` // 排序 OrderBy int32 `protobuf:"varint,8,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // 目标 Target_ string `protobuf:"bytes,9,opt,name=target_,json=target,proto3" json:"target_,omitempty"` // URL Url_ string `protobuf:"bytes,10,opt,name=url_,json=url,proto3" json:"url_,omitempty"` // 是否隐藏 Hidden_ bool `protobuf:"varint,11,opt,name=hidden_,json=hidden,proto3" json:"hidden_,omitempty"` // 孩子资源列表 Children []*ResourceModel `protobuf:"bytes,12,rep,name=children,proto3" json:"children,omitempty"` // 操作编码列表 OperCodes []string `protobuf:"bytes,13,rep,name=oper_codes,json=operCodes,proto3" json:"oper_codes,omitempty"` // 模块名称 ModuleName string `protobuf:"bytes,14,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` // 图标 Icon_ string `protobuf:"bytes,15,opt,name=icon_,json=icon,proto3" json:"icon_,omitempty"` // contains filtered or unexported fields }
资源表实体
func (*ResourceModel) Descriptor
deprecated
func (*ResourceModel) Descriptor() ([]byte, []int)
Deprecated: Use ResourceModel.ProtoReflect.Descriptor instead.
func (*ResourceModel) GetChildren ¶
func (x *ResourceModel) GetChildren() []*ResourceModel
func (*ResourceModel) GetDepth_ ¶
func (x *ResourceModel) GetDepth_() int32
func (*ResourceModel) GetHidden_ ¶
func (x *ResourceModel) GetHidden_() bool
func (*ResourceModel) GetIcon_ ¶
func (x *ResourceModel) GetIcon_() string
func (*ResourceModel) GetModuleId ¶
func (x *ResourceModel) GetModuleId() string
func (*ResourceModel) GetModuleName ¶
func (x *ResourceModel) GetModuleName() string
func (*ResourceModel) GetOperCodes ¶
func (x *ResourceModel) GetOperCodes() []string
func (*ResourceModel) GetOrderBy ¶
func (x *ResourceModel) GetOrderBy() int32
func (*ResourceModel) GetParentId ¶
func (x *ResourceModel) GetParentId() string
func (*ResourceModel) GetResourceCode ¶
func (x *ResourceModel) GetResourceCode() string
func (*ResourceModel) GetResourceId ¶
func (x *ResourceModel) GetResourceId() string
func (*ResourceModel) GetResourceName ¶
func (x *ResourceModel) GetResourceName() string
func (*ResourceModel) GetResourceType ¶
func (x *ResourceModel) GetResourceType() string
func (*ResourceModel) GetTarget_ ¶
func (x *ResourceModel) GetTarget_() string
func (*ResourceModel) GetUrl_ ¶
func (x *ResourceModel) GetUrl_() string
func (*ResourceModel) ProtoMessage ¶
func (*ResourceModel) ProtoMessage()
func (*ResourceModel) ProtoReflect ¶
func (x *ResourceModel) ProtoReflect() protoreflect.Message
func (*ResourceModel) Reset ¶
func (x *ResourceModel) Reset()
func (*ResourceModel) String ¶
func (x *ResourceModel) String() string
type ResourceModelTotal ¶
type ResourceModelTotal struct { // 总记录数 TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
合计
func (*ResourceModelTotal) Descriptor
deprecated
func (*ResourceModelTotal) Descriptor() ([]byte, []int)
Deprecated: Use ResourceModelTotal.ProtoReflect.Descriptor instead.
func (*ResourceModelTotal) GetTotalSize ¶
func (x *ResourceModelTotal) GetTotalSize() int32
func (*ResourceModelTotal) ProtoMessage ¶
func (*ResourceModelTotal) ProtoMessage()
func (*ResourceModelTotal) ProtoReflect ¶
func (x *ResourceModelTotal) ProtoReflect() protoreflect.Message
func (*ResourceModelTotal) Reset ¶
func (x *ResourceModelTotal) Reset()
func (*ResourceModelTotal) String ¶
func (x *ResourceModelTotal) String() string
type ResourceMoveKey ¶
type ResourceMoveKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 资源ID ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // 移动方式 Up bool `protobuf:"varint,3,opt,name=up,proto3" json:"up,omitempty"` // contains filtered or unexported fields }
func (*ResourceMoveKey) Descriptor
deprecated
func (*ResourceMoveKey) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMoveKey.ProtoReflect.Descriptor instead.
func (*ResourceMoveKey) GetResourceId ¶
func (x *ResourceMoveKey) GetResourceId() string
func (*ResourceMoveKey) GetTenant ¶
func (x *ResourceMoveKey) GetTenant() string
func (*ResourceMoveKey) GetUp ¶
func (x *ResourceMoveKey) GetUp() bool
func (*ResourceMoveKey) ProtoMessage ¶
func (*ResourceMoveKey) ProtoMessage()
func (*ResourceMoveKey) ProtoReflect ¶
func (x *ResourceMoveKey) ProtoReflect() protoreflect.Message
func (*ResourceMoveKey) Reset ¶
func (x *ResourceMoveKey) Reset()
func (*ResourceMoveKey) String ¶
func (x *ResourceMoveKey) String() string
type ResourcePage ¶
type ResourcePage struct { // 当前页内容 Results []*ResourceModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *ResourceModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *ResourceModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
资源表分页
func (*ResourcePage) Descriptor
deprecated
func (*ResourcePage) Descriptor() ([]byte, []int)
Deprecated: Use ResourcePage.ProtoReflect.Descriptor instead.
func (*ResourcePage) GetCurPage ¶
func (x *ResourcePage) GetCurPage() int32
func (*ResourcePage) GetPageSize ¶
func (x *ResourcePage) GetPageSize() int32
func (*ResourcePage) GetResults ¶
func (x *ResourcePage) GetResults() []*ResourceModel
func (*ResourcePage) GetSubTotalDto ¶
func (x *ResourcePage) GetSubTotalDto() *ResourceModelTotal
func (*ResourcePage) GetTotalDto ¶
func (x *ResourcePage) GetTotalDto() *ResourceModelTotal
func (*ResourcePage) GetTotalSize ¶
func (x *ResourcePage) GetTotalSize() int32
func (*ResourcePage) ProtoMessage ¶
func (*ResourcePage) ProtoMessage()
func (*ResourcePage) ProtoReflect ¶
func (x *ResourcePage) ProtoReflect() protoreflect.Message
func (*ResourcePage) Reset ¶
func (x *ResourcePage) Reset()
func (*ResourcePage) String ¶
func (x *ResourcePage) String() string
type ResourcePerm ¶
type ResourcePerm struct { ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` ParentId string `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Perms []*PermModel `protobuf:"bytes,4,rep,name=perms,proto3" json:"perms,omitempty"` Children []*ResourcePerm `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
资源权限
func (*ResourcePerm) Descriptor
deprecated
func (*ResourcePerm) Descriptor() ([]byte, []int)
Deprecated: Use ResourcePerm.ProtoReflect.Descriptor instead.
func (*ResourcePerm) GetChildren ¶
func (x *ResourcePerm) GetChildren() []*ResourcePerm
func (*ResourcePerm) GetParentId ¶
func (x *ResourcePerm) GetParentId() string
func (*ResourcePerm) GetPerms ¶
func (x *ResourcePerm) GetPerms() []*PermModel
func (*ResourcePerm) GetResourceId ¶
func (x *ResourcePerm) GetResourceId() string
func (*ResourcePerm) GetResourceName ¶
func (x *ResourcePerm) GetResourceName() string
func (*ResourcePerm) ProtoMessage ¶
func (*ResourcePerm) ProtoMessage()
func (*ResourcePerm) ProtoReflect ¶
func (x *ResourcePerm) ProtoReflect() protoreflect.Message
func (*ResourcePerm) Reset ¶
func (x *ResourcePerm) Reset()
func (*ResourcePerm) String ¶
func (x *ResourcePerm) String() string
type ResourcePermList ¶
type ResourcePermList struct { Results []*ResourcePerm `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
资源权限列表
func (*ResourcePermList) Descriptor
deprecated
func (*ResourcePermList) Descriptor() ([]byte, []int)
Deprecated: Use ResourcePermList.ProtoReflect.Descriptor instead.
func (*ResourcePermList) GetResults ¶
func (x *ResourcePermList) GetResults() []*ResourcePerm
func (*ResourcePermList) ProtoMessage ¶
func (*ResourcePermList) ProtoMessage()
func (*ResourcePermList) ProtoReflect ¶
func (x *ResourcePermList) ProtoReflect() protoreflect.Message
func (*ResourcePermList) Reset ¶
func (x *ResourcePermList) Reset()
func (*ResourcePermList) String ¶
func (x *ResourcePermList) String() string
type ResourceReq ¶
type ResourceReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 获取资源ID及其孩子 ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // 模块ID ModuleId string `protobuf:"bytes,5,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // 资源编码 ResourceCode string `protobuf:"bytes,6,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"` // 资源名称 LikeResourceName string `protobuf:"bytes,7,opt,name=like_resource_name,json=likeResourceName,proto3" json:"like_resource_name,omitempty"` // 资源类型 ResourceType string `protobuf:"bytes,8,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` // 父资源ID ParentId string `protobuf:"bytes,9,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 是否包含Hidden字段. HasHidden bool `protobuf:"varint,10,opt,name=has_hidden,json=hasHidden,proto3" json:"has_hidden,omitempty"` // 是否隐藏 Hidden_ bool `protobuf:"varint,11,opt,name=hidden_,json=hidden,proto3" json:"hidden_,omitempty"` // 需要隐藏的资源 ExcludeId string `protobuf:"bytes,12,opt,name=exclude_id,json=excludeId,proto3" json:"exclude_id,omitempty"` // contains filtered or unexported fields }
资源表查询
func (*ResourceReq) Descriptor
deprecated
func (*ResourceReq) Descriptor() ([]byte, []int)
Deprecated: Use ResourceReq.ProtoReflect.Descriptor instead.
func (*ResourceReq) GetExcludeId ¶
func (x *ResourceReq) GetExcludeId() string
func (*ResourceReq) GetHasHidden ¶
func (x *ResourceReq) GetHasHidden() bool
func (*ResourceReq) GetHidden_ ¶
func (x *ResourceReq) GetHidden_() bool
func (*ResourceReq) GetLikeResourceName ¶
func (x *ResourceReq) GetLikeResourceName() string
func (*ResourceReq) GetModuleId ¶
func (x *ResourceReq) GetModuleId() string
func (*ResourceReq) GetParentId ¶
func (x *ResourceReq) GetParentId() string
func (*ResourceReq) GetResourceCode ¶
func (x *ResourceReq) GetResourceCode() string
func (*ResourceReq) GetResourceId ¶
func (x *ResourceReq) GetResourceId() string
func (*ResourceReq) GetResourceType ¶
func (x *ResourceReq) GetResourceType() string
func (*ResourceReq) GetTenant ¶
func (x *ResourceReq) GetTenant() string
func (*ResourceReq) ProtoMessage ¶
func (*ResourceReq) ProtoMessage()
func (*ResourceReq) ProtoReflect ¶
func (x *ResourceReq) ProtoReflect() protoreflect.Message
func (*ResourceReq) Reset ¶
func (x *ResourceReq) Reset()
func (*ResourceReq) String ¶
func (x *ResourceReq) String() string
type ResourceType ¶
type ResourceType int32
资源类型
const ( // 目录 ResourceType_catalog ResourceType = 0 ResourceType_menu ResourceType = 1 // 其他 ResourceType_other ResourceType = 2 )
func (ResourceType) Descriptor ¶
func (ResourceType) Descriptor() protoreflect.EnumDescriptor
func (ResourceType) Enum ¶
func (x ResourceType) Enum() *ResourceType
func (ResourceType) EnumDescriptor
deprecated
func (ResourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceType.Descriptor instead.
func (ResourceType) Number ¶
func (x ResourceType) Number() protoreflect.EnumNumber
func (ResourceType) String ¶
func (x ResourceType) String() string
func (ResourceType) Type ¶
func (ResourceType) Type() protoreflect.EnumType
type ResourceUpdateReq ¶
type ResourceUpdateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 更新字段掩码. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // 资源ID ResourceId string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // 模块ID ModuleId string `protobuf:"bytes,6,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"` // 资源编码 ResourceCode string `protobuf:"bytes,7,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"` // 资源名称 ResourceName string `protobuf:"bytes,8,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // 资源类型 ResourceType ResourceType `` /* 127-byte string literal not displayed */ // 父资源ID ParentId string `protobuf:"bytes,10,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 目标 Target_ string `protobuf:"bytes,11,opt,name=target_,json=target,proto3" json:"target_,omitempty"` // URL Url_ string `protobuf:"bytes,12,opt,name=url_,json=url,proto3" json:"url_,omitempty"` // 是否隐藏 Hidden_ bool `protobuf:"varint,13,opt,name=hidden_,json=hidden,proto3" json:"hidden_,omitempty"` // 图标 Icon_ string `protobuf:"bytes,14,opt,name=icon_,json=icon,proto3" json:"icon_,omitempty"` // 操作ID列表 OperCodes []string `protobuf:"bytes,15,rep,name=oper_codes,json=operCodes,proto3" json:"oper_codes,omitempty"` // contains filtered or unexported fields }
资源表修改实体
func (*ResourceUpdateReq) Descriptor
deprecated
func (*ResourceUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use ResourceUpdateReq.ProtoReflect.Descriptor instead.
func (*ResourceUpdateReq) GetHidden_ ¶
func (x *ResourceUpdateReq) GetHidden_() bool
func (*ResourceUpdateReq) GetIcon_ ¶
func (x *ResourceUpdateReq) GetIcon_() string
func (*ResourceUpdateReq) GetModuleId ¶
func (x *ResourceUpdateReq) GetModuleId() string
func (*ResourceUpdateReq) GetOperCodes ¶
func (x *ResourceUpdateReq) GetOperCodes() []string
func (*ResourceUpdateReq) GetParentId ¶
func (x *ResourceUpdateReq) GetParentId() string
func (*ResourceUpdateReq) GetRequestId ¶
func (x *ResourceUpdateReq) GetRequestId() string
func (*ResourceUpdateReq) GetResourceCode ¶
func (x *ResourceUpdateReq) GetResourceCode() string
func (*ResourceUpdateReq) GetResourceId ¶
func (x *ResourceUpdateReq) GetResourceId() string
func (*ResourceUpdateReq) GetResourceName ¶
func (x *ResourceUpdateReq) GetResourceName() string
func (*ResourceUpdateReq) GetResourceType ¶
func (x *ResourceUpdateReq) GetResourceType() ResourceType
func (*ResourceUpdateReq) GetTarget_ ¶
func (x *ResourceUpdateReq) GetTarget_() string
func (*ResourceUpdateReq) GetTenant ¶
func (x *ResourceUpdateReq) GetTenant() string
func (*ResourceUpdateReq) GetUpdateMask ¶
func (x *ResourceUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*ResourceUpdateReq) GetUrl_ ¶
func (x *ResourceUpdateReq) GetUrl_() string
func (*ResourceUpdateReq) GetValidateOnly ¶
func (x *ResourceUpdateReq) GetValidateOnly() bool
func (*ResourceUpdateReq) ProtoMessage ¶
func (*ResourceUpdateReq) ProtoMessage()
func (*ResourceUpdateReq) ProtoReflect ¶
func (x *ResourceUpdateReq) ProtoReflect() protoreflect.Message
func (*ResourceUpdateReq) Reset ¶
func (x *ResourceUpdateReq) Reset()
func (*ResourceUpdateReq) String ¶
func (x *ResourceUpdateReq) String() string
type RoleCreateReq ¶
type RoleCreateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 角色编码/职务编码 RoleCode string `protobuf:"bytes,4,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"` // 角色名称/职务名称 RoleName string `protobuf:"bytes,5,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // 角色/职务 RoleType RoleType `protobuf:"varint,6,opt,name=role_type,json=roleType,proto3,enum=jmash.rbac.RoleType" json:"role_type,omitempty"` // 父角色 ParentId string `protobuf:"bytes,7,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 描述 Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // 角色权限 PermCodes []string `protobuf:"bytes,9,rep,name=perm_codes,json=permCodes,proto3" json:"perm_codes,omitempty"` // 角色互斥 RoleDuty []*RoleDuty `protobuf:"bytes,10,rep,name=role_duty,json=roleDuty,proto3" json:"role_duty,omitempty"` // contains filtered or unexported fields }
角色/职务表新增实体
func (*RoleCreateReq) Descriptor
deprecated
func (*RoleCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use RoleCreateReq.ProtoReflect.Descriptor instead.
func (*RoleCreateReq) GetDescription_ ¶
func (x *RoleCreateReq) GetDescription_() string
func (*RoleCreateReq) GetParentId ¶
func (x *RoleCreateReq) GetParentId() string
func (*RoleCreateReq) GetPermCodes ¶
func (x *RoleCreateReq) GetPermCodes() []string
func (*RoleCreateReq) GetRequestId ¶
func (x *RoleCreateReq) GetRequestId() string
func (*RoleCreateReq) GetRoleCode ¶
func (x *RoleCreateReq) GetRoleCode() string
func (*RoleCreateReq) GetRoleDuty ¶
func (x *RoleCreateReq) GetRoleDuty() []*RoleDuty
func (*RoleCreateReq) GetRoleName ¶
func (x *RoleCreateReq) GetRoleName() string
func (*RoleCreateReq) GetRoleType ¶
func (x *RoleCreateReq) GetRoleType() RoleType
func (*RoleCreateReq) GetTenant ¶
func (x *RoleCreateReq) GetTenant() string
func (*RoleCreateReq) GetValidateOnly ¶
func (x *RoleCreateReq) GetValidateOnly() bool
func (*RoleCreateReq) ProtoMessage ¶
func (*RoleCreateReq) ProtoMessage()
func (*RoleCreateReq) ProtoReflect ¶
func (x *RoleCreateReq) ProtoReflect() protoreflect.Message
func (*RoleCreateReq) Reset ¶
func (x *RoleCreateReq) Reset()
func (*RoleCreateReq) String ¶
func (x *RoleCreateReq) String() string
type RoleDuty ¶
type RoleDuty struct { // 角色ID/职务ID RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // 职责分离类型 DutyType DutyType `protobuf:"varint,3,opt,name=duty_type,json=dutyType,proto3,enum=jmash.rbac.DutyType" json:"duty_type,omitempty"` // contains filtered or unexported fields }
角色互斥.
func (*RoleDuty) Descriptor
deprecated
func (*RoleDuty) GetDutyType ¶
func (*RoleDuty) ProtoMessage ¶
func (*RoleDuty) ProtoMessage()
func (*RoleDuty) ProtoReflect ¶
func (x *RoleDuty) ProtoReflect() protoreflect.Message
type RoleDutyModel ¶
type RoleDutyModel struct { // 角色ID/职务ID RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // 角色/职务名称 RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // 职责分离类型 DutyType DutyType `protobuf:"varint,3,opt,name=duty_type,json=dutyType,proto3,enum=jmash.rbac.DutyType" json:"duty_type,omitempty"` // contains filtered or unexported fields }
角色互斥.
func (*RoleDutyModel) Descriptor
deprecated
func (*RoleDutyModel) Descriptor() ([]byte, []int)
Deprecated: Use RoleDutyModel.ProtoReflect.Descriptor instead.
func (*RoleDutyModel) GetDutyType ¶
func (x *RoleDutyModel) GetDutyType() DutyType
func (*RoleDutyModel) GetRoleId ¶
func (x *RoleDutyModel) GetRoleId() string
func (*RoleDutyModel) GetRoleName ¶
func (x *RoleDutyModel) GetRoleName() string
func (*RoleDutyModel) ProtoMessage ¶
func (*RoleDutyModel) ProtoMessage()
func (*RoleDutyModel) ProtoReflect ¶
func (x *RoleDutyModel) ProtoReflect() protoreflect.Message
func (*RoleDutyModel) Reset ¶
func (x *RoleDutyModel) Reset()
func (*RoleDutyModel) String ¶
func (x *RoleDutyModel) String() string
type RoleKey ¶
type RoleKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
角色/职务Key
func (*RoleKey) Descriptor
deprecated
func (*RoleKey) ProtoMessage ¶
func (*RoleKey) ProtoMessage()
func (*RoleKey) ProtoReflect ¶
func (x *RoleKey) ProtoReflect() protoreflect.Message
type RoleKeyList ¶
type RoleKeyList struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` RoleId []string `protobuf:"bytes,2,rep,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
角色/职务表List
func (*RoleKeyList) Descriptor
deprecated
func (*RoleKeyList) Descriptor() ([]byte, []int)
Deprecated: Use RoleKeyList.ProtoReflect.Descriptor instead.
func (*RoleKeyList) GetRoleId ¶
func (x *RoleKeyList) GetRoleId() []string
func (*RoleKeyList) GetTenant ¶
func (x *RoleKeyList) GetTenant() string
func (*RoleKeyList) ProtoMessage ¶
func (*RoleKeyList) ProtoMessage()
func (*RoleKeyList) ProtoReflect ¶
func (x *RoleKeyList) ProtoReflect() protoreflect.Message
func (*RoleKeyList) Reset ¶
func (x *RoleKeyList) Reset()
func (*RoleKeyList) String ¶
func (x *RoleKeyList) String() string
type RoleList ¶
type RoleList struct { // 当前页内容 Results []*RoleModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
角色/职务表列表
func (*RoleList) Descriptor
deprecated
func (*RoleList) GetResults ¶
func (*RoleList) ProtoMessage ¶
func (*RoleList) ProtoMessage()
func (*RoleList) ProtoReflect ¶
func (x *RoleList) ProtoReflect() protoreflect.Message
type RoleModel ¶
type RoleModel struct { // 角色ID/职务ID RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // 角色编码/职务编码 RoleCode string `protobuf:"bytes,2,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"` // 角色名称/职务名称 RoleName string `protobuf:"bytes,3,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // 角色/职务 RoleType RoleType `protobuf:"varint,4,opt,name=role_type,json=roleType,proto3,enum=jmash.rbac.RoleType" json:"role_type,omitempty"` // 父角色 ParentId string `protobuf:"bytes,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 深度 Depth_ int32 `protobuf:"varint,6,opt,name=depth_,json=depth,proto3" json:"depth_,omitempty"` // 排序 OrderBy int32 `protobuf:"varint,7,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // 描述 Description_ string `protobuf:"bytes,8,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // 创建人 CreateBy string `protobuf:"bytes,9,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 创建时间 CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 子角色. Children []*RoleModel `protobuf:"bytes,11,rep,name=children,proto3" json:"children,omitempty"` // 角色权限 PermCodes []string `protobuf:"bytes,12,rep,name=perm_codes,json=permCodes,proto3" json:"perm_codes,omitempty"` // 角色互斥 RoleDutyModel []*RoleDutyModel `protobuf:"bytes,13,rep,name=role_duty_model,json=roleDutyModel,proto3" json:"role_duty_model,omitempty"` // contains filtered or unexported fields }
角色/职务表实体
func (*RoleModel) Descriptor
deprecated
func (*RoleModel) GetChildren ¶
func (*RoleModel) GetCreateBy ¶
func (*RoleModel) GetCreateTime ¶
func (x *RoleModel) GetCreateTime() *timestamppb.Timestamp
func (*RoleModel) GetDescription_ ¶
func (*RoleModel) GetOrderBy ¶
func (*RoleModel) GetParentId ¶
func (*RoleModel) GetPermCodes ¶
func (*RoleModel) GetRoleCode ¶
func (*RoleModel) GetRoleDutyModel ¶
func (x *RoleModel) GetRoleDutyModel() []*RoleDutyModel
func (*RoleModel) GetRoleName ¶
func (*RoleModel) GetRoleType ¶
func (*RoleModel) ProtoMessage ¶
func (*RoleModel) ProtoMessage()
func (*RoleModel) ProtoReflect ¶
func (x *RoleModel) ProtoReflect() protoreflect.Message
type RoleModelTotal ¶
type RoleModelTotal struct { // 总记录数 TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
合计
func (*RoleModelTotal) Descriptor
deprecated
func (*RoleModelTotal) Descriptor() ([]byte, []int)
Deprecated: Use RoleModelTotal.ProtoReflect.Descriptor instead.
func (*RoleModelTotal) GetTotalSize ¶
func (x *RoleModelTotal) GetTotalSize() int32
func (*RoleModelTotal) ProtoMessage ¶
func (*RoleModelTotal) ProtoMessage()
func (*RoleModelTotal) ProtoReflect ¶
func (x *RoleModelTotal) ProtoReflect() protoreflect.Message
func (*RoleModelTotal) Reset ¶
func (x *RoleModelTotal) Reset()
func (*RoleModelTotal) String ¶
func (x *RoleModelTotal) String() string
type RoleMoveKey ¶
type RoleMoveKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 角色ID/职务ID RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // 是否上移 Up bool `protobuf:"varint,3,opt,name=up,proto3" json:"up,omitempty"` // contains filtered or unexported fields }
上移/下移
func (*RoleMoveKey) Descriptor
deprecated
func (*RoleMoveKey) Descriptor() ([]byte, []int)
Deprecated: Use RoleMoveKey.ProtoReflect.Descriptor instead.
func (*RoleMoveKey) GetRoleId ¶
func (x *RoleMoveKey) GetRoleId() string
func (*RoleMoveKey) GetTenant ¶
func (x *RoleMoveKey) GetTenant() string
func (*RoleMoveKey) GetUp ¶
func (x *RoleMoveKey) GetUp() bool
func (*RoleMoveKey) ProtoMessage ¶
func (*RoleMoveKey) ProtoMessage()
func (*RoleMoveKey) ProtoReflect ¶
func (x *RoleMoveKey) ProtoReflect() protoreflect.Message
func (*RoleMoveKey) Reset ¶
func (x *RoleMoveKey) Reset()
func (*RoleMoveKey) String ¶
func (x *RoleMoveKey) String() string
type RolePage ¶
type RolePage struct { // 当前页内容 Results []*RoleModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *RoleModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *RoleModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
角色/职务表分页
func (*RolePage) Descriptor
deprecated
func (*RolePage) GetCurPage ¶
func (*RolePage) GetPageSize ¶
func (*RolePage) GetResults ¶
func (*RolePage) GetSubTotalDto ¶
func (x *RolePage) GetSubTotalDto() *RoleModelTotal
func (*RolePage) GetTotalDto ¶
func (x *RolePage) GetTotalDto() *RoleModelTotal
func (*RolePage) GetTotalSize ¶
func (*RolePage) ProtoMessage ¶
func (*RolePage) ProtoMessage()
func (*RolePage) ProtoReflect ¶
func (x *RolePage) ProtoReflect() protoreflect.Message
type RolePermReq ¶
type RolePermReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 角色ID/职务ID RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // 权限编码 PermCodes []string `protobuf:"bytes,3,rep,name=perm_codes,json=permCodes,proto3" json:"perm_codes,omitempty"` // contains filtered or unexported fields }
func (*RolePermReq) Descriptor
deprecated
func (*RolePermReq) Descriptor() ([]byte, []int)
Deprecated: Use RolePermReq.ProtoReflect.Descriptor instead.
func (*RolePermReq) GetPermCodes ¶
func (x *RolePermReq) GetPermCodes() []string
func (*RolePermReq) GetRoleId ¶
func (x *RolePermReq) GetRoleId() string
func (*RolePermReq) GetTenant ¶
func (x *RolePermReq) GetTenant() string
func (*RolePermReq) ProtoMessage ¶
func (*RolePermReq) ProtoMessage()
func (*RolePermReq) ProtoReflect ¶
func (x *RolePermReq) ProtoReflect() protoreflect.Message
func (*RolePermReq) Reset ¶
func (x *RolePermReq) Reset()
func (*RolePermReq) String ¶
func (x *RolePermReq) String() string
type RolePermSet ¶
type RolePermSet struct { // 角色编码列表 RoleCodes []string `protobuf:"bytes,1,rep,name=role_codes,json=roleCodes,proto3" json:"role_codes,omitempty"` // 权限编码列表 PermCodes []string `protobuf:"bytes,2,rep,name=perm_codes,json=permCodes,proto3" json:"perm_codes,omitempty"` // contains filtered or unexported fields }
角色列表
func (*RolePermSet) Descriptor
deprecated
func (*RolePermSet) Descriptor() ([]byte, []int)
Deprecated: Use RolePermSet.ProtoReflect.Descriptor instead.
func (*RolePermSet) GetPermCodes ¶
func (x *RolePermSet) GetPermCodes() []string
func (*RolePermSet) GetRoleCodes ¶
func (x *RolePermSet) GetRoleCodes() []string
func (*RolePermSet) ProtoMessage ¶
func (*RolePermSet) ProtoMessage()
func (*RolePermSet) ProtoReflect ¶
func (x *RolePermSet) ProtoReflect() protoreflect.Message
func (*RolePermSet) Reset ¶
func (x *RolePermSet) Reset()
func (*RolePermSet) String ¶
func (x *RolePermSet) String() string
type RoleReq ¶
type RoleReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 排序名称 OrderName string `protobuf:"bytes,4,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"` // 是否升序排序 OrderAsc bool `protobuf:"varint,5,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"` // 创建人 CreateBy string `protobuf:"bytes,6,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 角色编码/职务编码 RoleCode string `protobuf:"bytes,7,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"` // 角色名称/职务名称 LikeRoleName string `protobuf:"bytes,8,opt,name=like_role_name,json=likeRoleName,proto3" json:"like_role_name,omitempty"` // 是否包含角色类型 HasRoleType bool `protobuf:"varint,9,opt,name=has_role_type,json=hasRoleType,proto3" json:"has_role_type,omitempty"` // 角色/职务 RoleType RoleType `protobuf:"varint,10,opt,name=role_type,json=roleType,proto3,enum=jmash.rbac.RoleType" json:"role_type,omitempty"` // 需要隐藏的角色 ExcludeId string `protobuf:"bytes,11,opt,name=exclude_id,json=excludeId,proto3" json:"exclude_id,omitempty"` // contains filtered or unexported fields }
角色/职务表查询
func (*RoleReq) Descriptor
deprecated
func (*RoleReq) GetCreateBy ¶
func (*RoleReq) GetExcludeId ¶
func (*RoleReq) GetHasRoleType ¶
func (*RoleReq) GetLikeRoleName ¶
func (*RoleReq) GetOrderAsc ¶
func (*RoleReq) GetOrderName ¶
func (*RoleReq) GetRoleCode ¶
func (*RoleReq) GetRoleType ¶
func (*RoleReq) ProtoMessage ¶
func (*RoleReq) ProtoMessage()
func (*RoleReq) ProtoReflect ¶
func (x *RoleReq) ProtoReflect() protoreflect.Message
type RoleType ¶
type RoleType int32
角色类型
func (RoleType) Descriptor ¶
func (RoleType) Descriptor() protoreflect.EnumDescriptor
func (RoleType) EnumDescriptor
deprecated
func (RoleType) Number ¶
func (x RoleType) Number() protoreflect.EnumNumber
func (RoleType) Type ¶
func (RoleType) Type() protoreflect.EnumType
type RoleUpdateReq ¶
type RoleUpdateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 更新字段掩码. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // 角色ID/职务ID RoleId string `protobuf:"bytes,5,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // 角色编码/职务编码 RoleCode string `protobuf:"bytes,6,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"` // 角色名称/职务名称 RoleName string `protobuf:"bytes,7,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // 角色/职务 RoleType RoleType `protobuf:"varint,8,opt,name=role_type,json=roleType,proto3,enum=jmash.rbac.RoleType" json:"role_type,omitempty"` // 父角色 ParentId string `protobuf:"bytes,9,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 描述 Description_ string `protobuf:"bytes,10,opt,name=description_,json=description,proto3" json:"description_,omitempty"` // 角色权限 PermCodes []string `protobuf:"bytes,11,rep,name=perm_codes,json=permCodes,proto3" json:"perm_codes,omitempty"` // 角色互斥 RoleDuty []*RoleDuty `protobuf:"bytes,12,rep,name=role_duty,json=roleDuty,proto3" json:"role_duty,omitempty"` // contains filtered or unexported fields }
角色/职务表修改实体
func (*RoleUpdateReq) Descriptor
deprecated
func (*RoleUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use RoleUpdateReq.ProtoReflect.Descriptor instead.
func (*RoleUpdateReq) GetDescription_ ¶
func (x *RoleUpdateReq) GetDescription_() string
func (*RoleUpdateReq) GetParentId ¶
func (x *RoleUpdateReq) GetParentId() string
func (*RoleUpdateReq) GetPermCodes ¶
func (x *RoleUpdateReq) GetPermCodes() []string
func (*RoleUpdateReq) GetRequestId ¶
func (x *RoleUpdateReq) GetRequestId() string
func (*RoleUpdateReq) GetRoleCode ¶
func (x *RoleUpdateReq) GetRoleCode() string
func (*RoleUpdateReq) GetRoleDuty ¶
func (x *RoleUpdateReq) GetRoleDuty() []*RoleDuty
func (*RoleUpdateReq) GetRoleId ¶
func (x *RoleUpdateReq) GetRoleId() string
func (*RoleUpdateReq) GetRoleName ¶
func (x *RoleUpdateReq) GetRoleName() string
func (*RoleUpdateReq) GetRoleType ¶
func (x *RoleUpdateReq) GetRoleType() RoleType
func (*RoleUpdateReq) GetTenant ¶
func (x *RoleUpdateReq) GetTenant() string
func (*RoleUpdateReq) GetUpdateMask ¶
func (x *RoleUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*RoleUpdateReq) GetValidateOnly ¶
func (x *RoleUpdateReq) GetValidateOnly() bool
func (*RoleUpdateReq) ProtoMessage ¶
func (*RoleUpdateReq) ProtoMessage()
func (*RoleUpdateReq) ProtoReflect ¶
func (x *RoleUpdateReq) ProtoReflect() protoreflect.Message
func (*RoleUpdateReq) Reset ¶
func (x *RoleUpdateReq) Reset()
func (*RoleUpdateReq) String ¶
func (x *RoleUpdateReq) String() string
type RunAsReq ¶
type RunAsReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用户ID UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 范围 Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"` // contains filtered or unexported fields }
切换身份
func (*RunAsReq) Descriptor
deprecated
func (*RunAsReq) ProtoMessage ¶
func (*RunAsReq) ProtoMessage()
func (*RunAsReq) ProtoReflect ¶
func (x *RunAsReq) ProtoReflect() protoreflect.Message
type SendValidCodeReq ¶
type SendValidCodeReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 目录ID DirectoryId string `protobuf:"bytes,2,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // Email/phone Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 验证码ID Captcha ID ticket. CaptchaId string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` // 用户输入验证码文本. CaptchaCode string `protobuf:"bytes,5,opt,name=captcha_code,json=captchaCode,proto3" json:"captcha_code,omitempty"` // contains filtered or unexported fields }
发送验证码.
func (*SendValidCodeReq) Descriptor
deprecated
func (*SendValidCodeReq) Descriptor() ([]byte, []int)
Deprecated: Use SendValidCodeReq.ProtoReflect.Descriptor instead.
func (*SendValidCodeReq) GetCaptchaCode ¶
func (x *SendValidCodeReq) GetCaptchaCode() string
func (*SendValidCodeReq) GetCaptchaId ¶
func (x *SendValidCodeReq) GetCaptchaId() string
func (*SendValidCodeReq) GetDirectoryId ¶
func (x *SendValidCodeReq) GetDirectoryId() string
func (*SendValidCodeReq) GetName ¶
func (x *SendValidCodeReq) GetName() string
func (*SendValidCodeReq) GetTenant ¶
func (x *SendValidCodeReq) GetTenant() string
func (*SendValidCodeReq) ProtoMessage ¶
func (*SendValidCodeReq) ProtoMessage()
func (*SendValidCodeReq) ProtoReflect ¶
func (x *SendValidCodeReq) ProtoReflect() protoreflect.Message
func (*SendValidCodeReq) Reset ¶
func (x *SendValidCodeReq) Reset()
func (*SendValidCodeReq) String ¶
func (x *SendValidCodeReq) String() string
type TokenResp ¶
type TokenResp struct { // 访问Token. AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // 过期时间(单位:毫秒). ExpiresIn int32 `protobuf:"varint,2,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // 刷新Token. RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // Token类型. TokenType string `protobuf:"bytes,4,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` // contains filtered or unexported fields }
登录成功响应.
func (*TokenResp) Descriptor
deprecated
func (*TokenResp) GetAccessToken ¶
func (*TokenResp) GetExpiresIn ¶
func (*TokenResp) GetRefreshToken ¶
func (*TokenResp) GetTokenType ¶
func (*TokenResp) ProtoMessage ¶
func (*TokenResp) ProtoMessage()
func (*TokenResp) ProtoReflect ¶
func (x *TokenResp) ProtoReflect() protoreflect.Message
type TreeList ¶
type TreeList struct { Results []*TreeModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*TreeList) Descriptor
deprecated
func (*TreeList) GetResults ¶
func (*TreeList) ProtoMessage ¶
func (*TreeList) ProtoMessage()
func (*TreeList) ProtoReflect ¶
func (x *TreeList) ProtoReflect() protoreflect.Message
type TreeModel ¶
type TreeModel struct { // 资源ID Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // 资源名称 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // 父级ID ParentId string `protobuf:"bytes,3,opt,name=parentId,proto3" json:"parentId,omitempty"` // 子节点 Children []*TreeModel `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*TreeModel) Descriptor
deprecated
func (*TreeModel) GetChildren ¶
func (*TreeModel) GetParentId ¶
func (*TreeModel) ProtoMessage ¶
func (*TreeModel) ProtoMessage()
func (*TreeModel) ProtoReflect ¶
func (x *TreeModel) ProtoReflect() protoreflect.Message
type UnimplementedRbacServer ¶
type UnimplementedRbacServer struct { }
UnimplementedRbacServer must be embedded to have forward compatible implementations.
func (UnimplementedRbacServer) AllowRunAsUser ¶
func (UnimplementedRbacServer) ApprovedUser ¶
func (UnimplementedRbacServer) ApprovedUser(context.Context, *ApprovedUserReq) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) AssignUser ¶
func (UnimplementedRbacServer) AssignUser(context.Context, *UserRoleReq) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) BatchDeleteDept ¶
func (UnimplementedRbacServer) BatchDeleteDept(context.Context, *DeptKeyList) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) BatchDeleteModule ¶
func (UnimplementedRbacServer) BatchDeleteModule(context.Context, *ModuleKeyList) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) BatchDeleteOpenApp ¶
func (UnimplementedRbacServer) BatchDeleteOpenApp(context.Context, *OpenAppKeyList) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) BatchDeleteOperation ¶
func (UnimplementedRbacServer) BatchDeleteOperation(context.Context, *OperationKeyList) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) BatchDeletePerm ¶
func (UnimplementedRbacServer) BatchDeletePerm(context.Context, *PermKeyList) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) BatchDeleteResource ¶
func (UnimplementedRbacServer) BatchDeleteResource(context.Context, *ResourceKeyList) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) BatchDeleteRole ¶
func (UnimplementedRbacServer) BatchDeleteRole(context.Context, *RoleKeyList) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) BatchDeleteUser ¶
func (UnimplementedRbacServer) BatchDeleteUser(context.Context, *UserKeyList) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) BatchEnableUser ¶
func (UnimplementedRbacServer) BatchEnableUser(context.Context, *EnableUserReq) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) BindPhoneEmail ¶
func (UnimplementedRbacServer) BindPhoneEmail(context.Context, *BindPhoneEmailReq) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) ChangePwd ¶
func (UnimplementedRbacServer) ChangePwd(context.Context, *ChangePwdReq) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) CheckModuleCode ¶
func (UnimplementedRbacServer) CheckModuleCode(context.Context, *ModuleCheck) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) CheckOperationCode ¶
func (UnimplementedRbacServer) CheckOperationCode(context.Context, *OperationCheck) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) CheckPermCode ¶
func (UnimplementedRbacServer) CheckPermCode(context.Context, *PermCheck) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) CreateDept ¶
func (UnimplementedRbacServer) CreateDept(context.Context, *DeptCreateReq) (*DeptModel, error)
func (UnimplementedRbacServer) CreateModule ¶
func (UnimplementedRbacServer) CreateModule(context.Context, *ModuleCreateReq) (*ModuleModel, error)
func (UnimplementedRbacServer) CreateOpenApp ¶
func (UnimplementedRbacServer) CreateOpenApp(context.Context, *OpenAppCreateReq) (*OpenAppModel, error)
func (UnimplementedRbacServer) CreateOperation ¶
func (UnimplementedRbacServer) CreateOperation(context.Context, *OperationCreateReq) (*OperationModel, error)
func (UnimplementedRbacServer) CreatePerm ¶
func (UnimplementedRbacServer) CreatePerm(context.Context, *PermCreateReq) (*PermModel, error)
func (UnimplementedRbacServer) CreateResource ¶
func (UnimplementedRbacServer) CreateResource(context.Context, *ResourceCreateReq) (*ResourceModel, error)
func (UnimplementedRbacServer) CreateRole ¶
func (UnimplementedRbacServer) CreateRole(context.Context, *RoleCreateReq) (*RoleModel, error)
func (UnimplementedRbacServer) CreateUser ¶
func (UnimplementedRbacServer) CreateUser(context.Context, *UserCreateReq) (*UserModel, error)
func (UnimplementedRbacServer) DeassignUser ¶
func (UnimplementedRbacServer) DeassignUser(context.Context, *UserRoleReq) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) DeleteDept ¶
func (UnimplementedRbacServer) DeleteLog ¶
func (UnimplementedRbacServer) DeleteLog(context.Context, *LogDelReq) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) DeleteModule ¶
func (UnimplementedRbacServer) DeleteModule(context.Context, *ModuleKey) (*ModuleModel, error)
func (UnimplementedRbacServer) DeleteOpenApp ¶
func (UnimplementedRbacServer) DeleteOpenApp(context.Context, *OpenAppKey) (*OpenAppModel, error)
func (UnimplementedRbacServer) DeleteOpens ¶
func (UnimplementedRbacServer) DeleteOpens(context.Context, *OpensKey) (*OpensModel, error)
func (UnimplementedRbacServer) DeleteOperation ¶
func (UnimplementedRbacServer) DeleteOperation(context.Context, *OperationKey) (*OperationModel, error)
func (UnimplementedRbacServer) DeletePerm ¶
func (UnimplementedRbacServer) DeleteResource ¶
func (UnimplementedRbacServer) DeleteResource(context.Context, *ResourceKey) (*ResourceModel, error)
func (UnimplementedRbacServer) DeleteRole ¶
func (UnimplementedRbacServer) DeleteUser ¶
func (UnimplementedRbacServer) DeleteUserLog ¶
func (UnimplementedRbacServer) DeleteUserLog(context.Context, *UserLogDelReq) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) DownloadDept ¶
func (UnimplementedRbacServer) DownloadDept(*basic.TenantReq, Rbac_DownloadDeptServer) error
func (UnimplementedRbacServer) DownloadResource ¶
func (UnimplementedRbacServer) DownloadResource(*ResourceExportReq, Rbac_DownloadResourceServer) error
func (UnimplementedRbacServer) DownloadUserTemplate ¶
func (UnimplementedRbacServer) DownloadUserTemplate(*basic.TenantReq, Rbac_DownloadUserTemplateServer) error
func (UnimplementedRbacServer) EnableDept ¶
func (UnimplementedRbacServer) EnableDept(context.Context, *DeptEnableKey) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) EnableUser ¶
func (UnimplementedRbacServer) EnableUser(context.Context, *UserEnableKey) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) ExistResource ¶
func (UnimplementedRbacServer) ExistResource(context.Context, *VerifyResourceReq) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) ExistRole ¶
func (UnimplementedRbacServer) ExistRole(context.Context, *VerifyRoleReq) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) ExistUser ¶
func (UnimplementedRbacServer) ExistUser(context.Context, *VerifyUserReq) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) ExportDept ¶
func (UnimplementedRbacServer) ExportDept(*DeptExportReq, Rbac_ExportDeptServer) error
func (UnimplementedRbacServer) ExportLog ¶
func (UnimplementedRbacServer) ExportLog(*LogExportReq, Rbac_ExportLogServer) error
func (UnimplementedRbacServer) ExportResource ¶
func (UnimplementedRbacServer) ExportResource(*ResourceExportReq, Rbac_ExportResourceServer) error
func (UnimplementedRbacServer) ExportUser ¶
func (UnimplementedRbacServer) ExportUser(*UserExportReq, Rbac_ExportUserServer) error
func (UnimplementedRbacServer) ExportUserLog ¶
func (UnimplementedRbacServer) ExportUserLog(*UserLogExportReq, Rbac_ExportUserLogServer) error
func (UnimplementedRbacServer) FindDeptById ¶
func (UnimplementedRbacServer) FindDeptList ¶
func (UnimplementedRbacServer) FindDeptTreeList ¶
func (UnimplementedRbacServer) FindEnumEntry ¶
func (UnimplementedRbacServer) FindEnumEntry(context.Context, *basic.EnumEntryReq) (*basic.EntryList, error)
func (UnimplementedRbacServer) FindEnumList ¶
func (UnimplementedRbacServer) FindEnumList(context.Context, *wrapperspb.StringValue) (*basic.EnumValueList, error)
func (UnimplementedRbacServer) FindEnumMap ¶
func (UnimplementedRbacServer) FindEnumMap(context.Context, *wrapperspb.StringValue) (*basic.CustomEnumValueMap, error)
func (UnimplementedRbacServer) FindLogById ¶
func (UnimplementedRbacServer) FindLogList ¶
func (UnimplementedRbacServer) FindLogPage ¶
func (UnimplementedRbacServer) FindModuleById ¶
func (UnimplementedRbacServer) FindModuleById(context.Context, *ModuleKey) (*ModuleModel, error)
func (UnimplementedRbacServer) FindModuleList ¶
func (UnimplementedRbacServer) FindModuleList(context.Context, *ModuleReq) (*ModuleList, error)
func (UnimplementedRbacServer) FindModulePage ¶
func (UnimplementedRbacServer) FindModulePage(context.Context, *ModuleReq) (*ModulePage, error)
func (UnimplementedRbacServer) FindOpenAppById ¶
func (UnimplementedRbacServer) FindOpenAppById(context.Context, *OpenAppKey) (*OpenAppModel, error)
func (UnimplementedRbacServer) FindOpenAppList ¶
func (UnimplementedRbacServer) FindOpenAppList(context.Context, *OpenAppReq) (*OpenAppList, error)
func (UnimplementedRbacServer) FindOpenAppPage ¶
func (UnimplementedRbacServer) FindOpenAppPage(context.Context, *OpenAppReq) (*OpenAppPage, error)
func (UnimplementedRbacServer) FindOpensById ¶
func (UnimplementedRbacServer) FindOpensById(context.Context, *OpensKey) (*OpensModel, error)
func (UnimplementedRbacServer) FindOpensList ¶
func (UnimplementedRbacServer) FindOperationById ¶
func (UnimplementedRbacServer) FindOperationById(context.Context, *OperationKey) (*OperationModel, error)
func (UnimplementedRbacServer) FindOperationList ¶
func (UnimplementedRbacServer) FindOperationList(context.Context, *OperationReq) (*OperationList, error)
func (UnimplementedRbacServer) FindOperationPage ¶
func (UnimplementedRbacServer) FindOperationPage(context.Context, *OperationReq) (*OperationPage, error)
func (UnimplementedRbacServer) FindPermById ¶
func (UnimplementedRbacServer) FindPermList ¶
func (UnimplementedRbacServer) FindPermPage ¶
func (UnimplementedRbacServer) FindResourceById ¶
func (UnimplementedRbacServer) FindResourceById(context.Context, *ResourceKey) (*ResourceModel, error)
func (UnimplementedRbacServer) FindResourceList ¶
func (UnimplementedRbacServer) FindResourceList(context.Context, *ResourceReq) (*ResourceList, error)
func (UnimplementedRbacServer) FindResourcePermList ¶
func (UnimplementedRbacServer) FindResourcePermList(context.Context, *ResourceReq) (*ResourcePermList, error)
func (UnimplementedRbacServer) FindResourceTreeList ¶
func (UnimplementedRbacServer) FindResourceTreeList(context.Context, *ResourceReq) (*TreeList, error)
func (UnimplementedRbacServer) FindRoleById ¶
func (UnimplementedRbacServer) FindRoleList ¶
func (UnimplementedRbacServer) FindRoleTreeList ¶
func (UnimplementedRbacServer) FindUserById ¶
func (UnimplementedRbacServer) FindUserByName ¶
func (UnimplementedRbacServer) FindUserByName(context.Context, *UserNameReq) (*UserModel, error)
func (UnimplementedRbacServer) FindUserInfoList ¶
func (UnimplementedRbacServer) FindUserInfoList(context.Context, *UserReq) (*UserInfoList, error)
func (UnimplementedRbacServer) FindUserInfoPage ¶
func (UnimplementedRbacServer) FindUserInfoPage(context.Context, *UserReq) (*UserInfoPage, error)
func (UnimplementedRbacServer) FindUserList ¶
func (UnimplementedRbacServer) FindUserLogById ¶
func (UnimplementedRbacServer) FindUserLogById(context.Context, *UserLogKey) (*UserLogModel, error)
func (UnimplementedRbacServer) FindUserLogList ¶
func (UnimplementedRbacServer) FindUserLogList(context.Context, *UserLogReq) (*UserLogList, error)
func (UnimplementedRbacServer) FindUserLogPage ¶
func (UnimplementedRbacServer) FindUserLogPage(context.Context, *UserLogReq) (*UserLogPage, error)
func (UnimplementedRbacServer) FindUserPage ¶
func (UnimplementedRbacServer) GetUserDeptInfo ¶
func (UnimplementedRbacServer) GetUserDeptInfo(context.Context, *UserKey) (*UserDeptJobInfoRes, error)
func (UnimplementedRbacServer) GrantPerm ¶
func (UnimplementedRbacServer) GrantPerm(context.Context, *RolePermReq) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) ImportDept ¶
func (UnimplementedRbacServer) ImportDept(context.Context, *DeptImportReq) (*wrapperspb.StringValue, error)
func (UnimplementedRbacServer) ImportResource ¶
func (UnimplementedRbacServer) ImportResource(context.Context, *ResourceImportReq) (*wrapperspb.StringValue, error)
func (UnimplementedRbacServer) ImportUser ¶
func (UnimplementedRbacServer) ImportUser(context.Context, *UserImportReq) (*wrapperspb.StringValue, error)
func (UnimplementedRbacServer) LockDept ¶
func (UnimplementedRbacServer) LockDept(context.Context, *EnableDeptReq) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) LockUser ¶
func (UnimplementedRbacServer) LockUser(context.Context, *LockUserReq) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) LoginByValidCode ¶
func (UnimplementedRbacServer) LoginByValidCode(context.Context, *ValidCodeLoginReq) (*TokenResp, error)
func (UnimplementedRbacServer) Logout ¶
func (UnimplementedRbacServer) Logout(context.Context, *LogoutReq) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) MiniAppBindPhone ¶
func (UnimplementedRbacServer) MiniAppBindPhone(context.Context, *MiniAppBindPhoneReq) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) MiniAppLogin ¶
func (UnimplementedRbacServer) MiniAppLogin(context.Context, *MiniAppLoginReq) (*MiniAppLoginResp, error)
func (UnimplementedRbacServer) MiniAppPhoneNumber ¶
func (UnimplementedRbacServer) MiniAppPhoneNumber(context.Context, *MiniAppPhoneNumberReq) (*MiniAppLoginResp, error)
func (UnimplementedRbacServer) MoveDept ¶
func (UnimplementedRbacServer) MoveDept(context.Context, *DeptMoveKey) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) MoveModule ¶
func (UnimplementedRbacServer) MoveModule(context.Context, *ModuleMoveKey) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) MoveOperation ¶
func (UnimplementedRbacServer) MoveOperation(context.Context, *OperationMoveKey) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) MoveResouce ¶
func (UnimplementedRbacServer) MoveResouce(context.Context, *ResourceMoveKey) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) MoveRole ¶
func (UnimplementedRbacServer) MoveRole(context.Context, *RoleMoveKey) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) PrintDept ¶
func (UnimplementedRbacServer) PrintDept(*DeptExportReq, Rbac_PrintDeptServer) error
func (UnimplementedRbacServer) PrintUser ¶
func (UnimplementedRbacServer) PrintUser(*UserExportReq, Rbac_PrintUserServer) error
func (UnimplementedRbacServer) RefreshToken ¶
func (UnimplementedRbacServer) RefreshToken(context.Context, *RefreshTokenReq) (*TokenResp, error)
func (UnimplementedRbacServer) ResetPwd ¶
func (UnimplementedRbacServer) ResetPwd(context.Context, *UserResetPwdReq) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) RevokePerm ¶
func (UnimplementedRbacServer) RevokePerm(context.Context, *RolePermReq) (*wrapperspb.Int32Value, error)
func (UnimplementedRbacServer) SelectDirectoryIds ¶
func (UnimplementedRbacServer) SelectDirectoryIds(context.Context, *basic.TenantReq) (*DirectoryListResp, error)
func (UnimplementedRbacServer) SelectDsdRoles ¶
func (UnimplementedRbacServer) SelectDsdRoles(context.Context, *basic.TenantReq) (*DsdRoleListResp, error)
func (UnimplementedRbacServer) SelectUserInfo ¶
func (UnimplementedRbacServer) SelectUserInfo(context.Context, *UserKey) (*UserDeptJobInfoRes, error)
func (UnimplementedRbacServer) SendValidCode ¶
func (UnimplementedRbacServer) SendValidCode(context.Context, *SendValidCodeReq) (*wrapperspb.BoolValue, error)
func (UnimplementedRbacServer) UpdateDept ¶
func (UnimplementedRbacServer) UpdateDept(context.Context, *DeptUpdateReq) (*DeptModel, error)
func (UnimplementedRbacServer) UpdateModule ¶
func (UnimplementedRbacServer) UpdateModule(context.Context, *ModuleUpdateReq) (*ModuleModel, error)
func (UnimplementedRbacServer) UpdateOpenApp ¶
func (UnimplementedRbacServer) UpdateOpenApp(context.Context, *OpenAppUpdateReq) (*OpenAppModel, error)
func (UnimplementedRbacServer) UpdateOperation ¶
func (UnimplementedRbacServer) UpdateOperation(context.Context, *OperationUpdateReq) (*OperationModel, error)
func (UnimplementedRbacServer) UpdatePerm ¶
func (UnimplementedRbacServer) UpdatePerm(context.Context, *PermUpdateReq) (*PermModel, error)
func (UnimplementedRbacServer) UpdateResource ¶
func (UnimplementedRbacServer) UpdateResource(context.Context, *ResourceUpdateReq) (*ResourceModel, error)
func (UnimplementedRbacServer) UpdateRole ¶
func (UnimplementedRbacServer) UpdateRole(context.Context, *RoleUpdateReq) (*RoleModel, error)
func (UnimplementedRbacServer) UpdateUser ¶
func (UnimplementedRbacServer) UpdateUser(context.Context, *UserUpdateReq) (*UserModel, error)
func (UnimplementedRbacServer) UpdateUserInfo ¶
func (UnimplementedRbacServer) UpdateUserInfo(context.Context, *UpdateUserReq) (*UserModel, error)
func (UnimplementedRbacServer) UserRolesPerms ¶
func (UnimplementedRbacServer) UserRolesPerms(context.Context, *basic.TenantReq) (*RolePermSet, error)
func (UnimplementedRbacServer) Version ¶
func (UnimplementedRbacServer) Version(context.Context, *emptypb.Empty) (*wrapperspb.StringValue, error)
type UnsafeRbacServer ¶
type UnsafeRbacServer interface {
// contains filtered or unexported methods
}
UnsafeRbacServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RbacServer will result in compilation errors.
type UpdateUserReq ¶
type UpdateUserReq struct { // 租户 Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 昵称 NickName string `protobuf:"bytes,2,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` // 姓名 RealName string `protobuf:"bytes,3,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"` // 性别 Gender_ basic.Gender `protobuf:"varint,4,opt,name=gender_,json=gender,proto3,enum=jmash.protobuf.Gender" json:"gender_,omitempty"` // 头像 Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"` // 出生日期 BirthDate string `protobuf:"bytes,6,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` // 更新字段掩码 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // 请求ID RequestId string `protobuf:"bytes,9,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserReq) Descriptor
deprecated
func (*UpdateUserReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.
func (*UpdateUserReq) GetAvatar ¶
func (x *UpdateUserReq) GetAvatar() string
func (*UpdateUserReq) GetBirthDate ¶
func (x *UpdateUserReq) GetBirthDate() string
func (*UpdateUserReq) GetGender_ ¶
func (x *UpdateUserReq) GetGender_() basic.Gender
func (*UpdateUserReq) GetNickName ¶
func (x *UpdateUserReq) GetNickName() string
func (*UpdateUserReq) GetRealName ¶
func (x *UpdateUserReq) GetRealName() string
func (*UpdateUserReq) GetRequestId ¶
func (x *UpdateUserReq) GetRequestId() string
func (*UpdateUserReq) GetTenant ¶
func (x *UpdateUserReq) GetTenant() string
func (*UpdateUserReq) GetUpdateMask ¶
func (x *UpdateUserReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateUserReq) ProtoMessage ¶
func (*UpdateUserReq) ProtoMessage()
func (*UpdateUserReq) ProtoReflect ¶
func (x *UpdateUserReq) ProtoReflect() protoreflect.Message
func (*UpdateUserReq) Reset ¶
func (x *UpdateUserReq) Reset()
func (*UpdateUserReq) String ¶
func (x *UpdateUserReq) String() string
type UserCreateReq ¶
type UserCreateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 目录ID DirectoryId string `protobuf:"bytes,5,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // 用户名/登录名 LoginName string `protobuf:"bytes,6,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` // 手机号 MobilePhone string `protobuf:"bytes,7,opt,name=mobile_phone,json=mobilePhone,proto3" json:"mobile_phone,omitempty"` // 电子邮件 Email_ string `protobuf:"bytes,8,opt,name=email_,json=email,proto3" json:"email_,omitempty"` // 姓名 RealName string `protobuf:"bytes,9,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"` // 昵称 NickName string `protobuf:"bytes,10,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` // 头像 Avatar_ string `protobuf:"bytes,11,opt,name=avatar_,json=avatar,proto3" json:"avatar_,omitempty"` // 出生日期 BirthDate string `protobuf:"bytes,12,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` // 性别 Gender_ basic.Gender `protobuf:"varint,13,opt,name=gender_,json=gender,proto3,enum=jmash.protobuf.Gender" json:"gender_,omitempty"` // 用户通过审核 Approved_ bool `protobuf:"varint,16,opt,name=approved_,json=approved,proto3" json:"approved_,omitempty"` // 用户状态 Status_ UserStatus `protobuf:"varint,17,opt,name=status_,json=status,proto3,enum=jmash.rbac.UserStatus" json:"status_,omitempty"` // 密钥 Pwd string `protobuf:"bytes,18,opt,name=pwd,proto3" json:"pwd,omitempty"` // 重复密钥 RepeatPwd string `protobuf:"bytes,19,opt,name=repeat_pwd,json=repeatPwd,proto3" json:"repeat_pwd,omitempty"` // 用户角色 RoleIds []string `protobuf:"bytes,20,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` // 所属部门岗位 UserJobs []*UserJobs `protobuf:"bytes,21,rep,name=user_jobs,json=userJobs,proto3" json:"user_jobs,omitempty"` // contains filtered or unexported fields }
用户新增实体
func (*UserCreateReq) Descriptor
deprecated
func (*UserCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use UserCreateReq.ProtoReflect.Descriptor instead.
func (*UserCreateReq) GetApproved_ ¶
func (x *UserCreateReq) GetApproved_() bool
func (*UserCreateReq) GetAvatar_ ¶
func (x *UserCreateReq) GetAvatar_() string
func (*UserCreateReq) GetBirthDate ¶
func (x *UserCreateReq) GetBirthDate() string
func (*UserCreateReq) GetDirectoryId ¶
func (x *UserCreateReq) GetDirectoryId() string
func (*UserCreateReq) GetEmail_ ¶
func (x *UserCreateReq) GetEmail_() string
func (*UserCreateReq) GetGender_ ¶
func (x *UserCreateReq) GetGender_() basic.Gender
func (*UserCreateReq) GetLoginName ¶
func (x *UserCreateReq) GetLoginName() string
func (*UserCreateReq) GetMobilePhone ¶
func (x *UserCreateReq) GetMobilePhone() string
func (*UserCreateReq) GetNickName ¶
func (x *UserCreateReq) GetNickName() string
func (*UserCreateReq) GetPwd ¶
func (x *UserCreateReq) GetPwd() string
func (*UserCreateReq) GetRealName ¶
func (x *UserCreateReq) GetRealName() string
func (*UserCreateReq) GetRepeatPwd ¶
func (x *UserCreateReq) GetRepeatPwd() string
func (*UserCreateReq) GetRequestId ¶
func (x *UserCreateReq) GetRequestId() string
func (*UserCreateReq) GetRoleIds ¶
func (x *UserCreateReq) GetRoleIds() []string
func (*UserCreateReq) GetStatus_ ¶
func (x *UserCreateReq) GetStatus_() UserStatus
func (*UserCreateReq) GetTenant ¶
func (x *UserCreateReq) GetTenant() string
func (*UserCreateReq) GetUserJobs ¶
func (x *UserCreateReq) GetUserJobs() []*UserJobs
func (*UserCreateReq) GetValidateOnly ¶
func (x *UserCreateReq) GetValidateOnly() bool
func (*UserCreateReq) ProtoMessage ¶
func (*UserCreateReq) ProtoMessage()
func (*UserCreateReq) ProtoReflect ¶
func (x *UserCreateReq) ProtoReflect() protoreflect.Message
func (*UserCreateReq) Reset ¶
func (x *UserCreateReq) Reset()
func (*UserCreateReq) String ¶
func (x *UserCreateReq) String() string
type UserDeptJobInfoRes ¶
type UserDeptJobInfoRes struct { // 用户ID UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户昵称 NickName string `protobuf:"bytes,2,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` // 用户真实姓名 RealName string `protobuf:"bytes,4,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"` // 部门及岗位信息 JobInfo []*JobInfo `protobuf:"bytes,3,rep,name=job_info,json=jobInfo,proto3" json:"job_info,omitempty"` // contains filtered or unexported fields }
用户部门岗位信息
func (*UserDeptJobInfoRes) Descriptor
deprecated
func (*UserDeptJobInfoRes) Descriptor() ([]byte, []int)
Deprecated: Use UserDeptJobInfoRes.ProtoReflect.Descriptor instead.
func (*UserDeptJobInfoRes) GetJobInfo ¶
func (x *UserDeptJobInfoRes) GetJobInfo() []*JobInfo
func (*UserDeptJobInfoRes) GetNickName ¶
func (x *UserDeptJobInfoRes) GetNickName() string
func (*UserDeptJobInfoRes) GetRealName ¶
func (x *UserDeptJobInfoRes) GetRealName() string
func (*UserDeptJobInfoRes) GetUserId ¶
func (x *UserDeptJobInfoRes) GetUserId() string
func (*UserDeptJobInfoRes) ProtoMessage ¶
func (*UserDeptJobInfoRes) ProtoMessage()
func (*UserDeptJobInfoRes) ProtoReflect ¶
func (x *UserDeptJobInfoRes) ProtoReflect() protoreflect.Message
func (*UserDeptJobInfoRes) Reset ¶
func (x *UserDeptJobInfoRes) Reset()
func (*UserDeptJobInfoRes) String ¶
func (x *UserDeptJobInfoRes) String() string
type UserEnableKey ¶
type UserEnableKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 启用/禁用 Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // 用户Id UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
启禁用用户请求.
func (*UserEnableKey) Descriptor
deprecated
func (*UserEnableKey) Descriptor() ([]byte, []int)
Deprecated: Use UserEnableKey.ProtoReflect.Descriptor instead.
func (*UserEnableKey) GetEnabled ¶
func (x *UserEnableKey) GetEnabled() bool
func (*UserEnableKey) GetTenant ¶
func (x *UserEnableKey) GetTenant() string
func (*UserEnableKey) GetUserId ¶
func (x *UserEnableKey) GetUserId() string
func (*UserEnableKey) ProtoMessage ¶
func (*UserEnableKey) ProtoMessage()
func (*UserEnableKey) ProtoReflect ¶
func (x *UserEnableKey) ProtoReflect() protoreflect.Message
func (*UserEnableKey) Reset ¶
func (x *UserEnableKey) Reset()
func (*UserEnableKey) String ¶
func (x *UserEnableKey) String() string
type UserExportReq ¶
type UserExportReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 标题 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // 字段列表 TableHeads []*basic.TableHead `protobuf:"bytes,3,rep,name=table_heads,json=tableHeads,proto3" json:"table_heads,omitempty"` // 显示文件名 FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 筛选条件 Req *UserReq `protobuf:"bytes,5,opt,name=req,proto3" json:"req,omitempty"` // contains filtered or unexported fields }
用户导出请求
func (*UserExportReq) Descriptor
deprecated
func (*UserExportReq) Descriptor() ([]byte, []int)
Deprecated: Use UserExportReq.ProtoReflect.Descriptor instead.
func (*UserExportReq) GetFileName ¶
func (x *UserExportReq) GetFileName() string
func (*UserExportReq) GetReq ¶
func (x *UserExportReq) GetReq() *UserReq
func (*UserExportReq) GetTableHeads ¶
func (x *UserExportReq) GetTableHeads() []*basic.TableHead
func (*UserExportReq) GetTenant ¶
func (x *UserExportReq) GetTenant() string
func (*UserExportReq) GetTitle ¶
func (x *UserExportReq) GetTitle() string
func (*UserExportReq) ProtoMessage ¶
func (*UserExportReq) ProtoMessage()
func (*UserExportReq) ProtoReflect ¶
func (x *UserExportReq) ProtoReflect() protoreflect.Message
func (*UserExportReq) Reset ¶
func (x *UserExportReq) Reset()
func (*UserExportReq) String ¶
func (x *UserExportReq) String() string
type UserImportReq ¶
type UserImportReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 文件名 FileNames string `protobuf:"bytes,3,opt,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"` // 是否新增标识 AddFlag bool `protobuf:"varint,4,opt,name=add_flag,json=addFlag,proto3" json:"add_flag,omitempty"` // 更新字段掩码. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
用户导入请求
func (*UserImportReq) Descriptor
deprecated
func (*UserImportReq) Descriptor() ([]byte, []int)
Deprecated: Use UserImportReq.ProtoReflect.Descriptor instead.
func (*UserImportReq) GetAddFlag ¶
func (x *UserImportReq) GetAddFlag() bool
func (*UserImportReq) GetFileNames ¶
func (x *UserImportReq) GetFileNames() string
func (*UserImportReq) GetRequestId ¶
func (x *UserImportReq) GetRequestId() string
func (*UserImportReq) GetTenant ¶
func (x *UserImportReq) GetTenant() string
func (*UserImportReq) GetUpdateMask ¶
func (x *UserImportReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UserImportReq) ProtoMessage ¶
func (*UserImportReq) ProtoMessage()
func (*UserImportReq) ProtoReflect ¶
func (x *UserImportReq) ProtoReflect() protoreflect.Message
func (*UserImportReq) Reset ¶
func (x *UserImportReq) Reset()
func (*UserImportReq) String ¶
func (x *UserImportReq) String() string
type UserInfo ¶
type UserInfo struct { // 用户ID Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // 用户真实姓名 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // 手机号码 MobilePhoneIns string `protobuf:"bytes,3,opt,name=mobile_phone_ins,json=mobilePhoneIns,proto3" json:"mobile_phone_ins,omitempty"` // 部门ID DeptId string `protobuf:"bytes,4,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"` // 部门 DeptName string `protobuf:"bytes,5,opt,name=dept_name,json=deptName,proto3" json:"dept_name,omitempty"` // 岗位ID JobId string `protobuf:"bytes,6,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // 岗位 JobName string `protobuf:"bytes,7,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` // contains filtered or unexported fields }
用户信息
func (*UserInfo) Descriptor
deprecated
func (*UserInfo) GetDeptName ¶
func (*UserInfo) GetJobName ¶
func (*UserInfo) GetMobilePhoneIns ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶
func (x *UserInfo) ProtoReflect() protoreflect.Message
type UserInfoList ¶
type UserInfoList struct { Results []*UserInfo `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
用户信息列表
func (*UserInfoList) Descriptor
deprecated
func (*UserInfoList) Descriptor() ([]byte, []int)
Deprecated: Use UserInfoList.ProtoReflect.Descriptor instead.
func (*UserInfoList) GetResults ¶
func (x *UserInfoList) GetResults() []*UserInfo
func (*UserInfoList) ProtoMessage ¶
func (*UserInfoList) ProtoMessage()
func (*UserInfoList) ProtoReflect ¶
func (x *UserInfoList) ProtoReflect() protoreflect.Message
func (*UserInfoList) Reset ¶
func (x *UserInfoList) Reset()
func (*UserInfoList) String ¶
func (x *UserInfoList) String() string
type UserInfoPage ¶
type UserInfoPage struct { // 当前页内容 Results []*UserInfo `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *UserModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *UserModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
用户分页
func (*UserInfoPage) Descriptor
deprecated
func (*UserInfoPage) Descriptor() ([]byte, []int)
Deprecated: Use UserInfoPage.ProtoReflect.Descriptor instead.
func (*UserInfoPage) GetCurPage ¶
func (x *UserInfoPage) GetCurPage() int32
func (*UserInfoPage) GetPageSize ¶
func (x *UserInfoPage) GetPageSize() int32
func (*UserInfoPage) GetResults ¶
func (x *UserInfoPage) GetResults() []*UserInfo
func (*UserInfoPage) GetSubTotalDto ¶
func (x *UserInfoPage) GetSubTotalDto() *UserModelTotal
func (*UserInfoPage) GetTotalDto ¶
func (x *UserInfoPage) GetTotalDto() *UserModelTotal
func (*UserInfoPage) GetTotalSize ¶
func (x *UserInfoPage) GetTotalSize() int32
func (*UserInfoPage) ProtoMessage ¶
func (*UserInfoPage) ProtoMessage()
func (*UserInfoPage) ProtoReflect ¶
func (x *UserInfoPage) ProtoReflect() protoreflect.Message
func (*UserInfoPage) Reset ¶
func (x *UserInfoPage) Reset()
func (*UserInfoPage) String ¶
func (x *UserInfoPage) String() string
type UserJobs ¶
type UserJobs struct { // 所属部门 DeptId string `protobuf:"bytes,1,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"` // 所属岗位 JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // contains filtered or unexported fields }
func (*UserJobs) Descriptor
deprecated
func (*UserJobs) ProtoMessage ¶
func (*UserJobs) ProtoMessage()
func (*UserJobs) ProtoReflect ¶
func (x *UserJobs) ProtoReflect() protoreflect.Message
type UserKey ¶
type UserKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用户ID. UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
用户Key.
func (*UserKey) Descriptor
deprecated
func (*UserKey) ProtoMessage ¶
func (*UserKey) ProtoMessage()
func (*UserKey) ProtoReflect ¶
func (x *UserKey) ProtoReflect() protoreflect.Message
type UserKeyList ¶
type UserKeyList struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` UserId []string `protobuf:"bytes,2,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
用户List
func (*UserKeyList) Descriptor
deprecated
func (*UserKeyList) Descriptor() ([]byte, []int)
Deprecated: Use UserKeyList.ProtoReflect.Descriptor instead.
func (*UserKeyList) GetTenant ¶
func (x *UserKeyList) GetTenant() string
func (*UserKeyList) GetUserId ¶
func (x *UserKeyList) GetUserId() []string
func (*UserKeyList) ProtoMessage ¶
func (*UserKeyList) ProtoMessage()
func (*UserKeyList) ProtoReflect ¶
func (x *UserKeyList) ProtoReflect() protoreflect.Message
func (*UserKeyList) Reset ¶
func (x *UserKeyList) Reset()
func (*UserKeyList) String ¶
func (x *UserKeyList) String() string
type UserList ¶
type UserList struct { // 当前页内容 Results []*UserModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
用户列表
func (*UserList) Descriptor
deprecated
func (*UserList) GetResults ¶
func (*UserList) ProtoMessage ¶
func (*UserList) ProtoMessage()
func (*UserList) ProtoReflect ¶
func (x *UserList) ProtoReflect() protoreflect.Message
type UserLogDelReq ¶
type UserLogDelReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 清理N年前安全日志功能 Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
清理N年前安全日志功能
func (*UserLogDelReq) Descriptor
deprecated
func (*UserLogDelReq) Descriptor() ([]byte, []int)
Deprecated: Use UserLogDelReq.ProtoReflect.Descriptor instead.
func (*UserLogDelReq) GetNumber ¶
func (x *UserLogDelReq) GetNumber() int32
func (*UserLogDelReq) GetTenant ¶
func (x *UserLogDelReq) GetTenant() string
func (*UserLogDelReq) ProtoMessage ¶
func (*UserLogDelReq) ProtoMessage()
func (*UserLogDelReq) ProtoReflect ¶
func (x *UserLogDelReq) ProtoReflect() protoreflect.Message
func (*UserLogDelReq) Reset ¶
func (x *UserLogDelReq) Reset()
func (*UserLogDelReq) String ¶
func (x *UserLogDelReq) String() string
type UserLogExportReq ¶
type UserLogExportReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 标题 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // 字段列表 TableHeads []*basic.TableHead `protobuf:"bytes,3,rep,name=table_heads,json=tableHeads,proto3" json:"table_heads,omitempty"` // 显示文件名 FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 筛选条件 Req *UserLogReq `protobuf:"bytes,5,opt,name=req,proto3" json:"req,omitempty"` // contains filtered or unexported fields }
func (*UserLogExportReq) Descriptor
deprecated
func (*UserLogExportReq) Descriptor() ([]byte, []int)
Deprecated: Use UserLogExportReq.ProtoReflect.Descriptor instead.
func (*UserLogExportReq) GetFileName ¶
func (x *UserLogExportReq) GetFileName() string
func (*UserLogExportReq) GetReq ¶
func (x *UserLogExportReq) GetReq() *UserLogReq
func (*UserLogExportReq) GetTableHeads ¶
func (x *UserLogExportReq) GetTableHeads() []*basic.TableHead
func (*UserLogExportReq) GetTenant ¶
func (x *UserLogExportReq) GetTenant() string
func (*UserLogExportReq) GetTitle ¶
func (x *UserLogExportReq) GetTitle() string
func (*UserLogExportReq) ProtoMessage ¶
func (*UserLogExportReq) ProtoMessage()
func (*UserLogExportReq) ProtoReflect ¶
func (x *UserLogExportReq) ProtoReflect() protoreflect.Message
func (*UserLogExportReq) Reset ¶
func (x *UserLogExportReq) Reset()
func (*UserLogExportReq) String ¶
func (x *UserLogExportReq) String() string
type UserLogKey ¶
type UserLogKey struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` Partition_ int32 `protobuf:"varint,2,opt,name=partition_,json=partition,proto3" json:"partition_,omitempty"` LogId string `protobuf:"bytes,3,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"` // contains filtered or unexported fields }
安全日志主键
func (*UserLogKey) Descriptor
deprecated
func (*UserLogKey) Descriptor() ([]byte, []int)
Deprecated: Use UserLogKey.ProtoReflect.Descriptor instead.
func (*UserLogKey) GetLogId ¶
func (x *UserLogKey) GetLogId() string
func (*UserLogKey) GetPartition_ ¶
func (x *UserLogKey) GetPartition_() int32
func (*UserLogKey) GetTenant ¶
func (x *UserLogKey) GetTenant() string
func (*UserLogKey) ProtoMessage ¶
func (*UserLogKey) ProtoMessage()
func (*UserLogKey) ProtoReflect ¶
func (x *UserLogKey) ProtoReflect() protoreflect.Message
func (*UserLogKey) Reset ¶
func (x *UserLogKey) Reset()
func (*UserLogKey) String ¶
func (x *UserLogKey) String() string
type UserLogKeyList ¶
type UserLogKeyList struct { UserLogKey []*UserLogKey `protobuf:"bytes,1,rep,name=user_log_key,json=userLogKey,proto3" json:"user_log_key,omitempty"` // contains filtered or unexported fields }
安全日志List
func (*UserLogKeyList) Descriptor
deprecated
func (*UserLogKeyList) Descriptor() ([]byte, []int)
Deprecated: Use UserLogKeyList.ProtoReflect.Descriptor instead.
func (*UserLogKeyList) GetUserLogKey ¶
func (x *UserLogKeyList) GetUserLogKey() []*UserLogKey
func (*UserLogKeyList) ProtoMessage ¶
func (*UserLogKeyList) ProtoMessage()
func (*UserLogKeyList) ProtoReflect ¶
func (x *UserLogKeyList) ProtoReflect() protoreflect.Message
func (*UserLogKeyList) Reset ¶
func (x *UserLogKeyList) Reset()
func (*UserLogKeyList) String ¶
func (x *UserLogKeyList) String() string
type UserLogList ¶
type UserLogList struct { // 当前页内容 Results []*UserLogModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
安全日志列表
func (*UserLogList) Descriptor
deprecated
func (*UserLogList) Descriptor() ([]byte, []int)
Deprecated: Use UserLogList.ProtoReflect.Descriptor instead.
func (*UserLogList) GetResults ¶
func (x *UserLogList) GetResults() []*UserLogModel
func (*UserLogList) ProtoMessage ¶
func (*UserLogList) ProtoMessage()
func (*UserLogList) ProtoReflect ¶
func (x *UserLogList) ProtoReflect() protoreflect.Message
func (*UserLogList) Reset ¶
func (x *UserLogList) Reset()
func (*UserLogList) String ¶
func (x *UserLogList) String() string
type UserLogModel ¶
type UserLogModel struct { // 日志 LogId string `protobuf:"bytes,1,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"` // 表分区 Partition_ int32 `protobuf:"varint,2,opt,name=partition_,json=partition,proto3" json:"partition_,omitempty"` // 操作类型 LogName string `protobuf:"bytes,3,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"` // 操作内容/日志信息 LogMsg string `protobuf:"bytes,4,opt,name=log_msg,json=logMsg,proto3" json:"log_msg,omitempty"` // 环境参数 EnvProps string `protobuf:"bytes,5,opt,name=env_props,json=envProps,proto3" json:"env_props,omitempty"` // 设备标识ID DeviceId string `protobuf:"bytes,6,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 用户IP UserIp string `protobuf:"bytes,7,opt,name=user_ip,json=userIp,proto3" json:"user_ip,omitempty"` // 代理IP ProxyIp string `protobuf:"bytes,8,opt,name=proxy_ip,json=proxyIp,proto3" json:"proxy_ip,omitempty"` // 创建人/用户ID CreateBy string `protobuf:"bytes,9,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 创建时间/操作时间 CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
安全日志实体
func (*UserLogModel) Descriptor
deprecated
func (*UserLogModel) Descriptor() ([]byte, []int)
Deprecated: Use UserLogModel.ProtoReflect.Descriptor instead.
func (*UserLogModel) GetCreateBy ¶
func (x *UserLogModel) GetCreateBy() string
func (*UserLogModel) GetCreateTime ¶
func (x *UserLogModel) GetCreateTime() *timestamppb.Timestamp
func (*UserLogModel) GetDeviceId ¶
func (x *UserLogModel) GetDeviceId() string
func (*UserLogModel) GetEnvProps ¶
func (x *UserLogModel) GetEnvProps() string
func (*UserLogModel) GetLogId ¶
func (x *UserLogModel) GetLogId() string
func (*UserLogModel) GetLogMsg ¶
func (x *UserLogModel) GetLogMsg() string
func (*UserLogModel) GetLogName ¶
func (x *UserLogModel) GetLogName() string
func (*UserLogModel) GetPartition_ ¶
func (x *UserLogModel) GetPartition_() int32
func (*UserLogModel) GetProxyIp ¶
func (x *UserLogModel) GetProxyIp() string
func (*UserLogModel) GetUserIp ¶
func (x *UserLogModel) GetUserIp() string
func (*UserLogModel) ProtoMessage ¶
func (*UserLogModel) ProtoMessage()
func (*UserLogModel) ProtoReflect ¶
func (x *UserLogModel) ProtoReflect() protoreflect.Message
func (*UserLogModel) Reset ¶
func (x *UserLogModel) Reset()
func (*UserLogModel) String ¶
func (x *UserLogModel) String() string
type UserLogModelTotal ¶
type UserLogModelTotal struct { // 总记录数 TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
合计
func (*UserLogModelTotal) Descriptor
deprecated
func (*UserLogModelTotal) Descriptor() ([]byte, []int)
Deprecated: Use UserLogModelTotal.ProtoReflect.Descriptor instead.
func (*UserLogModelTotal) GetTotalSize ¶
func (x *UserLogModelTotal) GetTotalSize() int32
func (*UserLogModelTotal) ProtoMessage ¶
func (*UserLogModelTotal) ProtoMessage()
func (*UserLogModelTotal) ProtoReflect ¶
func (x *UserLogModelTotal) ProtoReflect() protoreflect.Message
func (*UserLogModelTotal) Reset ¶
func (x *UserLogModelTotal) Reset()
func (*UserLogModelTotal) String ¶
func (x *UserLogModelTotal) String() string
type UserLogPage ¶
type UserLogPage struct { // 当前页内容 Results []*UserLogModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *UserLogModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *UserLogModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
安全日志分页
func (*UserLogPage) Descriptor
deprecated
func (*UserLogPage) Descriptor() ([]byte, []int)
Deprecated: Use UserLogPage.ProtoReflect.Descriptor instead.
func (*UserLogPage) GetCurPage ¶
func (x *UserLogPage) GetCurPage() int32
func (*UserLogPage) GetPageSize ¶
func (x *UserLogPage) GetPageSize() int32
func (*UserLogPage) GetResults ¶
func (x *UserLogPage) GetResults() []*UserLogModel
func (*UserLogPage) GetSubTotalDto ¶
func (x *UserLogPage) GetSubTotalDto() *UserLogModelTotal
func (*UserLogPage) GetTotalDto ¶
func (x *UserLogPage) GetTotalDto() *UserLogModelTotal
func (*UserLogPage) GetTotalSize ¶
func (x *UserLogPage) GetTotalSize() int32
func (*UserLogPage) ProtoMessage ¶
func (*UserLogPage) ProtoMessage()
func (*UserLogPage) ProtoReflect ¶
func (x *UserLogPage) ProtoReflect() protoreflect.Message
func (*UserLogPage) Reset ¶
func (x *UserLogPage) Reset()
func (*UserLogPage) String ¶
func (x *UserLogPage) String() string
type UserLogReq ¶
type UserLogReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 排序名称 OrderName string `protobuf:"bytes,4,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"` // 是否升序排序 OrderAsc bool `protobuf:"varint,5,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"` // 创建人 CreateBy string `protobuf:"bytes,6,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 创建时间开始 StartCreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_create_time,json=startCreateTime,proto3" json:"start_create_time,omitempty"` // 创建时间结束 EndCreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_create_time,json=endCreateTime,proto3" json:"end_create_time,omitempty"` // 月份 Partition int32 `protobuf:"varint,9,opt,name=partition,proto3" json:"partition,omitempty"` // 日志名称 LikeLogName string `protobuf:"bytes,10,opt,name=like_log_name,json=likeLogName,proto3" json:"like_log_name,omitempty"` // contains filtered or unexported fields }
安全日志查询
func (*UserLogReq) Descriptor
deprecated
func (*UserLogReq) Descriptor() ([]byte, []int)
Deprecated: Use UserLogReq.ProtoReflect.Descriptor instead.
func (*UserLogReq) GetCreateBy ¶
func (x *UserLogReq) GetCreateBy() string
func (*UserLogReq) GetCurPage ¶
func (x *UserLogReq) GetCurPage() int32
func (*UserLogReq) GetEndCreateTime ¶
func (x *UserLogReq) GetEndCreateTime() *timestamppb.Timestamp
func (*UserLogReq) GetLikeLogName ¶
func (x *UserLogReq) GetLikeLogName() string
func (*UserLogReq) GetOrderAsc ¶
func (x *UserLogReq) GetOrderAsc() bool
func (*UserLogReq) GetOrderName ¶
func (x *UserLogReq) GetOrderName() string
func (*UserLogReq) GetPageSize ¶
func (x *UserLogReq) GetPageSize() int32
func (*UserLogReq) GetPartition ¶
func (x *UserLogReq) GetPartition() int32
func (*UserLogReq) GetStartCreateTime ¶
func (x *UserLogReq) GetStartCreateTime() *timestamppb.Timestamp
func (*UserLogReq) GetTenant ¶
func (x *UserLogReq) GetTenant() string
func (*UserLogReq) ProtoMessage ¶
func (*UserLogReq) ProtoMessage()
func (*UserLogReq) ProtoReflect ¶
func (x *UserLogReq) ProtoReflect() protoreflect.Message
func (*UserLogReq) Reset ¶
func (x *UserLogReq) Reset()
func (*UserLogReq) String ¶
func (x *UserLogReq) String() string
type UserModel ¶
type UserModel struct { // 账号 UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 目录ID DirectoryId string `protobuf:"bytes,2,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // 用户名/登录名 LoginName string `protobuf:"bytes,3,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` // 手机号 MobilePhone string `protobuf:"bytes,4,opt,name=mobile_phone,json=mobilePhone,proto3" json:"mobile_phone,omitempty"` // 手机号脱敏 MobilePhoneIns string `protobuf:"bytes,27,opt,name=mobile_phone_ins,json=mobilePhoneIns,proto3" json:"mobile_phone_ins,omitempty"` // 电子邮件 Email_ string `protobuf:"bytes,5,opt,name=email_,json=email,proto3" json:"email_,omitempty"` // 姓名 RealName string `protobuf:"bytes,6,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"` // 昵称 NickName string `protobuf:"bytes,7,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` // 头像 Avatar_ string `protobuf:"bytes,8,opt,name=avatar_,json=avatar,proto3" json:"avatar_,omitempty"` // 出生日期 BirthDate string `protobuf:"bytes,9,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` // 性别 Gender_ basic.Gender `protobuf:"varint,10,opt,name=gender_,json=gender,proto3,enum=jmash.protobuf.Gender" json:"gender_,omitempty"` // 手机通过审核 PhoneApproved bool `protobuf:"varint,11,opt,name=phone_approved,json=phoneApproved,proto3" json:"phone_approved,omitempty"` // 邮箱通过审核 EmailApproved bool `protobuf:"varint,12,opt,name=email_approved,json=emailApproved,proto3" json:"email_approved,omitempty"` // 用户通过审核 Approved_ bool `protobuf:"varint,13,opt,name=approved_,json=approved,proto3" json:"approved_,omitempty"` // 用户状态 Status_ UserStatus `protobuf:"varint,14,opt,name=status_,json=status,proto3,enum=jmash.rbac.UserStatus" json:"status_,omitempty"` // 上次被锁/禁用时间 LastLockoutTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=last_lockout_time,json=lastLockoutTime,proto3" json:"last_lockout_time,omitempty"` // 登录失败时间 FailedTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=failed_time,json=failedTime,proto3" json:"failed_time,omitempty"` // 登录失败次数 FailedCount int32 `protobuf:"varint,17,opt,name=failed_count,json=failedCount,proto3" json:"failed_count,omitempty"` // 上次登录时间 LastLoginTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=last_login_time,json=lastLoginTime,proto3" json:"last_login_time,omitempty"` // 乐观锁 Version_ int32 `protobuf:"varint,19,opt,name=version_,json=version,proto3" json:"version_,omitempty"` // 创建人 CreateBy string `protobuf:"bytes,20,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 创建时间 CreateTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 更新人 UpdateBy string `protobuf:"bytes,22,opt,name=update_by,json=updateBy,proto3" json:"update_by,omitempty"` // 更新时间 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // 删除人 DeleteBy string `protobuf:"bytes,24,opt,name=delete_by,json=deleteBy,proto3" json:"delete_by,omitempty"` // 删除状态 Deleted_ bool `protobuf:"varint,25,opt,name=deleted_,json=deleted,proto3" json:"deleted_,omitempty"` // 删除时间 DeleteTime *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // 用户角色 RoleIds []string `protobuf:"bytes,28,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` // 用户职务岗位 UserJobs []*UserJobs `protobuf:"bytes,29,rep,name=user_jobs,json=userJobs,proto3" json:"user_jobs,omitempty"` // 是否运行. RunAs bool `protobuf:"varint,30,opt,name=run_as,json=runAs,proto3" json:"run_as,omitempty"` // 主用户身份. PrimaryUserId string `protobuf:"bytes,31,opt,name=primary_user_id,json=primaryUserId,proto3" json:"primary_user_id,omitempty"` // 电子邮件脱敏 EmailIns string `protobuf:"bytes,32,opt,name=email_ins,json=emailIns,proto3" json:"email_ins,omitempty"` // 姓名脱敏 RealNameIns string `protobuf:"bytes,33,opt,name=real_name_ins,json=realNameIns,proto3" json:"real_name_ins,omitempty"` // contains filtered or unexported fields }
用户实体
func (*UserModel) Descriptor
deprecated
func (*UserModel) GetApproved_ ¶
func (*UserModel) GetAvatar_ ¶
func (*UserModel) GetBirthDate ¶
func (*UserModel) GetCreateBy ¶
func (*UserModel) GetCreateTime ¶
func (x *UserModel) GetCreateTime() *timestamppb.Timestamp
func (*UserModel) GetDeleteBy ¶
func (*UserModel) GetDeleteTime ¶
func (x *UserModel) GetDeleteTime() *timestamppb.Timestamp
func (*UserModel) GetDeleted_ ¶
func (*UserModel) GetDirectoryId ¶
func (*UserModel) GetEmailApproved ¶
func (*UserModel) GetEmailIns ¶
func (*UserModel) GetFailedCount ¶
func (*UserModel) GetFailedTime ¶
func (x *UserModel) GetFailedTime() *timestamppb.Timestamp
func (*UserModel) GetGender_ ¶
func (*UserModel) GetLastLockoutTime ¶
func (x *UserModel) GetLastLockoutTime() *timestamppb.Timestamp
func (*UserModel) GetLastLoginTime ¶
func (x *UserModel) GetLastLoginTime() *timestamppb.Timestamp
func (*UserModel) GetLoginName ¶
func (*UserModel) GetMobilePhone ¶
func (*UserModel) GetMobilePhoneIns ¶
func (*UserModel) GetNickName ¶
func (*UserModel) GetPhoneApproved ¶
func (*UserModel) GetPrimaryUserId ¶
func (*UserModel) GetRealName ¶
func (*UserModel) GetRealNameIns ¶
func (*UserModel) GetRoleIds ¶
func (*UserModel) GetStatus_ ¶
func (x *UserModel) GetStatus_() UserStatus
func (*UserModel) GetUpdateBy ¶
func (*UserModel) GetUpdateTime ¶
func (x *UserModel) GetUpdateTime() *timestamppb.Timestamp
func (*UserModel) GetUserJobs ¶
func (*UserModel) GetVersion_ ¶
func (*UserModel) ProtoMessage ¶
func (*UserModel) ProtoMessage()
func (*UserModel) ProtoReflect ¶
func (x *UserModel) ProtoReflect() protoreflect.Message
type UserModelTotal ¶
type UserModelTotal struct { // 总记录数 TotalSize int32 `protobuf:"varint,1,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // contains filtered or unexported fields }
合计
func (*UserModelTotal) Descriptor
deprecated
func (*UserModelTotal) Descriptor() ([]byte, []int)
Deprecated: Use UserModelTotal.ProtoReflect.Descriptor instead.
func (*UserModelTotal) GetTotalSize ¶
func (x *UserModelTotal) GetTotalSize() int32
func (*UserModelTotal) ProtoMessage ¶
func (*UserModelTotal) ProtoMessage()
func (*UserModelTotal) ProtoReflect ¶
func (x *UserModelTotal) ProtoReflect() protoreflect.Message
func (*UserModelTotal) Reset ¶
func (x *UserModelTotal) Reset()
func (*UserModelTotal) String ¶
func (x *UserModelTotal) String() string
type UserNameReq ¶
type UserNameReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用户名、手机号、邮箱 UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // 目录ID DirectoryId string `protobuf:"bytes,4,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // contains filtered or unexported fields }
用户名请求信息
func (*UserNameReq) Descriptor
deprecated
func (*UserNameReq) Descriptor() ([]byte, []int)
Deprecated: Use UserNameReq.ProtoReflect.Descriptor instead.
func (*UserNameReq) GetDirectoryId ¶
func (x *UserNameReq) GetDirectoryId() string
func (*UserNameReq) GetTenant ¶
func (x *UserNameReq) GetTenant() string
func (*UserNameReq) GetUserName ¶
func (x *UserNameReq) GetUserName() string
func (*UserNameReq) ProtoMessage ¶
func (*UserNameReq) ProtoMessage()
func (*UserNameReq) ProtoReflect ¶
func (x *UserNameReq) ProtoReflect() protoreflect.Message
func (*UserNameReq) Reset ¶
func (x *UserNameReq) Reset()
func (*UserNameReq) String ¶
func (x *UserNameReq) String() string
type UserPage ¶
type UserPage struct { // 当前页内容 Results []*UserModel `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总记录数 TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // 本页小计 SubTotalDto *UserModelTotal `protobuf:"bytes,5,opt,name=sub_total_dto,json=subTotalDto,proto3" json:"sub_total_dto,omitempty"` // 合计 TotalDto *UserModelTotal `protobuf:"bytes,6,opt,name=total_dto,json=totalDto,proto3" json:"total_dto,omitempty"` // contains filtered or unexported fields }
用户分页
func (*UserPage) Descriptor
deprecated
func (*UserPage) GetCurPage ¶
func (*UserPage) GetPageSize ¶
func (*UserPage) GetResults ¶
func (*UserPage) GetSubTotalDto ¶
func (x *UserPage) GetSubTotalDto() *UserModelTotal
func (*UserPage) GetTotalDto ¶
func (x *UserPage) GetTotalDto() *UserModelTotal
func (*UserPage) GetTotalSize ¶
func (*UserPage) ProtoMessage ¶
func (*UserPage) ProtoMessage()
func (*UserPage) ProtoReflect ¶
func (x *UserPage) ProtoReflect() protoreflect.Message
type UserReq ¶
type UserReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 当前页码 CurPage int32 `protobuf:"varint,2,opt,name=cur_page,json=curPage,proto3" json:"cur_page,omitempty"` // 页尺寸 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 排序名称 OrderName string `protobuf:"bytes,4,opt,name=order_name,json=orderName,proto3" json:"order_name,omitempty"` // 是否升序排序 OrderAsc bool `protobuf:"varint,5,opt,name=order_asc,json=orderAsc,proto3" json:"order_asc,omitempty"` // 是否显示已删除数据 ShowDeleted bool `protobuf:"varint,6,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` // 创建人 CreateBy string `protobuf:"bytes,7,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 部门ID DeptId string `protobuf:"bytes,8,opt,name=dept_id,json=deptId,proto3" json:"dept_id,omitempty"` // 用户名 LoginName string `protobuf:"bytes,9,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` // 是否包含用户状态 HasUserStatus bool `protobuf:"varint,10,opt,name=has_user_status,json=hasUserStatus,proto3" json:"has_user_status,omitempty"` // 状态 UserStatus UserStatus `protobuf:"varint,11,opt,name=user_status,json=userStatus,proto3,enum=jmash.rbac.UserStatus" json:"user_status,omitempty"` // 角色编码 RoleCode string `protobuf:"bytes,12,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"` // 目录ID DirectoryId string `protobuf:"bytes,13,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // 用户ID UserId []string `protobuf:"bytes,14,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
用户查询
func (*UserReq) Descriptor
deprecated
func (*UserReq) GetCreateBy ¶
func (*UserReq) GetCurPage ¶
func (*UserReq) GetDirectoryId ¶
func (*UserReq) GetHasUserStatus ¶
func (*UserReq) GetLoginName ¶
func (*UserReq) GetOrderAsc ¶
func (*UserReq) GetOrderName ¶
func (*UserReq) GetPageSize ¶
func (*UserReq) GetRoleCode ¶
func (*UserReq) GetShowDeleted ¶
func (*UserReq) GetUserStatus ¶
func (x *UserReq) GetUserStatus() UserStatus
func (*UserReq) ProtoMessage ¶
func (*UserReq) ProtoMessage()
func (*UserReq) ProtoReflect ¶
func (x *UserReq) ProtoReflect() protoreflect.Message
type UserResetPwdReq ¶
type UserResetPwdReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用户Id UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 密钥 Pwd string `protobuf:"bytes,3,opt,name=pwd,proto3" json:"pwd,omitempty"` // 重复密钥 RepeatPwd string `protobuf:"bytes,4,opt,name=repeat_pwd,json=repeatPwd,proto3" json:"repeat_pwd,omitempty"` // contains filtered or unexported fields }
重置密码
func (*UserResetPwdReq) Descriptor
deprecated
func (*UserResetPwdReq) Descriptor() ([]byte, []int)
Deprecated: Use UserResetPwdReq.ProtoReflect.Descriptor instead.
func (*UserResetPwdReq) GetPwd ¶
func (x *UserResetPwdReq) GetPwd() string
func (*UserResetPwdReq) GetRepeatPwd ¶
func (x *UserResetPwdReq) GetRepeatPwd() string
func (*UserResetPwdReq) GetTenant ¶
func (x *UserResetPwdReq) GetTenant() string
func (*UserResetPwdReq) GetUserId ¶
func (x *UserResetPwdReq) GetUserId() string
func (*UserResetPwdReq) ProtoMessage ¶
func (*UserResetPwdReq) ProtoMessage()
func (*UserResetPwdReq) ProtoReflect ¶
func (x *UserResetPwdReq) ProtoReflect() protoreflect.Message
func (*UserResetPwdReq) Reset ¶
func (x *UserResetPwdReq) Reset()
func (*UserResetPwdReq) String ¶
func (x *UserResetPwdReq) String() string
type UserRoleReq ¶
type UserRoleReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用户Id UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 角色编码 RoleCodes []string `protobuf:"bytes,3,rep,name=role_codes,json=roleCodes,proto3" json:"role_codes,omitempty"` // contains filtered or unexported fields }
用户角色
func (*UserRoleReq) Descriptor
deprecated
func (*UserRoleReq) Descriptor() ([]byte, []int)
Deprecated: Use UserRoleReq.ProtoReflect.Descriptor instead.
func (*UserRoleReq) GetRoleCodes ¶
func (x *UserRoleReq) GetRoleCodes() []string
func (*UserRoleReq) GetTenant ¶
func (x *UserRoleReq) GetTenant() string
func (*UserRoleReq) GetUserId ¶
func (x *UserRoleReq) GetUserId() string
func (*UserRoleReq) ProtoMessage ¶
func (*UserRoleReq) ProtoMessage()
func (*UserRoleReq) ProtoReflect ¶
func (x *UserRoleReq) ProtoReflect() protoreflect.Message
func (*UserRoleReq) Reset ¶
func (x *UserRoleReq) Reset()
func (*UserRoleReq) String ¶
func (x *UserRoleReq) String() string
type UserStatus ¶
type UserStatus int32
用户状态
const ( // 启用 UserStatus_enabled UserStatus = 0 // 禁用 UserStatus_disabled UserStatus = 1 // 锁定 UserStatus_locked UserStatus = 2 )
func (UserStatus) Descriptor ¶
func (UserStatus) Descriptor() protoreflect.EnumDescriptor
func (UserStatus) Enum ¶
func (x UserStatus) Enum() *UserStatus
func (UserStatus) EnumDescriptor
deprecated
func (UserStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserStatus.Descriptor instead.
func (UserStatus) Number ¶
func (x UserStatus) Number() protoreflect.EnumNumber
func (UserStatus) String ¶
func (x UserStatus) String() string
func (UserStatus) Type ¶
func (UserStatus) Type() protoreflect.EnumType
type UserUpdateReq ¶
type UserUpdateReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用于检测重复请求的唯一字符串ID RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 如果为true,则表示给定的请求仅需要被检验,而不是被执行 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // 更新字段掩码. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // 账号 UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 目录ID DirectoryId string `protobuf:"bytes,6,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // 用户名/登录名 LoginName string `protobuf:"bytes,7,opt,name=login_name,json=loginName,proto3" json:"login_name,omitempty"` // 手机号 MobilePhone string `protobuf:"bytes,8,opt,name=mobile_phone,json=mobilePhone,proto3" json:"mobile_phone,omitempty"` // 电子邮件 Email_ string `protobuf:"bytes,9,opt,name=email_,json=email,proto3" json:"email_,omitempty"` // 姓名 RealName string `protobuf:"bytes,10,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"` // 昵称 NickName string `protobuf:"bytes,11,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"` // 头像 Avatar_ string `protobuf:"bytes,12,opt,name=avatar_,json=avatar,proto3" json:"avatar_,omitempty"` // 出生日期 BirthDate string `protobuf:"bytes,13,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` // 性别 Gender_ basic.Gender `protobuf:"varint,14,opt,name=gender_,json=gender,proto3,enum=jmash.protobuf.Gender" json:"gender_,omitempty"` // 手机通过审核 PhoneApproved bool `protobuf:"varint,15,opt,name=phone_approved,json=phoneApproved,proto3" json:"phone_approved,omitempty"` // 邮箱通过审核 EmailApproved bool `protobuf:"varint,16,opt,name=email_approved,json=emailApproved,proto3" json:"email_approved,omitempty"` // 用户通过审核 Approved_ bool `protobuf:"varint,17,opt,name=approved_,json=approved,proto3" json:"approved_,omitempty"` // 用户状态 Status_ UserStatus `protobuf:"varint,18,opt,name=status_,json=status,proto3,enum=jmash.rbac.UserStatus" json:"status_,omitempty"` // 用户角色 RoleIds []string `protobuf:"bytes,20,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` // 所属部门岗位 UserJobs []*UserJobs `protobuf:"bytes,21,rep,name=user_jobs,json=userJobs,proto3" json:"user_jobs,omitempty"` // contains filtered or unexported fields }
用户修改实体
func (*UserUpdateReq) Descriptor
deprecated
func (*UserUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use UserUpdateReq.ProtoReflect.Descriptor instead.
func (*UserUpdateReq) GetApproved_ ¶
func (x *UserUpdateReq) GetApproved_() bool
func (*UserUpdateReq) GetAvatar_ ¶
func (x *UserUpdateReq) GetAvatar_() string
func (*UserUpdateReq) GetBirthDate ¶
func (x *UserUpdateReq) GetBirthDate() string
func (*UserUpdateReq) GetDirectoryId ¶
func (x *UserUpdateReq) GetDirectoryId() string
func (*UserUpdateReq) GetEmailApproved ¶
func (x *UserUpdateReq) GetEmailApproved() bool
func (*UserUpdateReq) GetEmail_ ¶
func (x *UserUpdateReq) GetEmail_() string
func (*UserUpdateReq) GetGender_ ¶
func (x *UserUpdateReq) GetGender_() basic.Gender
func (*UserUpdateReq) GetLoginName ¶
func (x *UserUpdateReq) GetLoginName() string
func (*UserUpdateReq) GetMobilePhone ¶
func (x *UserUpdateReq) GetMobilePhone() string
func (*UserUpdateReq) GetNickName ¶
func (x *UserUpdateReq) GetNickName() string
func (*UserUpdateReq) GetPhoneApproved ¶
func (x *UserUpdateReq) GetPhoneApproved() bool
func (*UserUpdateReq) GetRealName ¶
func (x *UserUpdateReq) GetRealName() string
func (*UserUpdateReq) GetRequestId ¶
func (x *UserUpdateReq) GetRequestId() string
func (*UserUpdateReq) GetRoleIds ¶
func (x *UserUpdateReq) GetRoleIds() []string
func (*UserUpdateReq) GetStatus_ ¶
func (x *UserUpdateReq) GetStatus_() UserStatus
func (*UserUpdateReq) GetTenant ¶
func (x *UserUpdateReq) GetTenant() string
func (*UserUpdateReq) GetUpdateMask ¶
func (x *UserUpdateReq) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UserUpdateReq) GetUserId ¶
func (x *UserUpdateReq) GetUserId() string
func (*UserUpdateReq) GetUserJobs ¶
func (x *UserUpdateReq) GetUserJobs() []*UserJobs
func (*UserUpdateReq) GetValidateOnly ¶
func (x *UserUpdateReq) GetValidateOnly() bool
func (*UserUpdateReq) ProtoMessage ¶
func (*UserUpdateReq) ProtoMessage()
func (*UserUpdateReq) ProtoReflect ¶
func (x *UserUpdateReq) ProtoReflect() protoreflect.Message
func (*UserUpdateReq) Reset ¶
func (x *UserUpdateReq) Reset()
func (*UserUpdateReq) String ¶
func (x *UserUpdateReq) String() string
type ValidCodeLoginReq ¶
type ValidCodeLoginReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 目录ID DirectoryId string `protobuf:"bytes,2,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // Email/Phone Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 验证码 ValidCode string `protobuf:"bytes,4,opt,name=valid_code,json=validCode,proto3" json:"valid_code,omitempty"` // 客户端ID ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // 范围 Scope string `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"` // contains filtered or unexported fields }
验证码登录
func (*ValidCodeLoginReq) Descriptor
deprecated
func (*ValidCodeLoginReq) Descriptor() ([]byte, []int)
Deprecated: Use ValidCodeLoginReq.ProtoReflect.Descriptor instead.
func (*ValidCodeLoginReq) GetClientId ¶
func (x *ValidCodeLoginReq) GetClientId() string
func (*ValidCodeLoginReq) GetDirectoryId ¶
func (x *ValidCodeLoginReq) GetDirectoryId() string
func (*ValidCodeLoginReq) GetName ¶
func (x *ValidCodeLoginReq) GetName() string
func (*ValidCodeLoginReq) GetScope ¶
func (x *ValidCodeLoginReq) GetScope() string
func (*ValidCodeLoginReq) GetTenant ¶
func (x *ValidCodeLoginReq) GetTenant() string
func (*ValidCodeLoginReq) GetValidCode ¶
func (x *ValidCodeLoginReq) GetValidCode() string
func (*ValidCodeLoginReq) ProtoMessage ¶
func (*ValidCodeLoginReq) ProtoMessage()
func (*ValidCodeLoginReq) ProtoReflect ¶
func (x *ValidCodeLoginReq) ProtoReflect() protoreflect.Message
func (*ValidCodeLoginReq) Reset ¶
func (x *ValidCodeLoginReq) Reset()
func (*ValidCodeLoginReq) String ¶
func (x *ValidCodeLoginReq) String() string
type VerifyResourceReq ¶
type VerifyResourceReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 资源路径 Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
校验资源信息
func (*VerifyResourceReq) Descriptor
deprecated
func (*VerifyResourceReq) Descriptor() ([]byte, []int)
Deprecated: Use VerifyResourceReq.ProtoReflect.Descriptor instead.
func (*VerifyResourceReq) GetTenant ¶
func (x *VerifyResourceReq) GetTenant() string
func (*VerifyResourceReq) GetUrl ¶
func (x *VerifyResourceReq) GetUrl() string
func (*VerifyResourceReq) ProtoMessage ¶
func (*VerifyResourceReq) ProtoMessage()
func (*VerifyResourceReq) ProtoReflect ¶
func (x *VerifyResourceReq) ProtoReflect() protoreflect.Message
func (*VerifyResourceReq) Reset ¶
func (x *VerifyResourceReq) Reset()
func (*VerifyResourceReq) String ¶
func (x *VerifyResourceReq) String() string
type VerifyRoleReq ¶
type VerifyRoleReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 角色编码 RoleCode string `protobuf:"bytes,2,opt,name=role_code,json=roleCode,proto3" json:"role_code,omitempty"` // 新增/更新 AddFlag bool `protobuf:"varint,3,opt,name=add_flag,json=addFlag,proto3" json:"add_flag,omitempty"` // 当前角色id RoleId string `protobuf:"bytes,4,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
校验角色信息
func (*VerifyRoleReq) Descriptor
deprecated
func (*VerifyRoleReq) Descriptor() ([]byte, []int)
Deprecated: Use VerifyRoleReq.ProtoReflect.Descriptor instead.
func (*VerifyRoleReq) GetAddFlag ¶
func (x *VerifyRoleReq) GetAddFlag() bool
func (*VerifyRoleReq) GetRoleCode ¶
func (x *VerifyRoleReq) GetRoleCode() string
func (*VerifyRoleReq) GetRoleId ¶
func (x *VerifyRoleReq) GetRoleId() string
func (*VerifyRoleReq) GetTenant ¶
func (x *VerifyRoleReq) GetTenant() string
func (*VerifyRoleReq) ProtoMessage ¶
func (*VerifyRoleReq) ProtoMessage()
func (*VerifyRoleReq) ProtoReflect ¶
func (x *VerifyRoleReq) ProtoReflect() protoreflect.Message
func (*VerifyRoleReq) Reset ¶
func (x *VerifyRoleReq) Reset()
func (*VerifyRoleReq) String ¶
func (x *VerifyRoleReq) String() string
type VerifyUserReq ¶
type VerifyUserReq struct { // 租户. Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 用户Id UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户名、手机号、邮箱 UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // 目录ID DirectoryId string `protobuf:"bytes,4,opt,name=directory_id,json=directoryId,proto3" json:"directory_id,omitempty"` // contains filtered or unexported fields }
校验用户信息(用户名、手机号、邮箱唯一性)
func (*VerifyUserReq) Descriptor
deprecated
func (*VerifyUserReq) Descriptor() ([]byte, []int)
Deprecated: Use VerifyUserReq.ProtoReflect.Descriptor instead.
func (*VerifyUserReq) GetDirectoryId ¶
func (x *VerifyUserReq) GetDirectoryId() string
func (*VerifyUserReq) GetTenant ¶
func (x *VerifyUserReq) GetTenant() string
func (*VerifyUserReq) GetUserId ¶
func (x *VerifyUserReq) GetUserId() string
func (*VerifyUserReq) GetUserName ¶
func (x *VerifyUserReq) GetUserName() string
func (*VerifyUserReq) ProtoMessage ¶
func (*VerifyUserReq) ProtoMessage()
func (*VerifyUserReq) ProtoReflect ¶
func (x *VerifyUserReq) ProtoReflect() protoreflect.Message
func (*VerifyUserReq) Reset ¶
func (x *VerifyUserReq) Reset()
func (*VerifyUserReq) String ¶
func (x *VerifyUserReq) String() string
type WxAppLoginReq ¶
type WxAppLoginReq struct { // 租户 Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 登录code LoginCode string `protobuf:"bytes,2,opt,name=login_code,json=loginCode,proto3" json:"login_code,omitempty"` // contains filtered or unexported fields }
微信小程序登录请求
func (*WxAppLoginReq) Descriptor
deprecated
func (*WxAppLoginReq) Descriptor() ([]byte, []int)
Deprecated: Use WxAppLoginReq.ProtoReflect.Descriptor instead.
func (*WxAppLoginReq) GetLoginCode ¶
func (x *WxAppLoginReq) GetLoginCode() string
func (*WxAppLoginReq) GetTenant ¶
func (x *WxAppLoginReq) GetTenant() string
func (*WxAppLoginReq) ProtoMessage ¶
func (*WxAppLoginReq) ProtoMessage()
func (*WxAppLoginReq) ProtoReflect ¶
func (x *WxAppLoginReq) ProtoReflect() protoreflect.Message
func (*WxAppLoginReq) Reset ¶
func (x *WxAppLoginReq) Reset()
func (*WxAppLoginReq) String ¶
func (x *WxAppLoginReq) String() string
type WxAppLoginResp ¶
type WxAppLoginResp struct { // 成功状态 Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // 成功时返回的Token Token *TokenResp `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // 失败返回OPENID和UNIONID的缓存标识 CacheKey string `protobuf:"bytes,3,opt,name=cache_key,json=cacheKey,proto3" json:"cache_key,omitempty"` // contains filtered or unexported fields }
微信小程序登录响应.
func (*WxAppLoginResp) Descriptor
deprecated
func (*WxAppLoginResp) Descriptor() ([]byte, []int)
Deprecated: Use WxAppLoginResp.ProtoReflect.Descriptor instead.
func (*WxAppLoginResp) GetCacheKey ¶
func (x *WxAppLoginResp) GetCacheKey() string
func (*WxAppLoginResp) GetStatus ¶
func (x *WxAppLoginResp) GetStatus() bool
func (*WxAppLoginResp) GetToken ¶
func (x *WxAppLoginResp) GetToken() *TokenResp
func (*WxAppLoginResp) ProtoMessage ¶
func (*WxAppLoginResp) ProtoMessage()
func (*WxAppLoginResp) ProtoReflect ¶
func (x *WxAppLoginResp) ProtoReflect() protoreflect.Message
func (*WxAppLoginResp) Reset ¶
func (x *WxAppLoginResp) Reset()
func (*WxAppLoginResp) String ¶
func (x *WxAppLoginResp) String() string
type WxAppPhoneNumberReq ¶
type WxAppPhoneNumberReq struct { // 租户 Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // 手机号code PhoneCode string `protobuf:"bytes,2,opt,name=phone_code,json=phoneCode,proto3" json:"phone_code,omitempty"` // OPENID和UNIONID的缓存标识 CacheKey string `protobuf:"bytes,3,opt,name=cache_key,json=cacheKey,proto3" json:"cache_key,omitempty"` // contains filtered or unexported fields }
微信小程序获取手机号请求
func (*WxAppPhoneNumberReq) Descriptor
deprecated
func (*WxAppPhoneNumberReq) Descriptor() ([]byte, []int)
Deprecated: Use WxAppPhoneNumberReq.ProtoReflect.Descriptor instead.
func (*WxAppPhoneNumberReq) GetCacheKey ¶
func (x *WxAppPhoneNumberReq) GetCacheKey() string
func (*WxAppPhoneNumberReq) GetPhoneCode ¶
func (x *WxAppPhoneNumberReq) GetPhoneCode() string
func (*WxAppPhoneNumberReq) GetTenant ¶
func (x *WxAppPhoneNumberReq) GetTenant() string
func (*WxAppPhoneNumberReq) ProtoMessage ¶
func (*WxAppPhoneNumberReq) ProtoMessage()
func (*WxAppPhoneNumberReq) ProtoReflect ¶
func (x *WxAppPhoneNumberReq) ProtoReflect() protoreflect.Message
func (*WxAppPhoneNumberReq) Reset ¶
func (x *WxAppPhoneNumberReq) Reset()
func (*WxAppPhoneNumberReq) String ¶
func (x *WxAppPhoneNumberReq) String() string
type WxAppPhoneNumberResp ¶
type WxAppPhoneNumberResp struct { // 成功状态 Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // 成功时返回的Token Token *TokenResp `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // 失败说明 Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
微信小程序获取手机号响应
func (*WxAppPhoneNumberResp) Descriptor
deprecated
func (*WxAppPhoneNumberResp) Descriptor() ([]byte, []int)
Deprecated: Use WxAppPhoneNumberResp.ProtoReflect.Descriptor instead.
func (*WxAppPhoneNumberResp) GetMessage ¶
func (x *WxAppPhoneNumberResp) GetMessage() string
func (*WxAppPhoneNumberResp) GetStatus ¶
func (x *WxAppPhoneNumberResp) GetStatus() bool
func (*WxAppPhoneNumberResp) GetToken ¶
func (x *WxAppPhoneNumberResp) GetToken() *TokenResp
func (*WxAppPhoneNumberResp) ProtoMessage ¶
func (*WxAppPhoneNumberResp) ProtoMessage()
func (*WxAppPhoneNumberResp) ProtoReflect ¶
func (x *WxAppPhoneNumberResp) ProtoReflect() protoreflect.Message
func (*WxAppPhoneNumberResp) Reset ¶
func (x *WxAppPhoneNumberResp) Reset()
func (*WxAppPhoneNumberResp) String ¶
func (x *WxAppPhoneNumberResp) String() string
Source Files ¶
- miniapp_message.pb.go
- rbac_auth_message.pb.go
- rbac_dept_message.pb.go
- rbac_log_message.pb.go
- rbac_module_message.pb.go
- rbac_open_app_message.pb.go
- rbac_opens_message.pb.go
- rbac_operation_message.pb.go
- rbac_perm_message.pb.go
- rbac_resource_message.pb.go
- rbac_role_message.pb.go
- rbac_rpc.pb.go
- rbac_rpc.pb.gw.go
- rbac_rpc_grpc.pb.go
- rbac_user_log_message.pb.go
- rbac_user_message.pb.go
- weixin_message.pb.go