devicegrouplogic

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupDeviceIndexLogic

type GroupDeviceIndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGroupDeviceIndexLogic

func NewGroupDeviceIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupDeviceIndexLogic

func (*GroupDeviceIndexLogic) GroupDeviceIndex

获取分组设备信息列表

type GroupDeviceMultiCreateLogic added in v0.3.0

type GroupDeviceMultiCreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGroupDeviceMultiCreateLogic added in v0.3.0

func NewGroupDeviceMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupDeviceMultiCreateLogic

func (*GroupDeviceMultiCreateLogic) GroupDeviceMultiCreate added in v0.3.0

func (l *GroupDeviceMultiCreateLogic) GroupDeviceMultiCreate(in *dm.GroupDeviceMultiCreateReq) (*dm.Response, error)

创建分组设备

type GroupDeviceMultiDeleteLogic added in v0.3.0

type GroupDeviceMultiDeleteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGroupDeviceMultiDeleteLogic added in v0.3.0

func NewGroupDeviceMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupDeviceMultiDeleteLogic

func (*GroupDeviceMultiDeleteLogic) GroupDeviceMultiDelete added in v0.3.0

func (l *GroupDeviceMultiDeleteLogic) GroupDeviceMultiDelete(in *dm.GroupDeviceMultiDeleteReq) (*dm.Response, error)

删除分组设备

type GroupInfoCreateLogic

type GroupInfoCreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGroupInfoCreateLogic

func NewGroupInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoCreateLogic

func (*GroupInfoCreateLogic) CheckGroupInfo

func (l *GroupInfoCreateLogic) CheckGroupInfo(in *dm.GroupInfoCreateReq) (bool, error)

发现返回true 没有返回false

func (*GroupInfoCreateLogic) CheckGroupLevel added in v0.3.0

func (l *GroupInfoCreateLogic) CheckGroupLevel(groupID int64, level int64) (bool, error)

检查当前分组嵌套层数是否超限,是返回true 否则返回false

func (*GroupInfoCreateLogic) GroupInfoCreate

func (l *GroupInfoCreateLogic) GroupInfoCreate(in *dm.GroupInfoCreateReq) (*dm.Response, error)

创建分组

type GroupInfoDeleteLogic

type GroupInfoDeleteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGroupInfoDeleteLogic

func NewGroupInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoDeleteLogic

func (*GroupInfoDeleteLogic) GroupInfoDelete

func (l *GroupInfoDeleteLogic) GroupInfoDelete(in *dm.GroupInfoDeleteReq) (*dm.Response, error)

删除分组

type GroupInfoIndexLogic

type GroupInfoIndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGroupInfoIndexLogic

func NewGroupInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoIndexLogic

func (*GroupInfoIndexLogic) GroupInfoIndex

获取分组信息列表

type GroupInfoReadLogic

type GroupInfoReadLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGroupInfoReadLogic

func NewGroupInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoReadLogic

func (*GroupInfoReadLogic) GroupInfoRead

func (l *GroupInfoReadLogic) GroupInfoRead(in *dm.GroupInfoReadReq) (*dm.GroupInfo, error)

获取分组信息详情

type GroupInfoUpdateLogic

type GroupInfoUpdateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGroupInfoUpdateLogic

func NewGroupInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoUpdateLogic

func (*GroupInfoUpdateLogic) GroupInfoUpdate

func (l *GroupInfoUpdateLogic) GroupInfoUpdate(in *dm.GroupInfoUpdateReq) (*dm.Response, error)

更新分组

Jump to

Keyboard shortcuts

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