operate_service

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OperateService_CreateSystemCustomTab_FullMethodName   = "/operate_service.OperateService/CreateSystemCustomTab"
	OperateService_CreateSystemCustomLogin_FullMethodName = "/operate_service.OperateService/CreateSystemCustomLogin"
	OperateService_CreateSystemCustomHome_FullMethodName  = "/operate_service.OperateService/CreateSystemCustomHome"
	OperateService_GetSystemCustom_FullMethodName         = "/operate_service.OperateService/GetSystemCustom"
	OperateService_AddClientRecord_FullMethodName         = "/operate_service.OperateService/AddClientRecord"
	OperateService_GetClientStatistic_FullMethodName      = "/operate_service.OperateService/GetClientStatistic"
)

Variables

View Source
var File_proto_operate_service_operate_service_proto protoreflect.FileDescriptor
View Source
var OperateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "operate_service.OperateService",
	HandlerType: (*OperateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateSystemCustomTab",
			Handler:    _OperateService_CreateSystemCustomTab_Handler,
		},
		{
			MethodName: "CreateSystemCustomLogin",
			Handler:    _OperateService_CreateSystemCustomLogin_Handler,
		},
		{
			MethodName: "CreateSystemCustomHome",
			Handler:    _OperateService_CreateSystemCustomHome_Handler,
		},
		{
			MethodName: "GetSystemCustom",
			Handler:    _OperateService_GetSystemCustom_Handler,
		},
		{
			MethodName: "AddClientRecord",
			Handler:    _OperateService_AddClientRecord_Handler,
		},
		{
			MethodName: "GetClientStatistic",
			Handler:    _OperateService_GetClientStatistic_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/operate-service/operate-service.proto",
}

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

Functions

func RegisterOperateServiceServer

func RegisterOperateServiceServer(s grpc.ServiceRegistrar, srv OperateServiceServer)

Types

type AddClientRecordReq added in v0.2.5

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

func (*AddClientRecordReq) Descriptor deprecated added in v0.2.5

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

Deprecated: Use AddClientRecordReq.ProtoReflect.Descriptor instead.

func (*AddClientRecordReq) GetClientId added in v0.2.5

func (x *AddClientRecordReq) GetClientId() string

func (*AddClientRecordReq) ProtoMessage added in v0.2.5

func (*AddClientRecordReq) ProtoMessage()

func (*AddClientRecordReq) ProtoReflect added in v0.2.5

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

func (*AddClientRecordReq) Reset added in v0.2.5

func (x *AddClientRecordReq) Reset()

func (*AddClientRecordReq) String added in v0.2.5

func (x *AddClientRecordReq) String() string

type ClientOverViewInfo added in v0.2.5

type ClientOverViewInfo struct {
	Cumulative *ClientOverviewItem `protobuf:"bytes,1,opt,name=cumulative,proto3" json:"cumulative,omitempty"` // 累计
	New        *ClientOverviewItem `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"`               // 新增
	Active     *ClientOverviewItem `protobuf:"bytes,3,opt,name=active,proto3" json:"active,omitempty"`         // 日活
	// contains filtered or unexported fields
}

func (*ClientOverViewInfo) Descriptor deprecated added in v0.2.5

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

Deprecated: Use ClientOverViewInfo.ProtoReflect.Descriptor instead.

func (*ClientOverViewInfo) GetActive added in v0.2.6

func (x *ClientOverViewInfo) GetActive() *ClientOverviewItem

func (*ClientOverViewInfo) GetCumulative added in v0.2.6

func (x *ClientOverViewInfo) GetCumulative() *ClientOverviewItem

func (*ClientOverViewInfo) GetNew added in v0.2.6

func (*ClientOverViewInfo) ProtoMessage added in v0.2.5

func (*ClientOverViewInfo) ProtoMessage()

func (*ClientOverViewInfo) ProtoReflect added in v0.2.5

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

func (*ClientOverViewInfo) Reset added in v0.2.5

func (x *ClientOverViewInfo) Reset()

