pb

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SystemRpc_RetrieveNotice_FullMethodName    = "/system.system_rpc/RetrieveNotice"
	SystemRpc_ListNotice_FullMethodName        = "/system.system_rpc/ListNotice"
	SystemRpc_CreateNotice_FullMethodName      = "/system.system_rpc/CreateNotice"
	SystemRpc_UpdateNotice_FullMethodName      = "/system.system_rpc/UpdateNotice"
	SystemRpc_DeleteNotice_FullMethodName      = "/system.system_rpc/DeleteNotice"
	SystemRpc_RetrieveNews_FullMethodName      = "/system.system_rpc/RetrieveNews"
	SystemRpc_ListNews_FullMethodName          = "/system.system_rpc/ListNews"
	SystemRpc_CreateNews_FullMethodName        = "/system.system_rpc/CreateNews"
	SystemRpc_UpdateNews_FullMethodName        = "/system.system_rpc/UpdateNews"
	SystemRpc_DeleteNews_FullMethodName        = "/system.system_rpc/DeleteNews"
	SystemRpc_RetrieveAdmin_FullMethodName     = "/system.system_rpc/RetrieveAdmin"
	SystemRpc_ListAdmin_FullMethodName         = "/system.system_rpc/ListAdmin"
	SystemRpc_CreateAdmin_FullMethodName       = "/system.system_rpc/CreateAdmin"
	SystemRpc_UpdateAdmin_FullMethodName       = "/system.system_rpc/UpdateAdmin"
	SystemRpc_DeleteAdmin_FullMethodName       = "/system.system_rpc/DeleteAdmin"
	SystemRpc_HandleApply_FullMethodName       = "/system.system_rpc/HandleApply"
	SystemRpc_ListApply_FullMethodName         = "/system.system_rpc/ListApply"
	SystemRpc_RetrieveUserRole_FullMethodName  = "/system.system_rpc/RetrieveUserRole"
	SystemRpc_UpdateUserRole_FullMethodName    = "/system.system_rpc/UpdateUserRole"
	SystemRpc_ContainsRole_FullMethodName      = "/system.system_rpc/ContainsRole"
	SystemRpc_CreateApply_FullMethodName       = "/system.system_rpc/CreateApply"
	SystemRpc_RetrieveCommunity_FullMethodName = "/system.system_rpc/RetrieveCommunity"
	SystemRpc_ListCommunity_FullMethodName     = "/system.system_rpc/ListCommunity"
	SystemRpc_CreateCommunity_FullMethodName   = "/system.system_rpc/CreateCommunity"
	SystemRpc_UpdateCommunity_FullMethodName   = "/system.system_rpc/UpdateCommunity"
	SystemRpc_DeleteCommunity_FullMethodName   = "/system.system_rpc/DeleteCommunity"
	SystemRpc_ListUseridByRole_FullMethodName  = "/system.system_rpc/ListUseridByRole"
)

Variables

View Source
var File_system_proto protoreflect.FileDescriptor
View Source
var SystemRpc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "system.system_rpc",
	HandlerType: (*SystemRpcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RetrieveNotice",
			Handler:    _SystemRpc_RetrieveNotice_Handler,
		},
		{
			MethodName: "ListNotice",
			Handler:    _SystemRpc_ListNotice_Handler,
		},
		{
			MethodName: "CreateNotice",
			Handler:    _SystemRpc_CreateNotice_Handler,
		},
		{
			MethodName: "UpdateNotice",
			Handler:    _SystemRpc_UpdateNotice_Handler,
		},
		{
			MethodName: "DeleteNotice",
			Handler:    _SystemRpc_DeleteNotice_Handler,
		},
		{
			MethodName: "RetrieveNews",
			Handler:    _SystemRpc_RetrieveNews_Handler,
		},
		{
			MethodName: "ListNews",
			Handler:    _SystemRpc_ListNews_Handler,
		},
		{
			MethodName: "CreateNews",
			Handler:    _SystemRpc_CreateNews_Handler,
		},
		{
			MethodName: "UpdateNews",
			Handler:    _SystemRpc_UpdateNews_Handler,
		},
		{
			MethodName: "DeleteNews",
			Handler:    _SystemRpc_DeleteNews_Handler,
		},
		{
			MethodName: "RetrieveAdmin",
			Handler:    _SystemRpc_RetrieveAdmin_Handler,
		},
		{
			MethodName: "ListAdmin",
			Handler:    _SystemRpc_ListAdmin_Handler,
		},
		{
			MethodName: "CreateAdmin",
			Handler:    _SystemRpc_CreateAdmin_Handler,
		},
		{
			MethodName: "UpdateAdmin",
			Handler:    _SystemRpc_UpdateAdmin_Handler,
		},
		{
			MethodName: "DeleteAdmin",
			Handler:    _SystemRpc_DeleteAdmin_Handler,
		},
		{
			MethodName: "HandleApply",
			Handler:    _SystemRpc_HandleApply_Handler,
		},
		{
			MethodName: "ListApply",
			Handler:    _SystemRpc_ListApply_Handler,
		},
		{
			MethodName: "RetrieveUserRole",
			Handler:    _SystemRpc_RetrieveUserRole_Handler,
		},
		{
			MethodName: "UpdateUserRole",
			Handler:    _SystemRpc_UpdateUserRole_Handler,
		},
		{
			MethodName: "ContainsRole",
			Handler:    _SystemRpc_ContainsRole_Handler,
		},
		{
			MethodName: "CreateApply",
			Handler:    _SystemRpc_CreateApply_Handler,
		},
		{
			MethodName: "RetrieveCommunity",
			Handler:    _SystemRpc_RetrieveCommunity_Handler,
		},
		{
			MethodName: "ListCommunity",
			Handler:    _SystemRpc_ListCommunity_Handler,
		},
		{
			MethodName: "CreateCommunity",
			Handler:    _SystemRpc_CreateCommunity_Handler,
		},
		{
			MethodName: "UpdateCommunity",
			Handler:    _SystemRpc_UpdateCommunity_Handler,
		},
		{
			MethodName: "DeleteCommunity",
			Handler:    _SystemRpc_DeleteCommunity_Handler,
		},
		{
			MethodName: "ListUseridByRole",
			Handler:    _SystemRpc_ListUseridByRole_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "system.proto",
}

SystemRpc_ServiceDesc is the grpc.ServiceDesc for SystemRpc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSystemRpcServer

func RegisterSystemRpcServer(s grpc.ServiceRegistrar, srv SystemRpcServer)

Types

type Admin

type Admin struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Title       string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	Phone       string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"`
	Wechat      string `protobuf:"bytes,6,opt,name=wechat,proto3" json:"wechat,omitempty"`
	AvatarUrl   string `protobuf:"bytes,7,opt,name=avatarUrl,proto3" json:"avatarUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*Admin) Descriptor deprecated

func (*Admin) Descriptor() ([]byte, []int)

Deprecated: Use Admin.ProtoReflect.Descriptor instead.

func (*Admin) GetAvatarUrl

func (x *Admin) GetAvatarUrl() string

func (*Admin) GetCommunityId

func (x *Admin) GetCommunityId() string

func (*Admin) GetId

func (x *Admin) GetId() string

func (*Admin) GetName

func (x *Admin) GetName() string

func (*Admin) GetPhone

func (x *Admin) GetPhone() string

func (*Admin) GetTitle

func (x *Admin) GetTitle() string

func (*Admin) GetWechat

func (x *Admin) GetWechat() string

func (*Admin) ProtoMessage

func (*Admin) ProtoMessage()

func (*Admin) ProtoReflect

func (x *Admin) ProtoReflect() protoreflect.Message

func (*Admin) Reset

func (x *Admin) Reset()

func (*Admin) String

func (x *Admin) String() string

type Apply added in v1.2.2

type Apply struct {
	ApplyId     string `protobuf:"bytes,1,opt,name=applyId,proto3" json:"applyId,omitempty"`
	ApplicantId string `protobuf:"bytes,2,opt,name=applicantId,proto3" json:"applicantId,omitempty"`
	CommunityId string `protobuf:"bytes,4,opt,name=communityId,proto3" json:"communityId,omitempty"`
	// contains filtered or unexported fields
}

func (*Apply) Descriptor deprecated added in v1.2.2

func (*Apply) Descriptor() ([]byte, []int)

Deprecated: Use Apply.ProtoReflect.Descriptor instead.

func (*Apply) GetApplicantId added in v1.2.2

func (x *Apply) GetApplicantId() string

func (*Apply) GetApplyId added in v1.2.2

func (x *Apply) GetApplyId() string

func (*Apply) GetCommunityId added in v1.2.2

func (x *Apply) GetCommunityId() string

func (*Apply) ProtoMessage added in v1.2.2

func (*Apply) ProtoMessage()

func (*Apply) ProtoReflect added in v1.2.2

func (x *Apply) ProtoReflect() protoreflect.Message

func (*Apply) Reset added in v1.2.2

func (x *Apply) Reset()

func (*Apply) String added in v1.2.2

func (x *Apply) String() string

type Community

type Community struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ParentId string `protobuf:"bytes,3,opt,name=parentId,proto3" json:"parentId,omitempty"`
	// contains filtered or unexported fields
}

func (*Community) Descriptor deprecated

func (*Community) Descriptor() ([]byte, []int)

Deprecated: Use Community.ProtoReflect.Descriptor instead.

func (*Community) GetId

func (x *Community) GetId() string

func (*Community) GetName

func (x *Community) GetName() string

func (*Community) GetParentId

func (x *Community) GetParentId() string

func (*Community) ProtoMessage

func (*Community) ProtoMessage()

func (*Community) ProtoReflect

func (x *Community) ProtoReflect() protoreflect.Message

func (*Community) Reset

func (x *Community) Reset()

func (*Community) String

func (x *Community) String() string

type ContainsRoleReq

type ContainsRoleReq struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	Role   *Role  `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// 是否允许超级管理员,如果为true并且用户为超级管理员则不校验role
	AllowSuperAdmin bool `protobuf:"varint,3,opt,name=allowSuperAdmin,proto3" json:"allowSuperAdmin,omitempty"`
	// contains filtered or unexported fields
}

