1696 lines
53 KiB
Go
1696 lines
53 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v4.25.8
|
|
// source: admin/admin.proto
|
|
|
|
package admin
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type AdminEditRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
|
|
Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
|
|
Roles []int64 `protobuf:"varint,7,rep,packed,name=roles,proto3" json:"roles,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AdminEditRequest) Reset() {
|
|
*x = AdminEditRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AdminEditRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AdminEditRequest) ProtoMessage() {}
|
|
|
|
func (x *AdminEditRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AdminEditRequest.ProtoReflect.Descriptor instead.
|
|
func (*AdminEditRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *AdminEditRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AdminEditRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminEditRequest) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminEditRequest) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminEditRequest) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminEditRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminEditRequest) GetRoles() []int64 {
|
|
if x != nil {
|
|
return x.Roles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StatusRequest) Reset() {
|
|
*x = StatusRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusRequest) ProtoMessage() {}
|
|
|
|
func (x *StatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*StatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *StatusRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StatusRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StatusRequest) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Response struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Response) Reset() {
|
|
*x = Response{}
|
|
mi := &file_admin_admin_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Response) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
func (x *Response) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
|
|
func (*Response) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Response) GetCode() int32 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Response) GetMsg() string {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Response) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PasswordRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PasswordRequest) Reset() {
|
|
*x = PasswordRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PasswordRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PasswordRequest) ProtoMessage() {}
|
|
|
|
func (x *PasswordRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PasswordRequest.ProtoReflect.Descriptor instead.
|
|
func (*PasswordRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *PasswordRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PasswordRequest) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OwnPasswordRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OwnPasswordRequest) Reset() {
|
|
*x = OwnPasswordRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OwnPasswordRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OwnPasswordRequest) ProtoMessage() {}
|
|
|
|
func (x *OwnPasswordRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OwnPasswordRequest.ProtoReflect.Descriptor instead.
|
|
func (*OwnPasswordRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *OwnPasswordRequest) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AdminInfoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AdminInfoRequest) Reset() {
|
|
*x = AdminInfoRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AdminInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AdminInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *AdminInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AdminInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*AdminInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *AdminInfoRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AdminItemsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
|
|
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
|
|
Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AdminItemsRequest) Reset() {
|
|
*x = AdminItemsRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AdminItemsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AdminItemsRequest) ProtoMessage() {}
|
|
|
|
func (x *AdminItemsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AdminItemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*AdminItemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *AdminItemsRequest) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AdminItemsRequest) GetSize() int32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AdminItemsRequest) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminItemsRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminItemsRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminItemsRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LoginRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoginRequest) Reset() {
|
|
*x = LoginRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginRequest) ProtoMessage() {}
|
|
|
|
func (x *LoginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
|
|
func (*LoginRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *LoginRequest) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRequest) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AdminEmptyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AdminEmptyRequest) Reset() {
|
|
*x = AdminEmptyRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AdminEmptyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AdminEmptyRequest) ProtoMessage() {}
|
|
|
|
func (x *AdminEmptyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AdminEmptyRequest.ProtoReflect.Descriptor instead.
|
|
func (*AdminEmptyRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type InfoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InfoRequest) Reset() {
|
|
*x = InfoRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InfoRequest) ProtoMessage() {}
|
|
|
|
func (x *InfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*InfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *InfoRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LoginKickedOutRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoginKickedOutRequest) Reset() {
|
|
*x = LoginKickedOutRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoginKickedOutRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginKickedOutRequest) ProtoMessage() {}
|
|
|
|
func (x *LoginKickedOutRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoginKickedOutRequest.ProtoReflect.Descriptor instead.
|
|
func (*LoginKickedOutRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *LoginKickedOutRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ServiceEditRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ServiceEditRequest) Reset() {
|
|
*x = ServiceEditRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ServiceEditRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ServiceEditRequest) ProtoMessage() {}
|
|
|
|
func (x *ServiceEditRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ServiceEditRequest.ProtoReflect.Descriptor instead.
|
|
func (*ServiceEditRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ServiceEditRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ServiceEditRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceEditRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ServiceItemsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ServiceItemsRequest) Reset() {
|
|
*x = ServiceItemsRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ServiceItemsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ServiceItemsRequest) ProtoMessage() {}
|
|
|
|
func (x *ServiceItemsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ServiceItemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ServiceItemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ServiceItemsRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceItemsRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ServiceNameRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ServiceNameRequest) Reset() {
|
|
*x = ServiceNameRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ServiceNameRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ServiceNameRequest) ProtoMessage() {}
|
|
|
|
func (x *ServiceNameRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ServiceNameRequest.ProtoReflect.Descriptor instead.
|
|
func (*ServiceNameRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ServiceNameRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AuthoritySortRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AuthoritySortRequest) Reset() {
|
|
*x = AuthoritySortRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthoritySortRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthoritySortRequest) ProtoMessage() {}
|
|
|
|
func (x *AuthoritySortRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthoritySortRequest.ProtoReflect.Descriptor instead.
|
|
func (*AuthoritySortRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *AuthoritySortRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AuthoritySortRequest) GetType() int32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AuthorityNameRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ServiceId int64 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
|
|
Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AuthorityNameRequest) Reset() {
|
|
*x = AuthorityNameRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthorityNameRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthorityNameRequest) ProtoMessage() {}
|
|
|
|
func (x *AuthorityNameRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthorityNameRequest.ProtoReflect.Descriptor instead.
|
|
func (*AuthorityNameRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *AuthorityNameRequest) GetServiceId() int64 {
|
|
if x != nil {
|
|
return x.ServiceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AuthorityNameRequest) GetType() int32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AuthorityItemsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ServiceId int64 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AuthorityItemsRequest) Reset() {
|
|
*x = AuthorityItemsRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthorityItemsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthorityItemsRequest) ProtoMessage() {}
|
|
|
|
func (x *AuthorityItemsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthorityItemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*AuthorityItemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *AuthorityItemsRequest) GetServiceId() int64 {
|
|
if x != nil {
|
|
return x.ServiceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RoutesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ServiceId int64 `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RoutesRequest) Reset() {
|
|
*x = RoutesRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RoutesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RoutesRequest) ProtoMessage() {}
|
|
|
|
func (x *RoutesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RoutesRequest.ProtoReflect.Descriptor instead.
|
|
func (*RoutesRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *RoutesRequest) GetServiceId() int64 {
|
|
if x != nil {
|
|
return x.ServiceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AuthorityEditRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
ParentId int64 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
|
|
Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
ServiceId int64 `protobuf:"varint,5,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
|
|
Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
|
|
Api string `protobuf:"bytes,7,opt,name=api,proto3" json:"api,omitempty"`
|
|
ViewPath string `protobuf:"bytes,8,opt,name=view_path,json=viewPath,proto3" json:"view_path,omitempty"`
|
|
Identification string `protobuf:"bytes,9,opt,name=identification,proto3" json:"identification,omitempty"`
|
|
Icon string `protobuf:"bytes,10,opt,name=icon,proto3" json:"icon,omitempty"`
|
|
IsShow int32 `protobuf:"varint,11,opt,name=is_show,json=isShow,proto3" json:"is_show,omitempty"`
|
|
Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
|
|
DataBaseStr string `protobuf:"bytes,13,opt,name=data_base_str,json=dataBaseStr,proto3" json:"data_base_str,omitempty"`
|
|
DataAll string `protobuf:"bytes,14,opt,name=data_all,json=dataAll,proto3" json:"data_all,omitempty"`
|
|
DataDepartment string `protobuf:"bytes,15,opt,name=data_department,json=dataDepartment,proto3" json:"data_department,omitempty"`
|
|
DataOneself string `protobuf:"bytes,16,opt,name=data_oneself,json=dataOneself,proto3" json:"data_oneself,omitempty"`
|
|
DataTreeAll string `protobuf:"bytes,17,opt,name=data_tree_all,json=dataTreeAll,proto3" json:"data_tree_all,omitempty"`
|
|
DataTreeDepartment string `protobuf:"bytes,18,opt,name=data_tree_department,json=dataTreeDepartment,proto3" json:"data_tree_department,omitempty"`
|
|
DataTreeOneself string `protobuf:"bytes,19,opt,name=data_tree_oneself,json=dataTreeOneself,proto3" json:"data_tree_oneself,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) Reset() {
|
|
*x = AuthorityEditRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthorityEditRequest) ProtoMessage() {}
|
|
|
|
func (x *AuthorityEditRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthorityEditRequest.ProtoReflect.Descriptor instead.
|
|
func (*AuthorityEditRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetParentId() int64 {
|
|
if x != nil {
|
|
return x.ParentId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetType() int32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetServiceId() int64 {
|
|
if x != nil {
|
|
return x.ServiceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetApi() string {
|
|
if x != nil {
|
|
return x.Api
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetViewPath() string {
|
|
if x != nil {
|
|
return x.ViewPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetIdentification() string {
|
|
if x != nil {
|
|
return x.Identification
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetIcon() string {
|
|
if x != nil {
|
|
return x.Icon
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetIsShow() int32 {
|
|
if x != nil {
|
|
return x.IsShow
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetDataBaseStr() string {
|
|
if x != nil {
|
|
return x.DataBaseStr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetDataAll() string {
|
|
if x != nil {
|
|
return x.DataAll
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetDataDepartment() string {
|
|
if x != nil {
|
|
return x.DataDepartment
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetDataOneself() string {
|
|
if x != nil {
|
|
return x.DataOneself
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetDataTreeAll() string {
|
|
if x != nil {
|
|
return x.DataTreeAll
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetDataTreeDepartment() string {
|
|
if x != nil {
|
|
return x.DataTreeDepartment
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorityEditRequest) GetDataTreeOneself() string {
|
|
if x != nil {
|
|
return x.DataTreeOneself
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RoleRuleRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Rule string `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RoleRuleRequest) Reset() {
|
|
*x = RoleRuleRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RoleRuleRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RoleRuleRequest) ProtoMessage() {}
|
|
|
|
func (x *RoleRuleRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RoleRuleRequest.ProtoReflect.Descriptor instead.
|
|
func (*RoleRuleRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *RoleRuleRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoleRuleRequest) GetRule() string {
|
|
if x != nil {
|
|
return x.Rule
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RoleNameRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
ServiceId int64 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RoleNameRequest) Reset() {
|
|
*x = RoleNameRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RoleNameRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RoleNameRequest) ProtoMessage() {}
|
|
|
|
func (x *RoleNameRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RoleNameRequest.ProtoReflect.Descriptor instead.
|
|
func (*RoleNameRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *RoleNameRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RoleNameRequest) GetServiceId() int64 {
|
|
if x != nil {
|
|
return x.ServiceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RoleEditRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
ServiceId int64 `protobuf:"varint,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
|
|
Rules []int64 `protobuf:"varint,4,rep,packed,name=rules,proto3" json:"rules,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RoleEditRequest) Reset() {
|
|
*x = RoleEditRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RoleEditRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RoleEditRequest) ProtoMessage() {}
|
|
|
|
func (x *RoleEditRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RoleEditRequest.ProtoReflect.Descriptor instead.
|
|
func (*RoleEditRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *RoleEditRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoleEditRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RoleEditRequest) GetServiceId() int64 {
|
|
if x != nil {
|
|
return x.ServiceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoleEditRequest) GetRules() []int64 {
|
|
if x != nil {
|
|
return x.Rules
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RoleItemsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
|
|
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
|
ServiceId int64 `protobuf:"varint,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RoleItemsRequest) Reset() {
|
|
*x = RoleItemsRequest{}
|
|
mi := &file_admin_admin_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RoleItemsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RoleItemsRequest) ProtoMessage() {}
|
|
|
|
func (x *RoleItemsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_admin_admin_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RoleItemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*RoleItemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_admin_admin_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *RoleItemsRequest) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoleItemsRequest) GetSize() int32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoleItemsRequest) GetServiceId() int64 {
|
|
if x != nil {
|
|
return x.ServiceId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoleItemsRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RoleItemsRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_admin_admin_proto protoreflect.FileDescriptor
|
|
|
|
const file_admin_admin_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x11admin/admin.proto\x12\x05admin\x1a\x1cgoogle/api/annotations.proto\"\xac\x01\n" +
|
|
"\x10AdminEditRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n" +
|
|
"\bpassword\x18\x03 \x01(\tR\bpassword\x12\x16\n" +
|
|
"\x06avatar\x18\x04 \x01(\tR\x06avatar\x12\x14\n" +
|
|
"\x05phone\x18\x05 \x01(\tR\x05phone\x12\x14\n" +
|
|
"\x05email\x18\x06 \x01(\tR\x05email\x12\x14\n" +
|
|
"\x05roles\x18\a \x03(\x03R\x05roles\"O\n" +
|
|
"\rStatusRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\x05R\x06status\x12\x16\n" +
|
|
"\x06reason\x18\x03 \x01(\tR\x06reason\"D\n" +
|
|
"\bResponse\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x10\n" +
|
|
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\tR\x04data\"=\n" +
|
|
"\x0fPasswordRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\"0\n" +
|
|
"\x12OwnPasswordRequest\x12\x1a\n" +
|
|
"\bpassword\x18\x01 \x01(\tR\bpassword\"\"\n" +
|
|
"\x10AdminInfoRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"\x93\x01\n" +
|
|
"\x11AdminItemsRequest\x12\x12\n" +
|
|
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x14\n" +
|
|
"\x05phone\x18\x03 \x01(\tR\x05phone\x12\x12\n" +
|
|
"\x04name\x18\x04 \x01(\tR\x04name\x12\x14\n" +
|
|
"\x05email\x18\x05 \x01(\tR\x05email\x12\x16\n" +
|
|
"\x06status\x18\x06 \x01(\x05R\x06status\"F\n" +
|
|
"\fLoginRequest\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\"\x13\n" +
|
|
"\x11AdminEmptyRequest\"\x1d\n" +
|
|
"\vInfoRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"'\n" +
|
|
"\x15LoginKickedOutRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"Z\n" +
|
|
"\x12ServiceEditRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\"A\n" +
|
|
"\x13ServiceItemsRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\x05R\x06status\"(\n" +
|
|
"\x12ServiceNameRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\":\n" +
|
|
"\x14AuthoritySortRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04type\x18\x02 \x01(\x05R\x04type\"I\n" +
|
|
"\x14AuthorityNameRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"service_id\x18\x01 \x01(\x03R\tserviceId\x12\x12\n" +
|
|
"\x04type\x18\x02 \x01(\x05R\x04type\"6\n" +
|
|
"\x15AuthorityItemsRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"service_id\x18\x01 \x01(\x03R\tserviceId\".\n" +
|
|
"\rRoutesRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"service_id\x18\x01 \x01(\x03R\tserviceId\"\xd1\x04\n" +
|
|
"\x14AuthorityEditRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n" +
|
|
"\tparent_id\x18\x03 \x01(\x03R\bparentId\x12\x12\n" +
|
|
"\x04type\x18\x04 \x01(\x05R\x04type\x12\x1d\n" +
|
|
"\n" +
|
|
"service_id\x18\x05 \x01(\x03R\tserviceId\x12\x12\n" +
|
|
"\x04path\x18\x06 \x01(\tR\x04path\x12\x10\n" +
|
|
"\x03api\x18\a \x01(\tR\x03api\x12\x1b\n" +
|
|
"\tview_path\x18\b \x01(\tR\bviewPath\x12&\n" +
|
|
"\x0eidentification\x18\t \x01(\tR\x0eidentification\x12\x12\n" +
|
|
"\x04icon\x18\n" +
|
|
" \x01(\tR\x04icon\x12\x17\n" +
|
|
"\ais_show\x18\v \x01(\x05R\x06isShow\x12 \n" +
|
|
"\vdescription\x18\f \x01(\tR\vdescription\x12\"\n" +
|
|
"\rdata_base_str\x18\r \x01(\tR\vdataBaseStr\x12\x19\n" +
|
|
"\bdata_all\x18\x0e \x01(\tR\adataAll\x12'\n" +
|
|
"\x0fdata_department\x18\x0f \x01(\tR\x0edataDepartment\x12!\n" +
|
|
"\fdata_oneself\x18\x10 \x01(\tR\vdataOneself\x12\"\n" +
|
|
"\rdata_tree_all\x18\x11 \x01(\tR\vdataTreeAll\x120\n" +
|
|
"\x14data_tree_department\x18\x12 \x01(\tR\x12dataTreeDepartment\x12*\n" +
|
|
"\x11data_tree_oneself\x18\x13 \x01(\tR\x0fdataTreeOneself\"5\n" +
|
|
"\x0fRoleRuleRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04rule\x18\x02 \x01(\tR\x04rule\"D\n" +
|
|
"\x0fRoleNameRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1d\n" +
|
|
"\n" +
|
|
"service_id\x18\x02 \x01(\x03R\tserviceId\"j\n" +
|
|
"\x0fRoleEditRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" +
|
|
"\n" +
|
|
"service_id\x18\x03 \x01(\x03R\tserviceId\x12\x14\n" +
|
|
"\x05rules\x18\x04 \x03(\x03R\x05rules\"\x85\x01\n" +
|
|
"\x10RoleItemsRequest\x12\x12\n" +
|
|
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x1d\n" +
|
|
"\n" +
|
|
"service_id\x18\x03 \x01(\x03R\tserviceId\x12\x12\n" +
|
|
"\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n" +
|
|
"\x06status\x18\x05 \x01(\x05R\x06status2\x82\x16\n" +
|
|
"\x05Admin\x12V\n" +
|
|
"\tAdminEdit\x12\x17.admin.AdminEditRequest\x1a\x0f.admin.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/admin/v3/admin/edit\x12W\n" +
|
|
"\vAdminStatus\x12\x14.admin.StatusRequest\x1a\x0f.admin.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/admin/v3/admin/status\x12X\n" +
|
|
"\bPassword\x12\x16.admin.PasswordRequest\x1a\x0f.admin.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/admin/v3/admin/password\x12b\n" +
|
|
"\vOwnPassword\x12\x19.admin.OwnPasswordRequest\x1a\x0f.admin.Response\"'\x82\xd3\xe4\x93\x02!:\x01*\"\x1c/admin/v3/admin/own-password\x12V\n" +
|
|
"\tAdminInfo\x12\x17.admin.AdminInfoRequest\x1a\x0f.admin.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/admin/info\x12Y\n" +
|
|
"\n" +
|
|
"AdminItems\x12\x18.admin.AdminItemsRequest\x1a\x0f.admin.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/admin/items\x12Y\n" +
|
|
"\n" +
|
|
"AdminNames\x12\x18.admin.AdminEmptyRequest\x1a\x0f.admin.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/admin/names\x12W\n" +
|
|
"\fLoginRefresh\x12\x18.admin.AdminEmptyRequest\x1a\x0f.admin.Response\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/admin/v3/refresh\x12I\n" +
|
|
"\x05Login\x12\x13.admin.LoginRequest\x1a\x0f.admin.Response\"\x1a\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/admin/v3/login\x12Q\n" +
|
|
"\tLoginInfo\x12\x18.admin.AdminEmptyRequest\x1a\x0f.admin.Response\"\x19\x82\xd3\xe4\x93\x02\x13:\x01*\x12\x0e/admin/v3/info\x12Y\n" +
|
|
"\n" +
|
|
"LoginItems\x12\x18.admin.AdminEmptyRequest\x1a\x0f.admin.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/login/items\x12`\n" +
|
|
"\x0eLoginKickedOut\x12\x1c.admin.LoginKickedOutRequest\x1a\x0f.admin.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/admin/v3/kicked-out\x12P\n" +
|
|
"\x06LogOut\x12\x18.admin.AdminEmptyRequest\x1a\x0f.admin.Response\"\x1b\x82\xd3\xe4\x93\x02\x15:\x01*\"\x10/admin/v3/logout\x12Q\n" +
|
|
"\vLoginRoutes\x12\x14.admin.RoutesRequest\x1a\x0f.admin.Response\"\x1b\x82\xd3\xe4\x93\x02\x15:\x01*\x12\x10/admin/v3/routes\x12U\n" +
|
|
"\vServiceInfo\x12\x12.admin.InfoRequest\x1a\x0f.admin.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\x12\x16/admin/v3/service/info\x12\\\n" +
|
|
"\vServiceEdit\x12\x19.admin.ServiceEditRequest\x1a\x0f.admin.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/admin/v3/service/edit\x12_\n" +
|
|
"\fServiceItems\x12\x1a.admin.ServiceItemsRequest\x1a\x0f.admin.Response\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\x12\x17/admin/v3/service/items\x12[\n" +
|
|
"\rServiceStatus\x12\x14.admin.StatusRequest\x1a\x0f.admin.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/admin/v3/service/status\x12^\n" +
|
|
"\fServiceNames\x12\x19.admin.ServiceNameRequest\x1a\x0f.admin.Response\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\x12\x17/admin/v3/service/names\x12Y\n" +
|
|
"\rAuthorityInfo\x12\x12.admin.InfoRequest\x1a\x0f.admin.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\x12\x18/admin/v3/authority/info\x12b\n" +
|
|
"\rAuthorityEdit\x12\x1b.admin.AuthorityEditRequest\x1a\x0f.admin.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/admin/v3/authority/edit\x12e\n" +
|
|
"\x0eAuthorityItems\x12\x1c.admin.AuthorityItemsRequest\x1a\x0f.admin.Response\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\x12\x19/admin/v3/authority/items\x12_\n" +
|
|
"\x0fAuthorityStatus\x12\x14.admin.StatusRequest\x1a\x0f.admin.Response\"%\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/admin/v3/authority/status\x12d\n" +
|
|
"\x0eAuthorityNames\x12\x1b.admin.AuthorityNameRequest\x1a\x0f.admin.Response\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\x12\x19/admin/v3/authority/names\x12b\n" +
|
|
"\rAuthoritySort\x12\x1b.admin.AuthoritySortRequest\x1a\x0f.admin.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/admin/v3/authority/sort\x12U\n" +
|
|
"\tRoleNames\x12\x16.admin.RoleNameRequest\x1a\x0f.admin.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/role/names\x12O\n" +
|
|
"\bRoleInfo\x12\x12.admin.InfoRequest\x1a\x0f.admin.Response\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\x12\x13/admin/v3/role/info\x12S\n" +
|
|
"\bRoleEdit\x12\x16.admin.RoleEditRequest\x1a\x0f.admin.Response\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\"\x13/admin/v3/role/edit\x12V\n" +
|
|
"\tRoleItems\x12\x17.admin.RoleItemsRequest\x1a\x0f.admin.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/role/items\x12U\n" +
|
|
"\n" +
|
|
"RoleStatus\x12\x14.admin.StatusRequest\x1a\x0f.admin.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/admin/v3/role/status\x12S\n" +
|
|
"\bRoleRule\x12\x16.admin.RoleRuleRequest\x1a\x0f.admin.Response\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\x12\x13/admin/v3/role/ruleB\x19Z\x17lone-services/rpc/adminb\x06proto3"
|
|
|
|
var (
|
|
file_admin_admin_proto_rawDescOnce sync.Once
|
|
file_admin_admin_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_admin_admin_proto_rawDescGZIP() []byte {
|
|
file_admin_admin_proto_rawDescOnce.Do(func() {
|
|
file_admin_admin_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_admin_admin_proto_rawDesc), len(file_admin_admin_proto_rawDesc)))
|
|
})
|
|
return file_admin_admin_proto_rawDescData
|
|
}
|
|
|
|
var file_admin_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
|
|
var file_admin_admin_proto_goTypes = []any{
|
|
(*AdminEditRequest)(nil), // 0: admin.AdminEditRequest
|
|
(*StatusRequest)(nil), // 1: admin.StatusRequest
|
|
(*Response)(nil), // 2: admin.Response
|
|
(*PasswordRequest)(nil), // 3: admin.PasswordRequest
|
|
(*OwnPasswordRequest)(nil), // 4: admin.OwnPasswordRequest
|
|
(*AdminInfoRequest)(nil), // 5: admin.AdminInfoRequest
|
|
(*AdminItemsRequest)(nil), // 6: admin.AdminItemsRequest
|
|
(*LoginRequest)(nil), // 7: admin.LoginRequest
|
|
(*AdminEmptyRequest)(nil), // 8: admin.AdminEmptyRequest
|
|
(*InfoRequest)(nil), // 9: admin.InfoRequest
|
|
(*LoginKickedOutRequest)(nil), // 10: admin.LoginKickedOutRequest
|
|
(*ServiceEditRequest)(nil), // 11: admin.ServiceEditRequest
|
|
(*ServiceItemsRequest)(nil), // 12: admin.ServiceItemsRequest
|
|
(*ServiceNameRequest)(nil), // 13: admin.ServiceNameRequest
|
|
(*AuthoritySortRequest)(nil), // 14: admin.AuthoritySortRequest
|
|
(*AuthorityNameRequest)(nil), // 15: admin.AuthorityNameRequest
|
|
(*AuthorityItemsRequest)(nil), // 16: admin.AuthorityItemsRequest
|
|
(*RoutesRequest)(nil), // 17: admin.RoutesRequest
|
|
(*AuthorityEditRequest)(nil), // 18: admin.AuthorityEditRequest
|
|
(*RoleRuleRequest)(nil), // 19: admin.RoleRuleRequest
|
|
(*RoleNameRequest)(nil), // 20: admin.RoleNameRequest
|
|
(*RoleEditRequest)(nil), // 21: admin.RoleEditRequest
|
|
(*RoleItemsRequest)(nil), // 22: admin.RoleItemsRequest
|
|
}
|
|
var file_admin_admin_proto_depIdxs = []int32{
|
|
0, // 0: admin.Admin.AdminEdit:input_type -> admin.AdminEditRequest
|
|
1, // 1: admin.Admin.AdminStatus:input_type -> admin.StatusRequest
|
|
3, // 2: admin.Admin.Password:input_type -> admin.PasswordRequest
|
|
4, // 3: admin.Admin.OwnPassword:input_type -> admin.OwnPasswordRequest
|
|
5, // 4: admin.Admin.AdminInfo:input_type -> admin.AdminInfoRequest
|
|
6, // 5: admin.Admin.AdminItems:input_type -> admin.AdminItemsRequest
|
|
8, // 6: admin.Admin.AdminNames:input_type -> admin.AdminEmptyRequest
|
|
8, // 7: admin.Admin.LoginRefresh:input_type -> admin.AdminEmptyRequest
|
|
7, // 8: admin.Admin.Login:input_type -> admin.LoginRequest
|
|
8, // 9: admin.Admin.LoginInfo:input_type -> admin.AdminEmptyRequest
|
|
8, // 10: admin.Admin.LoginItems:input_type -> admin.AdminEmptyRequest
|
|
10, // 11: admin.Admin.LoginKickedOut:input_type -> admin.LoginKickedOutRequest
|
|
8, // 12: admin.Admin.LogOut:input_type -> admin.AdminEmptyRequest
|
|
17, // 13: admin.Admin.LoginRoutes:input_type -> admin.RoutesRequest
|
|
9, // 14: admin.Admin.ServiceInfo:input_type -> admin.InfoRequest
|
|
11, // 15: admin.Admin.ServiceEdit:input_type -> admin.ServiceEditRequest
|
|
12, // 16: admin.Admin.ServiceItems:input_type -> admin.ServiceItemsRequest
|
|
1, // 17: admin.Admin.ServiceStatus:input_type -> admin.StatusRequest
|
|
13, // 18: admin.Admin.ServiceNames:input_type -> admin.ServiceNameRequest
|
|
9, // 19: admin.Admin.AuthorityInfo:input_type -> admin.InfoRequest
|
|
18, // 20: admin.Admin.AuthorityEdit:input_type -> admin.AuthorityEditRequest
|
|
16, // 21: admin.Admin.AuthorityItems:input_type -> admin.AuthorityItemsRequest
|
|
1, // 22: admin.Admin.AuthorityStatus:input_type -> admin.StatusRequest
|
|
15, // 23: admin.Admin.AuthorityNames:input_type -> admin.AuthorityNameRequest
|
|
14, // 24: admin.Admin.AuthoritySort:input_type -> admin.AuthoritySortRequest
|
|
20, // 25: admin.Admin.RoleNames:input_type -> admin.RoleNameRequest
|
|
9, // 26: admin.Admin.RoleInfo:input_type -> admin.InfoRequest
|
|
21, // 27: admin.Admin.RoleEdit:input_type -> admin.RoleEditRequest
|
|
22, // 28: admin.Admin.RoleItems:input_type -> admin.RoleItemsRequest
|
|
1, // 29: admin.Admin.RoleStatus:input_type -> admin.StatusRequest
|
|
19, // 30: admin.Admin.RoleRule:input_type -> admin.RoleRuleRequest
|
|
2, // 31: admin.Admin.AdminEdit:output_type -> admin.Response
|
|
2, // 32: admin.Admin.AdminStatus:output_type -> admin.Response
|
|
2, // 33: admin.Admin.Password:output_type -> admin.Response
|
|
2, // 34: admin.Admin.OwnPassword:output_type -> admin.Response
|
|
2, // 35: admin.Admin.AdminInfo:output_type -> admin.Response
|
|
2, // 36: admin.Admin.AdminItems:output_type -> admin.Response
|
|
2, // 37: admin.Admin.AdminNames:output_type -> admin.Response
|
|
2, // 38: admin.Admin.LoginRefresh:output_type -> admin.Response
|
|
2, // 39: admin.Admin.Login:output_type -> admin.Response
|
|
2, // 40: admin.Admin.LoginInfo:output_type -> admin.Response
|
|
2, // 41: admin.Admin.LoginItems:output_type -> admin.Response
|
|
2, // 42: admin.Admin.LoginKickedOut:output_type -> admin.Response
|
|
2, // 43: admin.Admin.LogOut:output_type -> admin.Response
|
|
2, // 44: admin.Admin.LoginRoutes:output_type -> admin.Response
|
|
2, // 45: admin.Admin.ServiceInfo:output_type -> admin.Response
|
|
2, // 46: admin.Admin.ServiceEdit:output_type -> admin.Response
|
|
2, // 47: admin.Admin.ServiceItems:output_type -> admin.Response
|
|
2, // 48: admin.Admin.ServiceStatus:output_type -> admin.Response
|
|
2, // 49: admin.Admin.ServiceNames:output_type -> admin.Response
|
|
2, // 50: admin.Admin.AuthorityInfo:output_type -> admin.Response
|
|
2, // 51: admin.Admin.AuthorityEdit:output_type -> admin.Response
|
|
2, // 52: admin.Admin.AuthorityItems:output_type -> admin.Response
|
|
2, // 53: admin.Admin.AuthorityStatus:output_type -> admin.Response
|
|
2, // 54: admin.Admin.AuthorityNames:output_type -> admin.Response
|
|
2, // 55: admin.Admin.AuthoritySort:output_type -> admin.Response
|
|
2, // 56: admin.Admin.RoleNames:output_type -> admin.Response
|
|
2, // 57: admin.Admin.RoleInfo:output_type -> admin.Response
|
|
2, // 58: admin.Admin.RoleEdit:output_type -> admin.Response
|
|
2, // 59: admin.Admin.RoleItems:output_type -> admin.Response
|
|
2, // 60: admin.Admin.RoleStatus:output_type -> admin.Response
|
|
2, // 61: admin.Admin.RoleRule:output_type -> admin.Response
|
|
31, // [31:62] is the sub-list for method output_type
|
|
0, // [0:31] is the sub-list for method input_type
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
0, // [0:0] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_admin_admin_proto_init() }
|
|
func file_admin_admin_proto_init() {
|
|
if File_admin_admin_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_admin_admin_proto_rawDesc), len(file_admin_admin_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 23,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_admin_admin_proto_goTypes,
|
|
DependencyIndexes: file_admin_admin_proto_depIdxs,
|
|
MessageInfos: file_admin_admin_proto_msgTypes,
|
|
}.Build()
|
|
File_admin_admin_proto = out.File
|
|
file_admin_admin_proto_goTypes = nil
|
|
file_admin_admin_proto_depIdxs = nil
|
|
}
|