func (*ClientOverViewInfo) String added in v0.2.5

func (x *ClientOverViewInfo) String() string

type ClientOverviewItem added in v0.2.5

type ClientOverviewItem struct {
	Value            float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
	PeriodOverperiod float32 `protobuf:"fixed32,2,opt,name=periodOverperiod,proto3" json:"periodOverperiod,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientOverviewItem) Descriptor deprecated added in v0.2.5

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

Deprecated: Use ClientOverviewItem.ProtoReflect.Descriptor instead.

func (*ClientOverviewItem) GetPeriodOverperiod added in v0.2.5

func (x *ClientOverviewItem) GetPeriodOverperiod() float32

func (*ClientOverviewItem) GetValue added in v0.2.5

func (x *ClientOverviewItem) GetValue() float32

func (*ClientOverviewItem) ProtoMessage added in v0.2.5

func (*ClientOverviewItem) ProtoMessage()

func (*ClientOverviewItem) ProtoReflect added in v0.2.5

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

func (*ClientOverviewItem) Reset added in v0.2.5

func (x *ClientOverviewItem) Reset()

func (*ClientOverviewItem) String added in v0.2.5

func (x *ClientOverviewItem) String() string

type ClientStatistic added in v0.2.6

type ClientStatistic struct {
	Overview *ClientOverViewInfo `protobuf:"bytes,1,opt,name=overview,proto3" json:"overview,omitempty"`
	Trend    *ClientTrendInfo    `protobuf:"bytes,2,opt,name=trend,proto3" json:"trend,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientStatistic) Descriptor deprecated added in v0.2.6

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

Deprecated: Use ClientStatistic.ProtoReflect.Descriptor instead.

func (*ClientStatistic) GetOverview added in v0.2.6

func (x *ClientStatistic) GetOverview() *ClientOverViewInfo

func (*ClientStatistic) GetTrend added in v0.2.6

func (x *ClientStatistic) GetTrend() *ClientTrendInfo

func (*ClientStatistic) ProtoMessage added in v0.2.6

func (*ClientStatistic) ProtoMessage()

func (*ClientStatistic) ProtoReflect added in v0.2.6

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

func (*ClientStatistic) Reset added in v0.2.6

func (x *ClientStatistic) Reset()

func (*ClientStatistic) String added in v0.2.6

func (x *ClientStatistic) String() string

type ClientTrendInfo added in v0.2.5

type ClientTrendInfo struct {
	Client *common.StatisticChart `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientTrendInfo) Descriptor deprecated added in v0.2.5

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

Deprecated: Use ClientTrendInfo.ProtoReflect.Descriptor instead.

func (*ClientTrendInfo) GetClient added in v0.2.5

func (x *ClientTrendInfo) GetClient() *common.StatisticChart

func (*ClientTrendInfo) ProtoMessage added in v0.2.5

func (*ClientTrendInfo) ProtoMessage()

func (*ClientTrendInfo) ProtoReflect added in v0.2.5

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

func (*ClientTrendInfo) Reset added in v0.2.5

func (x *ClientTrendInfo) Reset()

func (*ClientTrendInfo) String added in v0.2.5

func (x *ClientTrendInfo) String() string

type CreateSystemCustomHomeReq

type CreateSystemCustomHomeReq struct {
	OrgId  string `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`   // 租户ID
	UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID
	Mode   string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
	Home   *Home  `protobuf:"bytes,4,opt,name=home,proto3" json:"home,omitempty"` // 标题
	// contains filtered or unexported fields
}

func (*CreateSystemCustomHomeReq) Descriptor deprecated

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

Deprecated: Use CreateSystemCustomHomeReq.ProtoReflect.Descriptor instead.

func (*CreateSystemCustomHomeReq) GetHome

func (x *CreateSystemCustomHomeReq) GetHome() *Home

func (*CreateSystemCustomHomeReq) GetMode

func (x *CreateSystemCustomHomeReq) GetMode() string

func (*CreateSystemCustomHomeReq) GetOrgId

func (x *CreateSystemCustomHomeReq) GetOrgId() string

func (*CreateSystemCustomHomeReq) GetUserId

func (x *CreateSystemCustomHomeReq) GetUserId() string

func (*CreateSystemCustomHomeReq) ProtoMessage

func (*CreateSystemCustomHomeReq) ProtoMessage()

func (*CreateSystemCustomHomeReq) ProtoReflect

func (*CreateSystemCustomHomeReq) Reset

func (x *CreateSystemCustomHomeReq) Reset()

func (*CreateSystemCustomHomeReq) String

func (x *CreateSystemCustomHomeReq) String() string

type CreateSystemCustomLoginReq

type CreateSystemCustomLoginReq struct {
	OrgId  string `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`   // 租户ID
	UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID
	Mode   string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
	Login  *Login `protobuf:"bytes,4,opt,name=login,proto3" json:"login,omitempty"` // 登录页
	// contains filtered or unexported fields
}

func (*CreateSystemCustomLoginReq) Descriptor deprecated

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

Deprecated: Use CreateSystemCustomLoginReq.ProtoReflect.Descriptor instead.

func (*CreateSystemCustomLoginReq) GetLogin

func (x *CreateSystemCustomLoginReq) GetLogin() *Login

func (*CreateSystemCustomLoginReq) GetMode

func (x *CreateSystemCustomLoginReq) GetMode() string

func (*CreateSystemCustomLoginReq) GetOrgId

func (x *CreateSystemCustomLoginReq) GetOrgId() string

func (*CreateSystemCustomLoginReq) GetUserId

func (x *CreateSystemCustomLoginReq) GetUserId() string

func (*CreateSystemCustomLoginReq) ProtoMessage

func (*CreateSystemCustomLoginReq) ProtoMessage()

func (*CreateSystemCustomLoginReq) ProtoReflect

func (*CreateSystemCustomLoginReq) Reset

func (x *CreateSystemCustomLoginReq) Reset()

func (*CreateSystemCustomLoginReq) String

func (x *CreateSystemCustomLoginReq) String() string

type CreateSystemCustomTabReq

type CreateSystemCustomTabReq struct {
	OrgId  string `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"`   // 租户ID
	UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // 用户ID
	Mode   string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`     // 模式
	Tab    *Tab   `protobuf:"bytes,4,opt,name=tab,proto3" json:"tab,omitempty"`       // 标签页信息
	// contains filtered or unexported fields
}

func (*CreateSystemCustomTabReq) Descriptor deprecated

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

Deprecated: Use CreateSystemCustomTabReq.ProtoReflect.Descriptor instead.

func (*CreateSystemCustomTabReq) GetMode

func (x *CreateSystemCustomTabReq) GetMode() string

func (*CreateSystemCustomTabReq) GetOrgId

func (x *CreateSystemCustomTabReq) GetOrgId() string

func (*CreateSystemCustomTabReq) GetTab

func (x *CreateSystemCustomTabReq) GetTab() *Tab

func (*CreateSystemCustomTabReq) GetUserId

func (x *CreateSystemCustomTabReq) GetUserId() string

func (*CreateSystemCustomTabReq) ProtoMessage

func (*CreateSystemCustomTabReq) ProtoMessage()

func (*CreateSystemCustomTabReq) ProtoReflect

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

func (*CreateSystemCustomTabReq) Reset

func (x *CreateSystemCustomTabReq) Reset()

func (*CreateSystemCustomTabReq) String

func (x *CreateSystemCustomTabReq) String() string

type GetClientStatisticReq added in v0.2.6

type GetClientStatisticReq struct {
	StartDate string `protobuf:"bytes,1,opt,name=startDate,proto3" json:"startDate,omitempty"`
	EndDate   string `protobuf:"bytes,2,opt,name=endDate,proto3" json:"endDate,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClientStatisticReq) Descriptor deprecated added in v0.2.6

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

Deprecated: Use GetClientStatisticReq.ProtoReflect.Descriptor instead.

func (*GetClientStatisticReq) GetEndDate added in v0.2.6

func (x *GetClientStatisticReq) GetEndDate() string

func (*GetClientStatisticReq) GetStartDate added in v0.2.6

func (x *GetClientStatisticReq) GetStartDate() string

func (*GetClientStatisticReq) ProtoMessage added in v0.2.6

func (*GetClientStatisticReq) ProtoMessage()

func (*GetClientStatisticReq) ProtoReflect added in v0.2.6

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

func (*GetClientStatisticReq) Reset added in v0.2.6

func (x *GetClientStatisticReq) Reset()

func (*GetClientStatisticReq) String added in v0.2.6

func (x *GetClientStatisticReq) String() string

type GetSystemCustomReq

type GetSystemCustomReq struct {
	Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"` // 模式
	// contains filtered or unexported fields
}

func (*GetSystemCustomReq) Descriptor deprecated

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

Deprecated: Use GetSystemCustomReq.ProtoReflect.Descriptor instead.

func (*GetSystemCustomReq) GetMode

func (x *GetSystemCustomReq) GetMode() string

func (*GetSystemCustomReq) ProtoMessage

func (*GetSystemCustomReq) ProtoMessage()

func (*GetSystemCustomReq) ProtoReflect

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

func (*GetSystemCustomReq) Reset

func (x *GetSystemCustomReq) Reset()

func (*GetSystemCustomReq) String

func (x *GetSystemCustomReq) String() string

type Home

type Home struct {
	HomeLogoPath string `protobuf:"bytes,1,opt,name=homeLogoPath,proto3" json:"homeLogoPath,omitempty"` // 平台logo路径
	HomeName     string `protobuf:"bytes,2,opt,name=homeName,proto3" json:"homeName,omitempty"`         // 平台名称
	HomeBgColor  string `protobuf:"bytes,3,opt,name=homeBgColor,proto3" json:"homeBgColor,omitempty"`   // 平台背景颜色
	// contains filtered or unexported fields
}

func (*Home) Descriptor deprecated

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

Deprecated: Use Home.ProtoReflect.Descriptor instead.

func (*Home) GetHomeBgColor

func (x *Home) GetHomeBgColor() string

func (*Home) GetHomeLogoPath

func (x *Home) GetHomeLogoPath() string

func (*Home) GetHomeName

func (x *Home) GetHomeName() string

func (*Home) ProtoMessage

func (*Home) ProtoMessage()

func (*Home) ProtoReflect

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

func (*Home) Reset

func (x *Home) Reset()

func (*Home) String

func (x *Home) String() string

type Login

type Login struct {
	LoginBgPath      string `protobuf:"bytes,1,opt,name=loginBgPath,proto3" json:"loginBgPath,omitempty"`           // 登录页背景图
	LoginWelcomeText string `protobuf:"bytes,3,opt,name=loginWelcomeText,proto3" json:"loginWelcomeText,omitempty"` // 登录页欢迎词
	LoginButtonColor string `protobuf:"bytes,4,opt,name=loginButtonColor,proto3" json:"loginButtonColor,omitempty"` // 登录按钮颜色
	// contains filtered or unexported fields
}

func (*Login) Descriptor deprecated

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

Deprecated: Use Login.ProtoReflect.Descriptor instead.

func (*Login) GetLoginBgPath

func (x *Login) GetLoginBgPath() string

func (*Login) GetLoginButtonColor

func (x *Login) GetLoginButtonColor() string
func (x *Login) GetLoginLogo() string

func (*Login) GetLoginWelcomeText

func (x *Login) GetLoginWelcomeText() string

func (*Login) ProtoMessage

func (*Login) ProtoMessage()

func (*Login) ProtoReflect

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

func (*Login) Reset

func (x *Login) Reset()

func (*Login) String

func (x *Login) String() string

type OperateServiceClient

type OperateServiceClient interface {
	CreateSystemCustomTab(ctx context.Context, in *CreateSystemCustomTabReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateSystemCustomLogin(ctx context.Context, in *CreateSystemCustomLoginReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateSystemCustomHome(ctx context.Context, in *CreateSystemCustomHomeReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetSystemCustom(ctx context.Context, in *GetSystemCustomReq, opts ...grpc.CallOption) (*SystemCustom, error)
	AddClientRecord(ctx context.Context, in *AddClientRecordReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetClientStatistic(ctx context.Context, in *GetClientStatisticReq, opts ...grpc.CallOption) (*ClientStatistic, error)
}

OperateServiceClient is the client API for OperateService 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.

type OperateServiceServer

type OperateServiceServer interface {
	CreateSystemCustomTab(context.Context, *CreateSystemCustomTabReq) (*emptypb.Empty, error)
	CreateSystemCustomLogin(context.Context, *CreateSystemCustomLoginReq) (*emptypb.Empty, error)
	CreateSystemCustomHome(context.Context, *CreateSystemCustomHomeReq) (*emptypb.Empty, error)
	GetSystemCustom(context.Context, *GetSystemCustomReq) (*SystemCustom, error)
	AddClientRecord(context.Context, *AddClientRecordReq) (*emptypb.Empty, error)
	GetClientStatistic(context.Context, *GetClientStatisticReq) (*ClientStatistic, error)
	// contains filtered or unexported methods
}

OperateServiceServer is the server API for OperateService service. All implementations must embed UnimplementedOperateServiceServer for forward compatibility.

type SystemCustom

type SystemCustom struct {
	Login *Login `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` // 登录页
	Tab   *Tab   `protobuf:"bytes,2,opt,name=tab,proto3" json:"tab,omitempty"`     // logo
	Home  *Home  `protobuf:"bytes,3,opt,name=home,proto3" json:"home,omitempty"`   // 标题
	// contains filtered or unexported fields
}

func (*SystemCustom) Descriptor deprecated

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

Deprecated: Use SystemCustom.ProtoReflect.Descriptor instead.

func (*SystemCustom) GetHome

func (x *SystemCustom) GetHome() *Home

func (*SystemCustom) GetLogin

func (x *SystemCustom) GetLogin() *Login

func (*SystemCustom) GetTab

func (x *SystemCustom) GetTab() *Tab

func (*SystemCustom) ProtoMessage

func (*SystemCustom) ProtoMessage()

func (*SystemCustom) ProtoReflect

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

func (*SystemCustom) Reset

func (x *SystemCustom) Reset()

func (*SystemCustom) String

func (x *SystemCustom) String() string

type Tab

type Tab struct {
	TabLogoPath string `protobuf:"bytes,1,opt,name=tabLogoPath,proto3" json:"tabLogoPath,omitempty"` // 标签页logo路径
	TabTitle    string `protobuf:"bytes,2,opt,name=tabTitle,proto3" json:"tabTitle,omitempty"`       // 标签页标题
	// contains filtered or unexported fields
}

func (*Tab) Descriptor deprecated

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

Deprecated: Use Tab.ProtoReflect.Descriptor instead.

func (*Tab) GetTabLogoPath

func (x *Tab) GetTabLogoPath() string

func (*Tab) GetTabTitle

func (x *Tab) GetTabTitle() string

func (*Tab) ProtoMessage

func (*Tab) ProtoMessage()

func (*Tab) ProtoReflect

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

func (*Tab) Reset

func (x *Tab) Reset()

func (*Tab) String

func (x *Tab) String() string

type UnimplementedOperateServiceServer

type UnimplementedOperateServiceServer struct{}

UnimplementedOperateServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOperateServiceServer) AddClientRecord added in v0.2.5

func (UnimplementedOperateServiceServer) CreateSystemCustomHome

func (UnimplementedOperateServiceServer) CreateSystemCustomLogin

func (UnimplementedOperateServiceServer) CreateSystemCustomTab

func (UnimplementedOperateServiceServer) GetClientStatistic added in v0.2.6

func (UnimplementedOperateServiceServer) GetSystemCustom

type UnsafeOperateServiceServer

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

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

Jump to

Keyboard shortcuts

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