如果role只传入type,只会校验用户是否包含该角色, 如果传入communityId并且type是communityAdmin,会同时校验communityId

func (*ContainsRoleReq) Descriptor deprecated

func (*ContainsRoleReq) Descriptor() ([]byte, []int)

Deprecated: Use ContainsRoleReq.ProtoReflect.Descriptor instead.

func (*ContainsRoleReq) GetAllowSuperAdmin

func (x *ContainsRoleReq) GetAllowSuperAdmin() bool

func (*ContainsRoleReq) GetRole

func (x *ContainsRoleReq) GetRole() *Role

func (*ContainsRoleReq) GetUserId

func (x *ContainsRoleReq) GetUserId() string

func (*ContainsRoleReq) ProtoMessage

func (*ContainsRoleReq) ProtoMessage()

func (*ContainsRoleReq) ProtoReflect

func (x *ContainsRoleReq) ProtoReflect() protoreflect.Message

func (*ContainsRoleReq) Reset

func (x *ContainsRoleReq) Reset()

func (*ContainsRoleReq) String

func (x *ContainsRoleReq) String() string

type ContainsRoleResp

type ContainsRoleResp struct {
	Contains bool `protobuf:"varint,1,opt,name=contains,proto3" json:"contains,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainsRoleResp) Descriptor deprecated

func (*ContainsRoleResp) Descriptor() ([]byte, []int)

Deprecated: Use ContainsRoleResp.ProtoReflect.Descriptor instead.

func (*ContainsRoleResp) GetContains

func (x *ContainsRoleResp) GetContains() bool

func (*ContainsRoleResp) ProtoMessage

func (*ContainsRoleResp) ProtoMessage()

func (*ContainsRoleResp) ProtoReflect

func (x *ContainsRoleResp) ProtoReflect() protoreflect.Message

func (*ContainsRoleResp) Reset

func (x *ContainsRoleResp) Reset()

func (*ContainsRoleResp) String

func (x *ContainsRoleResp) String() string

type CreateAdminReq

type CreateAdminReq struct {
	CommunityId string `protobuf:"bytes,1,opt,name=communityId,proto3" json:"communityId,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Title       string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Phone       string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	Wechat      string `protobuf:"bytes,5,opt,name=wechat,proto3" json:"wechat,omitempty"`
	AvatarUrl   string `protobuf:"bytes,6,opt,name=avatarUrl,proto3" json:"avatarUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAdminReq) Descriptor deprecated

func (*CreateAdminReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateAdminReq.ProtoReflect.Descriptor instead.

func (*CreateAdminReq) GetAvatarUrl

func (x *CreateAdminReq) GetAvatarUrl() string

func (*CreateAdminReq) GetCommunityId

func (x *CreateAdminReq) GetCommunityId() string

func (*CreateAdminReq) GetName

func (x *CreateAdminReq) GetName() string

func (*CreateAdminReq) GetPhone

func (x *CreateAdminReq) GetPhone() string

func (*CreateAdminReq) GetTitle

func (x *CreateAdminReq) GetTitle() string

func (*CreateAdminReq) GetWechat

func (x *CreateAdminReq) GetWechat() string

func (*CreateAdminReq) ProtoMessage

func (*CreateAdminReq) ProtoMessage()

func (*CreateAdminReq) ProtoReflect

func (x *CreateAdminReq) ProtoReflect() protoreflect.Message

func (*CreateAdminReq) Reset

func (x *CreateAdminReq) Reset()

func (*CreateAdminReq) String

func (x *CreateAdminReq) String() string

type CreateAdminResp

type CreateAdminResp struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAdminResp) Descriptor deprecated

func (*CreateAdminResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateAdminResp.ProtoReflect.Descriptor instead.

func (*CreateAdminResp) GetId

func (x *CreateAdminResp) GetId() string

func (*CreateAdminResp) ProtoMessage

func (*CreateAdminResp) ProtoMessage()

func (*CreateAdminResp) ProtoReflect

func (x *CreateAdminResp) ProtoReflect() protoreflect.Message

func (*CreateAdminResp) Reset

func (x *CreateAdminResp) Reset()

func (*CreateAdminResp) String

func (x *CreateAdminResp) String() string

type CreateApplyReq added in v1.2.2

type CreateApplyReq struct {
	ApplicantId string `protobuf:"bytes,1,opt,name=applicantId,proto3" json:"applicantId,omitempty"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateApplyReq) Descriptor deprecated added in v1.2.2

func (*CreateApplyReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateApplyReq.ProtoReflect.Descriptor instead.

func (*CreateApplyReq) GetApplicantId added in v1.2.2

func (x *CreateApplyReq) GetApplicantId() string

func (*CreateApplyReq) GetCommunityId added in v1.2.2

func (x *CreateApplyReq) GetCommunityId() string

func (*CreateApplyReq) ProtoMessage added in v1.2.2

func (*CreateApplyReq) ProtoMessage()

func (*CreateApplyReq) ProtoReflect added in v1.2.2

func (x *CreateApplyReq) ProtoReflect() protoreflect.Message

func (*CreateApplyReq) Reset added in v1.2.2

func (x *CreateApplyReq) Reset()

func (*CreateApplyReq) String added in v1.2.2

func (x *CreateApplyReq) String() string

type CreateApplyResp added in v1.2.2

type CreateApplyResp struct {
	// contains filtered or unexported fields
}

func (*CreateApplyResp) Descriptor deprecated added in v1.2.2

func (*CreateApplyResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateApplyResp.ProtoReflect.Descriptor instead.

func (*CreateApplyResp) ProtoMessage added in v1.2.2

func (*CreateApplyResp) ProtoMessage()

func (*CreateApplyResp) ProtoReflect added in v1.2.2

func (x *CreateApplyResp) ProtoReflect() protoreflect.Message

func (*CreateApplyResp) Reset added in v1.2.2

func (x *CreateApplyResp) Reset()

func (*CreateApplyResp) String added in v1.2.2

func (x *CreateApplyResp) String() string

type CreateCommunityReq

type CreateCommunityReq struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ParentId string `protobuf:"bytes,2,opt,name=parentId,proto3" json:"parentId,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCommunityReq) Descriptor deprecated

func (*CreateCommunityReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateCommunityReq.ProtoReflect.Descriptor instead.

func (*CreateCommunityReq) GetName

func (x *CreateCommunityReq) GetName() string

func (*CreateCommunityReq) GetParentId

func (x *CreateCommunityReq) GetParentId() string

func (*CreateCommunityReq) ProtoMessage

func (*CreateCommunityReq) ProtoMessage()

func (*CreateCommunityReq) ProtoReflect

func (x *CreateCommunityReq) ProtoReflect() protoreflect.Message

func (*CreateCommunityReq) Reset

func (x *CreateCommunityReq) Reset()

func (*CreateCommunityReq) String

func (x *CreateCommunityReq) String() string

type CreateCommunityResp

type CreateCommunityResp struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCommunityResp) Descriptor deprecated

func (*CreateCommunityResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateCommunityResp.ProtoReflect.Descriptor instead.

func (*CreateCommunityResp) GetId

func (x *CreateCommunityResp) GetId() string

func (*CreateCommunityResp) ProtoMessage

func (*CreateCommunityResp) ProtoMessage()

func (*CreateCommunityResp) ProtoReflect

func (x *CreateCommunityResp) ProtoReflect() protoreflect.Message

func (*CreateCommunityResp) Reset

func (x *CreateCommunityResp) Reset()

func (*CreateCommunityResp) String

func (x *CreateCommunityResp) String() string

type CreateNewsReq

type CreateNewsReq struct {
	CommunityId string `protobuf:"bytes,1,opt,name=communityId,proto3" json:"communityId,omitempty"`
	ImageUrl    string `protobuf:"bytes,2,opt,name=imageUrl,proto3" json:"imageUrl,omitempty"`
	LinkUrl     string `protobuf:"bytes,3,opt,name=linkUrl,proto3" json:"linkUrl,omitempty"`
	Type        string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	IsPublic    int64  `protobuf:"varint,5,opt,name=isPublic,proto3" json:"isPublic,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNewsReq) Descriptor deprecated

func (*CreateNewsReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateNewsReq.ProtoReflect.Descriptor instead.

func (*CreateNewsReq) GetCommunityId

func (x *CreateNewsReq) GetCommunityId() string

func (*CreateNewsReq) GetImageUrl

func (x *CreateNewsReq) GetImageUrl() string

func (*CreateNewsReq) GetIsPublic added in v1.2.3

func (x *CreateNewsReq) GetIsPublic() int64

func (*CreateNewsReq) GetLinkUrl

func (x *CreateNewsReq) GetLinkUrl() string

func (*CreateNewsReq) GetType

func (x *CreateNewsReq) GetType() string

func (*CreateNewsReq) ProtoMessage

func (*CreateNewsReq) ProtoMessage()

func (*CreateNewsReq) ProtoReflect

func (x *CreateNewsReq) ProtoReflect() protoreflect.Message

func (*CreateNewsReq) Reset

func (x *CreateNewsReq) Reset()

func (*CreateNewsReq) String

func (x *CreateNewsReq) String() string

type CreateNewsResp

type CreateNewsResp struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNewsResp) Descriptor deprecated

func (*CreateNewsResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateNewsResp.ProtoReflect.Descriptor instead.

func (*CreateNewsResp) GetId

func (x *CreateNewsResp) GetId() string

func (*CreateNewsResp) ProtoMessage

func (*CreateNewsResp) ProtoMessage()

func (*CreateNewsResp) ProtoReflect

func (x *CreateNewsResp) ProtoReflect() protoreflect.Message

func (*CreateNewsResp) Reset

func (x *CreateNewsResp) Reset()

func (*CreateNewsResp) String

func (x *CreateNewsResp) String() string

type CreateNoticeReq

type CreateNoticeReq struct {
	CommunityId string `protobuf:"bytes,1,opt,name=communityId,proto3" json:"communityId,omitempty"`
	Text        string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNoticeReq) Descriptor deprecated

func (*CreateNoticeReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateNoticeReq.ProtoReflect.Descriptor instead.

func (*CreateNoticeReq) GetCommunityId

func (x *CreateNoticeReq) GetCommunityId() string

func (*CreateNoticeReq) GetText

func (x *CreateNoticeReq) GetText() string

func (*CreateNoticeReq) ProtoMessage

func (*CreateNoticeReq) ProtoMessage()

func (*CreateNoticeReq) ProtoReflect

func (x *CreateNoticeReq) ProtoReflect() protoreflect.Message

func (*CreateNoticeReq) Reset

func (x *CreateNoticeReq) Reset()

func (*CreateNoticeReq) String

func (x *CreateNoticeReq) String() string

type CreateNoticeResp

type CreateNoticeResp struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNoticeResp) Descriptor deprecated

func (*CreateNoticeResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateNoticeResp.ProtoReflect.Descriptor instead.

func (*CreateNoticeResp) GetId

func (x *CreateNoticeResp) GetId() string

func (*CreateNoticeResp) ProtoMessage

func (*CreateNoticeResp) ProtoMessage()

func (*CreateNoticeResp) ProtoReflect

func (x *CreateNoticeResp) ProtoReflect() protoreflect.Message

func (*CreateNoticeResp) Reset

func (x *CreateNoticeResp) Reset()

func (*CreateNoticeResp) String

func (x *CreateNoticeResp) String() string

type DeleteAdminReq

type DeleteAdminReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAdminReq) Descriptor deprecated

func (*DeleteAdminReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAdminReq.ProtoReflect.Descriptor instead.

func (*DeleteAdminReq) GetId

func (x *DeleteAdminReq) GetId() string

func (*DeleteAdminReq) ProtoMessage

func (*DeleteAdminReq) ProtoMessage()

func (*DeleteAdminReq) ProtoReflect

func (x *DeleteAdminReq) ProtoReflect() protoreflect.Message

func (*DeleteAdminReq) Reset

func (x *DeleteAdminReq) Reset()

func (*DeleteAdminReq) String

func (x *DeleteAdminReq) String() string

type DeleteAdminResp

type DeleteAdminResp struct {
	// contains filtered or unexported fields
}

func (*DeleteAdminResp) Descriptor deprecated

func (*DeleteAdminResp) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAdminResp.ProtoReflect.Descriptor instead.

func (*DeleteAdminResp) ProtoMessage

func (*DeleteAdminResp) ProtoMessage()

func (*DeleteAdminResp) ProtoReflect

func (x *DeleteAdminResp) ProtoReflect() protoreflect.Message

func (*DeleteAdminResp) Reset

func (x *DeleteAdminResp) Reset()

func (*DeleteAdminResp) String

func (x *DeleteAdminResp) String() string

type DeleteCommunityReq

type DeleteCommunityReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCommunityReq) Descriptor deprecated

func (*DeleteCommunityReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCommunityReq.ProtoReflect.Descriptor instead.

func (*DeleteCommunityReq) GetId

func (x *DeleteCommunityReq) GetId() string

func (*DeleteCommunityReq) ProtoMessage

func (*DeleteCommunityReq) ProtoMessage()

func (*DeleteCommunityReq) ProtoReflect

func (x *DeleteCommunityReq) ProtoReflect() protoreflect.Message

func (*DeleteCommunityReq) Reset

func (x *DeleteCommunityReq) Reset()

func (*DeleteCommunityReq) String

func (x *DeleteCommunityReq) String() string

type DeleteCommunityResp

type DeleteCommunityResp struct {
	// contains filtered or unexported fields
}

func (*DeleteCommunityResp) Descriptor deprecated

func (*DeleteCommunityResp) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCommunityResp.ProtoReflect.Descriptor instead.

func (*DeleteCommunityResp) ProtoMessage

func (*DeleteCommunityResp) ProtoMessage()

func (*DeleteCommunityResp) ProtoReflect

func (x *DeleteCommunityResp) ProtoReflect() protoreflect.Message

func (*DeleteCommunityResp) Reset

func (x *DeleteCommunityResp) Reset()

func (*DeleteCommunityResp) String

func (x *DeleteCommunityResp) String() string

type DeleteNewsReq

type DeleteNewsReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNewsReq) Descriptor deprecated

func (*DeleteNewsReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNewsReq.ProtoReflect.Descriptor instead.

func (*DeleteNewsReq) GetId

func (x *DeleteNewsReq) GetId() string

func (*DeleteNewsReq) ProtoMessage

func (*DeleteNewsReq) ProtoMessage()

func (*DeleteNewsReq) ProtoReflect

func (x *DeleteNewsReq) ProtoReflect() protoreflect.Message

func (*DeleteNewsReq) Reset

func (x *DeleteNewsReq) Reset()

func (*DeleteNewsReq) String

func (x *DeleteNewsReq) String() string

type DeleteNewsResp

type DeleteNewsResp struct {
	// contains filtered or unexported fields
}

func (*DeleteNewsResp) Descriptor deprecated

func (*DeleteNewsResp) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNewsResp.ProtoReflect.Descriptor instead.

func (*DeleteNewsResp) ProtoMessage

func (*DeleteNewsResp) ProtoMessage()

func (*DeleteNewsResp) ProtoReflect

func (x *DeleteNewsResp) ProtoReflect() protoreflect.Message

func (*DeleteNewsResp) Reset

func (x *DeleteNewsResp) Reset()

func (*DeleteNewsResp) String

func (x *DeleteNewsResp) String() string

type DeleteNoticeReq

type DeleteNoticeReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNoticeReq) Descriptor deprecated

func (*DeleteNoticeReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNoticeReq.ProtoReflect.Descriptor instead.

func (*DeleteNoticeReq) GetId

func (x *DeleteNoticeReq) GetId() string

func (*DeleteNoticeReq) ProtoMessage

func (*DeleteNoticeReq) ProtoMessage()

func (*DeleteNoticeReq) ProtoReflect

func (x *DeleteNoticeReq) ProtoReflect() protoreflect.Message

func (*DeleteNoticeReq) Reset

func (x *DeleteNoticeReq) Reset()

func (*DeleteNoticeReq) String

func (x *DeleteNoticeReq) String() string

type DeleteNoticeResp

type DeleteNoticeResp struct {
	// contains filtered or unexported fields
}

func (*DeleteNoticeResp) Descriptor deprecated

func (*DeleteNoticeResp) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNoticeResp.ProtoReflect.Descriptor instead.

func (*DeleteNoticeResp) ProtoMessage

func (*DeleteNoticeResp) ProtoMessage()

func (*DeleteNoticeResp) ProtoReflect

func (x *DeleteNoticeResp) ProtoReflect() protoreflect.Message

func (*DeleteNoticeResp) Reset

func (x *DeleteNoticeResp) Reset()

func (*DeleteNoticeResp) String

func (x *DeleteNoticeResp) String() string

type HandleApplyReq added in v1.2.2

type HandleApplyReq struct {
	ApplyId    string `protobuf:"bytes,1,opt,name=applyId,proto3" json:"applyId,omitempty"`
	IsRejected bool   `protobuf:"varint,3,opt,name=isRejected,proto3" json:"isRejected,omitempty"`
	// contains filtered or unexported fields
}

func (*HandleApplyReq) Descriptor deprecated added in v1.2.2

func (*HandleApplyReq) Descriptor() ([]byte, []int)

Deprecated: Use HandleApplyReq.ProtoReflect.Descriptor instead.

func (*HandleApplyReq) GetApplyId added in v1.2.2

func (x *HandleApplyReq) GetApplyId() string

func (*HandleApplyReq) GetIsRejected added in v1.2.2

func (x *HandleApplyReq) GetIsRejected() bool

func (*HandleApplyReq) ProtoMessage added in v1.2.2

func (*HandleApplyReq) ProtoMessage()

func (*HandleApplyReq) ProtoReflect added in v1.2.2

func (x *HandleApplyReq) ProtoReflect() protoreflect.Message

func (*HandleApplyReq) Reset added in v1.2.2

func (x *HandleApplyReq) Reset()

func (*HandleApplyReq) String added in v1.2.2

func (x *HandleApplyReq) String() string

type HandleApplyResp added in v1.2.2

type HandleApplyResp struct {
	// contains filtered or unexported fields
}

func (*HandleApplyResp) Descriptor deprecated added in v1.2.2

func (*HandleApplyResp) Descriptor() ([]byte, []int)

Deprecated: Use HandleApplyResp.ProtoReflect.Descriptor instead.

func (*HandleApplyResp) ProtoMessage added in v1.2.2

func (*HandleApplyResp) ProtoMessage()

func (*HandleApplyResp) ProtoReflect added in v1.2.2

func (x *HandleApplyResp) ProtoReflect() protoreflect.Message

func (*HandleApplyResp) Reset added in v1.2.2

func (x *HandleApplyResp) Reset()

func (*HandleApplyResp) String added in v1.2.2

func (x *HandleApplyResp) String() string

type ListAdminReq

type ListAdminReq struct {
	CommunityId string           `protobuf:"bytes,1,opt,name=communityId,proto3" json:"communityId,omitempty"`
	Page        int64            `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // 分页的当前页,从1开始
	Size        int64            `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // 分页的每页大小,小于1时不分页
	Sort        map[string]int32 ``                                                               // 排序的字段,key为字段名,value为1为升序,-1为降序
	/* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListAdminReq) Descriptor deprecated

func (*ListAdminReq) Descriptor() ([]byte, []int)

Deprecated: Use ListAdminReq.ProtoReflect.Descriptor instead.

func (*ListAdminReq) GetCommunityId

func (x *ListAdminReq) GetCommunityId() string

func (*ListAdminReq) GetPage

func (x *ListAdminReq) GetPage() int64

func (*ListAdminReq) GetSize

func (x *ListAdminReq) GetSize() int64

func (*ListAdminReq) GetSort

func (x *ListAdminReq) GetSort() map[string]int32

func (*ListAdminReq) ProtoMessage

func (*ListAdminReq) ProtoMessage()

func (*ListAdminReq) ProtoReflect

func (x *ListAdminReq) ProtoReflect() protoreflect.Message

func (*ListAdminReq) Reset

func (x *ListAdminReq) Reset()

func (*ListAdminReq) String

func (x *ListAdminReq) String() string

type ListAdminResp

type ListAdminResp struct {
	Admins []*Admin `protobuf:"bytes,1,rep,name=admins,proto3" json:"admins,omitempty"`
	Count  int64    `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAdminResp) Descriptor deprecated

func (*ListAdminResp) Descriptor() ([]byte, []int)

Deprecated: Use ListAdminResp.ProtoReflect.Descriptor instead.

func (*ListAdminResp) GetAdmins

func (x *ListAdminResp) GetAdmins() []*Admin

func (*ListAdminResp) GetCount

func (x *ListAdminResp) GetCount() int64

func (*ListAdminResp) ProtoMessage

func (*ListAdminResp) ProtoMessage()

func (*ListAdminResp) ProtoReflect

func (x *ListAdminResp) ProtoReflect() protoreflect.Message

func (*ListAdminResp) Reset

func (x *ListAdminResp) Reset()

func (*ListAdminResp) String

func (x *ListAdminResp) String() string

type ListApplyReq added in v1.2.2

type ListApplyReq struct {
	CommunityId string `protobuf:"bytes,1,opt,name=communityId,proto3" json:"communityId,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApplyReq) Descriptor deprecated added in v1.2.2

func (*ListApplyReq) Descriptor() ([]byte, []int)

Deprecated: Use ListApplyReq.ProtoReflect.Descriptor instead.

func (*ListApplyReq) GetCommunityId added in v1.2.2

func (x *ListApplyReq) GetCommunityId() string

func (*ListApplyReq) ProtoMessage added in v1.2.2

func (*ListApplyReq) ProtoMessage()

func (*ListApplyReq) ProtoReflect added in v1.2.2

func (x *ListApplyReq) ProtoReflect() protoreflect.Message

func (*ListApplyReq) Reset added in v1.2.2

func (x *ListApplyReq) Reset()

func (*ListApplyReq) String added in v1.2.2

func (x *ListApplyReq) String() string

type ListApplyResp added in v1.2.2

type ListApplyResp struct {
	Apply []*Apply `protobuf:"bytes,1,rep,name=apply,proto3" json:"apply,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApplyResp) Descriptor deprecated added in v1.2.2

func (*ListApplyResp) Descriptor() ([]byte, []int)

Deprecated: Use ListApplyResp.ProtoReflect.Descriptor instead.

func (*ListApplyResp) GetApply added in v1.2.2

func (x *ListApplyResp) GetApply() []*Apply

func (*ListApplyResp) ProtoMessage added in v1.2.2

func (*ListApplyResp) ProtoMessage()

func (*ListApplyResp) ProtoReflect added in v1.2.2

func (x *ListApplyResp) ProtoReflect() protoreflect.Message

func (*ListApplyResp) Reset added in v1.2.2

func (x *ListApplyResp) Reset()

func (*ListApplyResp) String added in v1.2.2

func (x *ListApplyResp) String() string

type ListCommunityReq

type ListCommunityReq struct {
	ParentId string           `protobuf:"bytes,1,opt,name=parentId,proto3" json:"parentId,omitempty"`
	Page     int64            `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // 分页的当前页,从1开始
	Size     int64            `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // 分页的每页大小,小于1时不分页
	Sort     map[string]int32 ``                                                               // 排序的字段,key为字段名,value为1为升序,-1为降序
	/* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListCommunityReq) Descriptor deprecated

func (*ListCommunityReq) Descriptor() ([]byte, []int)

Deprecated: Use ListCommunityReq.ProtoReflect.Descriptor instead.

func (*ListCommunityReq) GetPage

func (x *ListCommunityReq) GetPage() int64

func (*ListCommunityReq) GetParentId

func (x *ListCommunityReq) GetParentId() string

func (*ListCommunityReq) GetSize

func (x *ListCommunityReq) GetSize() int64

func (*ListCommunityReq) GetSort

func (x *ListCommunityReq) GetSort() map[string]int32

func (*ListCommunityReq) ProtoMessage

func (*ListCommunityReq) ProtoMessage()

func (*ListCommunityReq) ProtoReflect

func (x *ListCommunityReq) ProtoReflect() protoreflect.Message

func (*ListCommunityReq) Reset

func (x *ListCommunityReq) Reset()

func (*ListCommunityReq) String

func (x *ListCommunityReq) String() string

type ListCommunityResp

type ListCommunityResp struct {
	Communities []*Community `protobuf:"bytes,1,rep,name=communities,proto3" json:"communities,omitempty"`
	Count       int64        `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCommunityResp) Descriptor deprecated

func (*ListCommunityResp) Descriptor() ([]byte, []int)

Deprecated: Use ListCommunityResp.ProtoReflect.Descriptor instead.

func (*ListCommunityResp) GetCommunities

func (x *ListCommunityResp) GetCommunities() []*Community

func (*ListCommunityResp) GetCount

func (x *ListCommunityResp) GetCount() int64

func (*ListCommunityResp) ProtoMessage

func (*ListCommunityResp) ProtoMessage()

func (*ListCommunityResp) ProtoReflect

func (x *ListCommunityResp) ProtoReflect() protoreflect.Message

func (*ListCommunityResp) Reset

func (x *ListCommunityResp) Reset()

func (*ListCommunityResp) String

func (x *ListCommunityResp) String() string

type ListNewsReq

type ListNewsReq struct {
	CommunityId string           `protobuf:"bytes,1,opt,name=communityId,proto3" json:"communityId,omitempty"`
	Page        int64            `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // 分页的当前页,从1开始
	Size        int64            `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // 分页的每页大小,小于1时不分页
	Sort        map[string]int32 ``                                                               // 排序的字段,key为字段名,value为1为升序,-1为降序
	/* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListNewsReq) Descriptor deprecated

func (*ListNewsReq) Descriptor() ([]byte, []int)

Deprecated: Use ListNewsReq.ProtoReflect.Descriptor instead.

func (*ListNewsReq) GetCommunityId

func (x *ListNewsReq) GetCommunityId() string

func (*ListNewsReq) GetPage

func (x *ListNewsReq) GetPage() int64

func (*ListNewsReq) GetSize

func (x *ListNewsReq) GetSize() int64

func (*ListNewsReq) GetSort

func (x *ListNewsReq) GetSort() map[string]int32

func (*ListNewsReq) ProtoMessage

func (*ListNewsReq) ProtoMessage()

func (*ListNewsReq) ProtoReflect

func (x *ListNewsReq) ProtoReflect() protoreflect.Message

func (*ListNewsReq) Reset

func (x *ListNewsReq) Reset()

func (*ListNewsReq) String

func (x *ListNewsReq) String() string

type ListNewsResp

type ListNewsResp struct {
	News  []*News `protobuf:"bytes,1,rep,name=news,proto3" json:"news,omitempty"`
	Count int64   `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNewsResp) Descriptor deprecated

func (*ListNewsResp) Descriptor() ([]byte, []int)

Deprecated: Use ListNewsResp.ProtoReflect.Descriptor instead.

func (*ListNewsResp) GetCount

func (x *ListNewsResp) GetCount() int64

func (*ListNewsResp) GetNews

func (x *ListNewsResp) GetNews() []*News

func (*ListNewsResp) ProtoMessage

func (*ListNewsResp) ProtoMessage()

func (*ListNewsResp) ProtoReflect

func (x *ListNewsResp) ProtoReflect() protoreflect.Message

func (*ListNewsResp) Reset

func (x *ListNewsResp) Reset()

func (*ListNewsResp) String

func (x *ListNewsResp) String() string

type ListNoticeReq

type ListNoticeReq struct {
	CommunityId string           `protobuf:"bytes,1,opt,name=communityId,proto3" json:"communityId,omitempty"`
	Page        int64            `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // 分页的当前页,从1开始
	Size        int64            `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // 分页的每页大小,小于1时不分页
	Sort        map[string]int32 ``                                                               // 排序的字段,key为字段名,value为1为升序,-1为降序
	/* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListNoticeReq) Descriptor deprecated

func (*ListNoticeReq) Descriptor() ([]byte, []int)

Deprecated: Use ListNoticeReq.ProtoReflect.Descriptor instead.

func (*ListNoticeReq) GetCommunityId

func (x *ListNoticeReq) GetCommunityId() string

func (*ListNoticeReq) GetPage

func (x *ListNoticeReq) GetPage() int64

func (*ListNoticeReq) GetSize

func (x *ListNoticeReq) GetSize() int64

func (*ListNoticeReq) GetSort

func (x *ListNoticeReq) GetSort() map[string]int32

func (*ListNoticeReq) ProtoMessage

func (*ListNoticeReq) ProtoMessage()

func (*ListNoticeReq) ProtoReflect

func (x *ListNoticeReq) ProtoReflect() protoreflect.Message

func (*ListNoticeReq) Reset

func (x *ListNoticeReq) Reset()

func (*ListNoticeReq) String

func (x *ListNoticeReq) String() string

type ListNoticeResp

type ListNoticeResp struct {
	Notices []*Notice `protobuf:"bytes,1,rep,name=notices,proto3" json:"notices,omitempty"`
	Count   int64     `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNoticeResp) Descriptor deprecated

func (*ListNoticeResp) Descriptor() ([]byte, []int)

Deprecated: Use ListNoticeResp.ProtoReflect.Descriptor instead.

func (*ListNoticeResp) GetCount

func (x *ListNoticeResp) GetCount() int64

func (*ListNoticeResp) GetNotices

func (x *ListNoticeResp) GetNotices() []*Notice

func (*ListNoticeResp) ProtoMessage

func (*ListNoticeResp) ProtoMessage()

func (*ListNoticeResp) ProtoReflect

func (x *ListNoticeResp) ProtoReflect() protoreflect.Message

func (*ListNoticeResp) Reset

func (x *ListNoticeResp) Reset()

func (*ListNoticeResp) String

func (x *ListNoticeResp) String() string

type ListUseridReq added in v1.2.2

type ListUseridReq struct {
	RoleType    string `protobuf:"bytes,1,opt,name=roleType,proto3" json:"roleType,omitempty"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty"` //如果为roleType为superAdmin则为空值
	// contains filtered or unexported fields
}

func (*ListUseridReq) Descriptor deprecated added in v1.2.2

func (*ListUseridReq) Descriptor() ([]byte, []int)

Deprecated: Use ListUseridReq.ProtoReflect.Descriptor instead.

func (*ListUseridReq) GetCommunityId added in v1.2.2

func (x *ListUseridReq) GetCommunityId() string

func (*ListUseridReq) GetRoleType added in v1.2.2

func (x *ListUseridReq) GetRoleType() string

func (*ListUseridReq) ProtoMessage added in v1.2.2

func (*ListUseridReq) ProtoMessage()

func (*ListUseridReq) ProtoReflect added in v1.2.2

func (x *ListUseridReq) ProtoReflect() protoreflect.Message

func (*ListUseridReq) Reset added in v1.2.2

func (x *ListUseridReq) Reset()

func (*ListUseridReq) String added in v1.2.2

func (x *ListUseridReq) String() string

type ListUseridResp added in v1.2.2

type ListUseridResp struct {
	UserId []string `protobuf:"bytes,1,rep,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUseridResp) Descriptor deprecated added in v1.2.2

func (*ListUseridResp) Descriptor() ([]byte, []int)

Deprecated: Use ListUseridResp.ProtoReflect.Descriptor instead.

func (*ListUseridResp) GetUserId added in v1.2.2

func (x *ListUseridResp) GetUserId() []string

func (*ListUseridResp) ProtoMessage added in v1.2.2

func (*ListUseridResp) ProtoMessage()

func (*ListUseridResp) ProtoReflect added in v1.2.2

func (x *ListUseridResp) ProtoReflect() protoreflect.Message

func (*ListUseridResp) Reset added in v1.2.2

func (x *ListUseridResp) Reset()

func (*ListUseridResp) String added in v1.2.2

func (x *ListUseridResp) String() string

type News

type News struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty"`
	ImageUrl    string `protobuf:"bytes,3,opt,name=imageUrl,proto3" json:"imageUrl,omitempty"`
	LinkUrl     string `protobuf:"bytes,4,opt,name=linkUrl,proto3" json:"linkUrl,omitempty"`
	Type        string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	IsPublic    int64  `protobuf:"varint,6,opt,name=isPublic,proto3" json:"isPublic,omitempty"`
	// contains filtered or unexported fields
}

func (*News) Descriptor deprecated

func (*News) Descriptor() ([]byte, []int)

Deprecated: Use News.ProtoReflect.Descriptor instead.

func (*News) GetCommunityId

func (x *News) GetCommunityId() string

func (*News) GetId

func (x *News) GetId() string

func (*News) GetImageUrl

func (x *News) GetImageUrl() string

func (*News) GetIsPublic added in v1.2.3

func (x *News) GetIsPublic() int64

func (*News) GetLinkUrl

func (x *News) GetLinkUrl() string

func (*News) GetType

func (x *News) GetType() string

func (*News) ProtoMessage

func (*News) ProtoMessage()

func (*News) ProtoReflect

func (x *News) ProtoReflect() protoreflect.Message

func (*News) Reset

func (x *News) Reset()

func (*News) String

func (x *News) String() string

type Notice

type Notice struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty"`
	Text        string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	CreateAt    int64  `protobuf:"varint,4,opt,name=createAt,proto3" json:"createAt,omitempty"`
	UpdateAt    int64  `protobuf:"varint,5,opt,name=updateAt,proto3" json:"updateAt,omitempty"`
	// contains filtered or unexported fields
}

func (*Notice) Descriptor deprecated

func (*Notice) Descriptor() ([]byte, []int)

Deprecated: Use Notice.ProtoReflect.Descriptor instead.

func (*Notice) GetCommunityId

func (x *Notice) GetCommunityId() string

func (*Notice) GetCreateAt

func (x *Notice) GetCreateAt() int64

func (*Notice) GetId

func (x *Notice) GetId() string

func (*Notice) GetText

func (x *Notice) GetText() string

func (*Notice) GetUpdateAt

func (x *Notice) GetUpdateAt() int64

func (*Notice) ProtoMessage

func (*Notice) ProtoMessage()

func (*Notice) ProtoReflect

func (x *Notice) ProtoReflect() protoreflect.Message

func (*Notice) Reset

func (x *Notice) Reset()

func (*Notice) String

func (x *Notice) String() string

type RetrieveAdminReq

type RetrieveAdminReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveAdminReq) Descriptor deprecated

func (*RetrieveAdminReq) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveAdminReq.ProtoReflect.Descriptor instead.

func (*RetrieveAdminReq) GetId

func (x *RetrieveAdminReq) GetId() string

func (*RetrieveAdminReq) ProtoMessage

func (*RetrieveAdminReq) ProtoMessage()

func (*RetrieveAdminReq) ProtoReflect

func (x *RetrieveAdminReq) ProtoReflect() protoreflect.Message

func (*RetrieveAdminReq) Reset

func (x *RetrieveAdminReq) Reset()

func (*RetrieveAdminReq) String

func (x *RetrieveAdminReq) String() string

type RetrieveAdminResp

type RetrieveAdminResp struct {
	Admin *Admin `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveAdminResp) Descriptor deprecated

func (*RetrieveAdminResp) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveAdminResp.ProtoReflect.Descriptor instead.

func (*RetrieveAdminResp) GetAdmin

func (x *RetrieveAdminResp) GetAdmin() *Admin

func (*RetrieveAdminResp) ProtoMessage

func (*RetrieveAdminResp) ProtoMessage()

func (*RetrieveAdminResp) ProtoReflect

func (x *RetrieveAdminResp) ProtoReflect() protoreflect.Message

func (*RetrieveAdminResp) Reset

func (x *RetrieveAdminResp) Reset()

func (*RetrieveAdminResp) String

func (x *RetrieveAdminResp) String() string

type RetrieveCommunityReq

type RetrieveCommunityReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveCommunityReq) Descriptor deprecated

func (*RetrieveCommunityReq) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveCommunityReq.ProtoReflect.Descriptor instead.

func (*RetrieveCommunityReq) GetId

func (x *RetrieveCommunityReq) GetId() string

func (*RetrieveCommunityReq) ProtoMessage

func (*RetrieveCommunityReq) ProtoMessage()

func (*RetrieveCommunityReq) ProtoReflect

func (x *RetrieveCommunityReq) ProtoReflect() protoreflect.Message

func (*RetrieveCommunityReq) Reset

func (x *RetrieveCommunityReq) Reset()

func (*RetrieveCommunityReq) String

func (x *RetrieveCommunityReq) String() string

type RetrieveCommunityResp

type RetrieveCommunityResp struct {
	Community *Community `protobuf:"bytes,1,opt,name=community,proto3" json:"community,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveCommunityResp) Descriptor deprecated

func (*RetrieveCommunityResp) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveCommunityResp.ProtoReflect.Descriptor instead.

func (*RetrieveCommunityResp) GetCommunity

func (x *RetrieveCommunityResp) GetCommunity() *Community

func (*RetrieveCommunityResp) ProtoMessage

func (*RetrieveCommunityResp) ProtoMessage()

func (*RetrieveCommunityResp) ProtoReflect

func (x *RetrieveCommunityResp) ProtoReflect() protoreflect.Message

func (*RetrieveCommunityResp) Reset

func (x *RetrieveCommunityResp) Reset()

func (*RetrieveCommunityResp) String

func (x *RetrieveCommunityResp) String() string

type RetrieveNewsReq

type RetrieveNewsReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveNewsReq) Descriptor deprecated

func (*RetrieveNewsReq) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveNewsReq.ProtoReflect.Descriptor instead.

func (*RetrieveNewsReq) GetId

func (x *RetrieveNewsReq) GetId() string

func (*RetrieveNewsReq) ProtoMessage

func (*RetrieveNewsReq) ProtoMessage()

func (*RetrieveNewsReq) ProtoReflect

func (x *RetrieveNewsReq) ProtoReflect() protoreflect.Message

func (*RetrieveNewsReq) Reset

func (x *RetrieveNewsReq) Reset()

func (*RetrieveNewsReq) String

func (x *RetrieveNewsReq) String() string

type RetrieveNewsResp

type RetrieveNewsResp struct {
	News *News `protobuf:"bytes,1,opt,name=news,proto3" json:"news,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveNewsResp) Descriptor deprecated

func (*RetrieveNewsResp) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveNewsResp.ProtoReflect.Descriptor instead.

func (*RetrieveNewsResp) GetNews

func (x *RetrieveNewsResp) GetNews() *News

func (*RetrieveNewsResp) ProtoMessage

func (*RetrieveNewsResp) ProtoMessage()

func (*RetrieveNewsResp) ProtoReflect

func (x *RetrieveNewsResp) ProtoReflect() protoreflect.Message

func (*RetrieveNewsResp) Reset

func (x *RetrieveNewsResp) Reset()

func (*RetrieveNewsResp) String

func (x *RetrieveNewsResp) String() string

type RetrieveNoticeReq

type RetrieveNoticeReq struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveNoticeReq) Descriptor deprecated

func (*RetrieveNoticeReq) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveNoticeReq.ProtoReflect.Descriptor instead.

func (*RetrieveNoticeReq) GetId

func (x *RetrieveNoticeReq) GetId() string

func (*RetrieveNoticeReq) ProtoMessage

func (*RetrieveNoticeReq) ProtoMessage()

func (*RetrieveNoticeReq) ProtoReflect

func (x *RetrieveNoticeReq) ProtoReflect() protoreflect.Message

func (*RetrieveNoticeReq) Reset

func (x *RetrieveNoticeReq) Reset()

func (*RetrieveNoticeReq) String

func (x *RetrieveNoticeReq) String() string

type RetrieveNoticeResp

type RetrieveNoticeResp struct {
	Notice *Notice `protobuf:"bytes,1,opt,name=notice,proto3" json:"notice,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveNoticeResp) Descriptor deprecated

func (*RetrieveNoticeResp) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveNoticeResp.ProtoReflect.Descriptor instead.

func (*RetrieveNoticeResp) GetNotice

func (x *RetrieveNoticeResp) GetNotice() *Notice

func (*RetrieveNoticeResp) ProtoMessage

func (*RetrieveNoticeResp) ProtoMessage()

func (*RetrieveNoticeResp) ProtoReflect

func (x *RetrieveNoticeResp) ProtoReflect() protoreflect.Message

func (*RetrieveNoticeResp) Reset

func (x *RetrieveNoticeResp) Reset()

func (*RetrieveNoticeResp) String

func (x *RetrieveNoticeResp) String() string

type RetrieveUserRoleReq

type RetrieveUserRoleReq struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveUserRoleReq) Descriptor deprecated

func (*RetrieveUserRoleReq) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveUserRoleReq.ProtoReflect.Descriptor instead.

func (*RetrieveUserRoleReq) GetUserId

func (x *RetrieveUserRoleReq) GetUserId() string

func (*RetrieveUserRoleReq) ProtoMessage

func (*RetrieveUserRoleReq) ProtoMessage()

func (*RetrieveUserRoleReq) ProtoReflect

func (x *RetrieveUserRoleReq) ProtoReflect() protoreflect.Message

func (*RetrieveUserRoleReq) Reset

func (x *RetrieveUserRoleReq) Reset()

func (*RetrieveUserRoleReq) String

func (x *RetrieveUserRoleReq) String() string

type RetrieveUserRoleResp

type RetrieveUserRoleResp struct {
	Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveUserRoleResp) Descriptor deprecated

func (*RetrieveUserRoleResp) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveUserRoleResp.ProtoReflect.Descriptor instead.

func (*RetrieveUserRoleResp) GetRoles

func (x *RetrieveUserRoleResp) GetRoles() []*Role

func (*RetrieveUserRoleResp) ProtoMessage

func (*RetrieveUserRoleResp) ProtoMessage()

func (*RetrieveUserRoleResp) ProtoReflect

func (x *RetrieveUserRoleResp) ProtoReflect() protoreflect.Message

func (*RetrieveUserRoleResp) Reset

func (x *RetrieveUserRoleResp) Reset()

func (*RetrieveUserRoleResp) String

func (x *RetrieveUserRoleResp) String() string

type Role

type Role struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// 如果是管理员则为非空值
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

func (*Role) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetCommunityId

func (x *Role) GetCommunityId() string

func (*Role) GetType

func (x *Role) GetType() string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

type SystemRpcClient

type SystemRpcClient interface {
	RetrieveNotice(ctx context.Context, in *RetrieveNoticeReq, opts ...grpc.CallOption) (*RetrieveNoticeResp, error)
	ListNotice(ctx context.Context, in *ListNoticeReq, opts ...grpc.CallOption) (*ListNoticeResp, error)
	CreateNotice(ctx context.Context, in *CreateNoticeReq, opts ...grpc.CallOption) (*CreateNoticeResp, error)
	UpdateNotice(ctx context.Context, in *UpdateNoticeReq, opts ...grpc.CallOption) (*UpdateNoticeResp, error)
	DeleteNotice(ctx context.Context, in *DeleteNoticeReq, opts ...grpc.CallOption) (*DeleteNoticeResp, error)
	RetrieveNews(ctx context.Context, in *RetrieveNewsReq, opts ...grpc.CallOption) (*RetrieveNewsResp, error)
	ListNews(ctx context.Context, in *ListNewsReq, opts ...grpc.CallOption) (*ListNewsResp, error)
	CreateNews(ctx context.Context, in *CreateNewsReq, opts ...grpc.CallOption) (*CreateNewsResp, error)
	UpdateNews(ctx context.Context, in *UpdateNewsReq, opts ...grpc.CallOption) (*UpdateNewsResp, error)
	DeleteNews(ctx context.Context, in *DeleteNewsReq, opts ...grpc.CallOption) (*DeleteNewsResp, error)
	RetrieveAdmin(ctx context.Context, in *RetrieveAdminReq, opts ...grpc.CallOption) (*RetrieveAdminResp, error)
	ListAdmin(ctx context.Context, in *ListAdminReq, opts ...grpc.CallOption) (*ListAdminResp, error)
	CreateAdmin(ctx context.Context, in *CreateAdminReq, opts ...grpc.CallOption) (*CreateAdminResp, error)
	UpdateAdmin(ctx context.Context, in *UpdateAdminReq, opts ...grpc.CallOption) (*UpdateAdminResp, error)
	DeleteAdmin(ctx context.Context, in *DeleteAdminReq, opts ...grpc.CallOption) (*DeleteAdminResp, error)
	HandleApply(ctx context.Context, in *HandleApplyReq, opts ...grpc.CallOption) (*HandleApplyResp, error)
	ListApply(ctx context.Context, in *ListApplyReq, opts ...grpc.CallOption) (*ListApplyResp, error)
	// 获取用户的所有角色
	RetrieveUserRole(ctx context.Context, in *RetrieveUserRoleReq, opts ...grpc.CallOption) (*RetrieveUserRoleResp, error)
	// 更新用户的角色
	UpdateUserRole(ctx context.Context, in *UpdateUserRoleReq, opts ...grpc.CallOption) (*UpdateUserRoleResp, error)
	ContainsRole(ctx context.Context, in *ContainsRoleReq, opts ...grpc.CallOption) (*ContainsRoleResp, error)
	CreateApply(ctx context.Context, in *CreateApplyReq, opts ...grpc.CallOption) (*CreateApplyResp, error)
	RetrieveCommunity(ctx context.Context, in *RetrieveCommunityReq, opts ...grpc.CallOption) (*RetrieveCommunityResp, error)
	ListCommunity(ctx context.Context, in *ListCommunityReq, opts ...grpc.CallOption) (*ListCommunityResp, error)
	CreateCommunity(ctx context.Context, in *CreateCommunityReq, opts ...grpc.CallOption) (*CreateCommunityResp, error)
	UpdateCommunity(ctx context.Context, in *UpdateCommunityReq, opts ...grpc.CallOption) (*UpdateCommunityResp, error)
	DeleteCommunity(ctx context.Context, in *DeleteCommunityReq, opts ...grpc.CallOption) (*DeleteCommunityResp, error)
	ListUseridByRole(ctx context.Context, in *ListUseridReq, opts ...grpc.CallOption) (*ListUseridResp, error)
}

SystemRpcClient is the client API for SystemRpc 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 NewSystemRpcClient

func NewSystemRpcClient(cc grpc.ClientConnInterface) SystemRpcClient

type SystemRpcServer

type SystemRpcServer interface {
	RetrieveNotice(context.Context, *RetrieveNoticeReq) (*RetrieveNoticeResp, error)
	ListNotice(context.Context, *ListNoticeReq) (*ListNoticeResp, error)
	CreateNotice(context.Context, *CreateNoticeReq) (*CreateNoticeResp, error)
	UpdateNotice(context.Context, *UpdateNoticeReq) (*UpdateNoticeResp, error)
	DeleteNotice(context.Context, *DeleteNoticeReq) (*DeleteNoticeResp, error)
	RetrieveNews(context.Context, *RetrieveNewsReq) (*RetrieveNewsResp, error)
	ListNews(context.Context, *ListNewsReq) (*ListNewsResp, error)
	CreateNews(context.Context, *CreateNewsReq) (*CreateNewsResp, error)
	UpdateNews(context.Context, *UpdateNewsReq) (*UpdateNewsResp, error)
	DeleteNews(context.Context, *DeleteNewsReq) (*DeleteNewsResp, error)
	RetrieveAdmin(context.Context, *RetrieveAdminReq) (*RetrieveAdminResp, error)
	ListAdmin(context.Context, *ListAdminReq) (*ListAdminResp, error)
	CreateAdmin(context.Context, *CreateAdminReq) (*CreateAdminResp, error)
	UpdateAdmin(context.Context, *UpdateAdminReq) (*UpdateAdminResp, error)
	DeleteAdmin(context.Context, *DeleteAdminReq) (*DeleteAdminResp, error)
	HandleApply(context.Context, *HandleApplyReq) (*HandleApplyResp, error)
	ListApply(context.Context, *ListApplyReq) (*ListApplyResp, error)
	// 获取用户的所有角色
	RetrieveUserRole(context.Context, *RetrieveUserRoleReq) (*RetrieveUserRoleResp, error)
	// 更新用户的角色
	UpdateUserRole(context.Context, *UpdateUserRoleReq) (*UpdateUserRoleResp, error)
	ContainsRole(context.Context, *ContainsRoleReq) (*ContainsRoleResp, error)
	CreateApply(context.Context, *CreateApplyReq) (*CreateApplyResp, error)
	RetrieveCommunity(context.Context, *RetrieveCommunityReq) (*RetrieveCommunityResp, error)
	ListCommunity(context.Context, *ListCommunityReq) (*ListCommunityResp, error)
	CreateCommunity(context.Context, *CreateCommunityReq) (*CreateCommunityResp, error)
	UpdateCommunity(context.Context, *UpdateCommunityReq) (*UpdateCommunityResp, error)
	DeleteCommunity(context.Context, *DeleteCommunityReq) (*DeleteCommunityResp, error)
	ListUseridByRole(context.Context, *ListUseridReq) (*ListUseridResp, error)
	// contains filtered or unexported methods
}

SystemRpcServer is the server API for SystemRpc service. All implementations must embed UnimplementedSystemRpcServer for forward compatibility

type UnimplementedSystemRpcServer

type UnimplementedSystemRpcServer struct {
}

UnimplementedSystemRpcServer must be embedded to have forward compatible implementations.

func (UnimplementedSystemRpcServer) ContainsRole

func (UnimplementedSystemRpcServer) CreateAdmin

func (UnimplementedSystemRpcServer) CreateApply added in v1.2.2

func (UnimplementedSystemRpcServer) CreateCommunity

func (UnimplementedSystemRpcServer) CreateNews

func (UnimplementedSystemRpcServer) CreateNotice

func (UnimplementedSystemRpcServer) DeleteAdmin

func (UnimplementedSystemRpcServer) DeleteCommunity

func (UnimplementedSystemRpcServer) DeleteNews

func (UnimplementedSystemRpcServer) DeleteNotice

func (UnimplementedSystemRpcServer) HandleApply added in v1.2.2

func (UnimplementedSystemRpcServer) ListAdmin

func (UnimplementedSystemRpcServer) ListApply added in v1.2.2

func (UnimplementedSystemRpcServer) ListCommunity

func (UnimplementedSystemRpcServer) ListNews

func (UnimplementedSystemRpcServer) ListNotice

func (UnimplementedSystemRpcServer) ListUseridByRole added in v1.2.2

func (UnimplementedSystemRpcServer) RetrieveAdmin

func (UnimplementedSystemRpcServer) RetrieveCommunity

func (UnimplementedSystemRpcServer) RetrieveNews

func (UnimplementedSystemRpcServer) RetrieveNotice

func (UnimplementedSystemRpcServer) RetrieveUserRole

func (UnimplementedSystemRpcServer) UpdateAdmin

func (UnimplementedSystemRpcServer) UpdateCommunity

func (UnimplementedSystemRpcServer) UpdateNews

func (UnimplementedSystemRpcServer) UpdateNotice

func (UnimplementedSystemRpcServer) UpdateUserRole

type UnsafeSystemRpcServer

type UnsafeSystemRpcServer interface {
	// contains filtered or unexported methods
}

UnsafeSystemRpcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemRpcServer will result in compilation errors.

type UpdateAdminReq

type UpdateAdminReq struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Title       string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	Phone       string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"`
	Wechat      string `protobuf:"bytes,6,opt,name=wechat,proto3" json:"wechat,omitempty"`
	AvatarUrl   string `protobuf:"bytes,7,opt,name=avatarUrl,proto3" json:"avatarUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAdminReq) Descriptor deprecated

func (*UpdateAdminReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAdminReq.ProtoReflect.Descriptor instead.

func (*UpdateAdminReq) GetAvatarUrl

func (x *UpdateAdminReq) GetAvatarUrl() string

func (*UpdateAdminReq) GetCommunityId

func (x *UpdateAdminReq) GetCommunityId() string

func (*UpdateAdminReq) GetId

func (x *UpdateAdminReq) GetId() string

func (*UpdateAdminReq) GetName

func (x *UpdateAdminReq) GetName() string

func (*UpdateAdminReq) GetPhone

func (x *UpdateAdminReq) GetPhone() string

func (*UpdateAdminReq) GetTitle

func (x *UpdateAdminReq) GetTitle() string

func (*UpdateAdminReq) GetWechat

func (x *UpdateAdminReq) GetWechat() string

func (*UpdateAdminReq) ProtoMessage

func (*UpdateAdminReq) ProtoMessage()

func (*UpdateAdminReq) ProtoReflect

func (x *UpdateAdminReq) ProtoReflect() protoreflect.Message

func (*UpdateAdminReq) Reset

func (x *UpdateAdminReq) Reset()

func (*UpdateAdminReq) String

func (x *UpdateAdminReq) String() string

type UpdateAdminResp

type UpdateAdminResp struct {
	// contains filtered or unexported fields
}

func (*UpdateAdminResp) Descriptor deprecated

func (*UpdateAdminResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAdminResp.ProtoReflect.Descriptor instead.

func (*UpdateAdminResp) ProtoMessage

func (*UpdateAdminResp) ProtoMessage()

func (*UpdateAdminResp) ProtoReflect

func (x *UpdateAdminResp) ProtoReflect() protoreflect.Message

func (*UpdateAdminResp) Reset

func (x *UpdateAdminResp) Reset()

func (*UpdateAdminResp) String

func (x *UpdateAdminResp) String() string

type UpdateCommunityReq

type UpdateCommunityReq struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ParentId string `protobuf:"bytes,3,opt,name=parentId,proto3" json:"parentId,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCommunityReq) Descriptor deprecated

func (*UpdateCommunityReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCommunityReq.ProtoReflect.Descriptor instead.

func (*UpdateCommunityReq) GetId

func (x *UpdateCommunityReq) GetId() string

func (*UpdateCommunityReq) GetName

func (x *UpdateCommunityReq) GetName() string

func (*UpdateCommunityReq) GetParentId

func (x *UpdateCommunityReq) GetParentId() string

func (*UpdateCommunityReq) ProtoMessage

func (*UpdateCommunityReq) ProtoMessage()

func (*UpdateCommunityReq) ProtoReflect

func (x *UpdateCommunityReq) ProtoReflect() protoreflect.Message

func (*UpdateCommunityReq) Reset

func (x *UpdateCommunityReq) Reset()

func (*UpdateCommunityReq) String

func (x *UpdateCommunityReq) String() string

type UpdateCommunityResp

type UpdateCommunityResp struct {
	// contains filtered or unexported fields
}

func (*UpdateCommunityResp) Descriptor deprecated

func (*UpdateCommunityResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCommunityResp.ProtoReflect.Descriptor instead.

func (*UpdateCommunityResp) ProtoMessage

func (*UpdateCommunityResp) ProtoMessage()

func (*UpdateCommunityResp) ProtoReflect

func (x *UpdateCommunityResp) ProtoReflect() protoreflect.Message

func (*UpdateCommunityResp) Reset

func (x *UpdateCommunityResp) Reset()

func (*UpdateCommunityResp) String

func (x *UpdateCommunityResp) String() string

type UpdateNewsReq

type UpdateNewsReq struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ImageUrl string `protobuf:"bytes,2,opt,name=imageUrl,proto3" json:"imageUrl,omitempty"`
	LinkUrl  string `protobuf:"bytes,3,opt,name=linkUrl,proto3" json:"linkUrl,omitempty"`
	Type     string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	IsPublic int64  `protobuf:"varint,5,opt,name=isPublic,proto3" json:"isPublic,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNewsReq) Descriptor deprecated

func (*UpdateNewsReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNewsReq.ProtoReflect.Descriptor instead.

func (*UpdateNewsReq) GetId

func (x *UpdateNewsReq) GetId() string

func (*UpdateNewsReq) GetImageUrl

func (x *UpdateNewsReq) GetImageUrl() string

func (*UpdateNewsReq) GetIsPublic added in v1.2.3

func (x *UpdateNewsReq) GetIsPublic() int64

func (*UpdateNewsReq) GetLinkUrl

func (x *UpdateNewsReq) GetLinkUrl() string

func (*UpdateNewsReq) GetType

func (x *UpdateNewsReq) GetType() string

func (*UpdateNewsReq) ProtoMessage

func (*UpdateNewsReq) ProtoMessage()

func (*UpdateNewsReq) ProtoReflect

func (x *UpdateNewsReq) ProtoReflect() protoreflect.Message

func (*UpdateNewsReq) Reset

func (x *UpdateNewsReq) Reset()

func (*UpdateNewsReq) String

func (x *UpdateNewsReq) String() string

type UpdateNewsResp

type UpdateNewsResp struct {
	// contains filtered or unexported fields
}

func (*UpdateNewsResp) Descriptor deprecated

func (*UpdateNewsResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNewsResp.ProtoReflect.Descriptor instead.

func (*UpdateNewsResp) ProtoMessage

func (*UpdateNewsResp) ProtoMessage()

func (*UpdateNewsResp) ProtoReflect

func (x *UpdateNewsResp) ProtoReflect() protoreflect.Message

func (*UpdateNewsResp) Reset

func (x *UpdateNewsResp) Reset()

func (*UpdateNewsResp) String

func (x *UpdateNewsResp) String() string

type UpdateNoticeReq

type UpdateNoticeReq struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNoticeReq) Descriptor deprecated

func (*UpdateNoticeReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNoticeReq.ProtoReflect.Descriptor instead.

func (*UpdateNoticeReq) GetId

func (x *UpdateNoticeReq) GetId() string

func (*UpdateNoticeReq) GetText

func (x *UpdateNoticeReq) GetText() string

func (*UpdateNoticeReq) ProtoMessage

func (*UpdateNoticeReq) ProtoMessage()

func (*UpdateNoticeReq) ProtoReflect

func (x *UpdateNoticeReq) ProtoReflect() protoreflect.Message

func (*UpdateNoticeReq) Reset

func (x *UpdateNoticeReq) Reset()

func (*UpdateNoticeReq) String

func (x *UpdateNoticeReq) String() string

type UpdateNoticeResp

type UpdateNoticeResp struct {
	// contains filtered or unexported fields
}

func (*UpdateNoticeResp) Descriptor deprecated

func (*UpdateNoticeResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNoticeResp.ProtoReflect.Descriptor instead.

func (*UpdateNoticeResp) ProtoMessage

func (*UpdateNoticeResp) ProtoMessage()

func (*UpdateNoticeResp) ProtoReflect

func (x *UpdateNoticeResp) ProtoReflect() protoreflect.Message

func (*UpdateNoticeResp) Reset

func (x *UpdateNoticeResp) Reset()

func (*UpdateNoticeResp) String

func (x *UpdateNoticeResp) String() string

type UpdateUserRoleReq

type UpdateUserRoleReq struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	// roles为用户增加/删除角色后所拥有的所有的角色
	Roles []*Role `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRoleReq) Descriptor deprecated

func (*UpdateUserRoleReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserRoleReq.ProtoReflect.Descriptor instead.

func (*UpdateUserRoleReq) GetRoles

func (x *UpdateUserRoleReq) GetRoles() []*Role

func (*UpdateUserRoleReq) GetUserId

func (x *UpdateUserRoleReq) GetUserId() string

func (*UpdateUserRoleReq) ProtoMessage

func (*UpdateUserRoleReq) ProtoMessage()

func (*UpdateUserRoleReq) ProtoReflect

func (x *UpdateUserRoleReq) ProtoReflect() protoreflect.Message

func (*UpdateUserRoleReq) Reset

func (x *UpdateUserRoleReq) Reset()

func (*UpdateUserRoleReq) String

func (x *UpdateUserRoleReq) String() string

type UpdateUserRoleResp

type UpdateUserRoleResp struct {
	// contains filtered or unexported fields
}

func (*UpdateUserRoleResp) Descriptor deprecated

func (*UpdateUserRoleResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserRoleResp.ProtoReflect.Descriptor instead.

func (*UpdateUserRoleResp) ProtoMessage

func (*UpdateUserRoleResp) ProtoMessage()

func (*UpdateUserRoleResp) ProtoReflect

func (x *UpdateUserRoleResp) ProtoReflect() protoreflect.Message

func (*UpdateUserRoleResp) Reset

func (x *UpdateUserRoleResp) Reset()

func (*UpdateUserRoleResp) String

func (x *UpdateUserRoleResp) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL