userdevicelogic

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToUserDeviceSharePbs

func ToUserDeviceSharePbs(in []*relationDB.DmUserDeviceShare) (ret []*dm.UserDeviceShareInfo)

Types

type UserDeivceShareMultiAcceptLogic added in v1.0.2

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

func NewUserDeivceShareMultiAcceptLogic added in v1.0.2

func NewUserDeivceShareMultiAcceptLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeivceShareMultiAcceptLogic

func (*UserDeivceShareMultiAcceptLogic) UserDeivceShareMultiAccept added in v1.0.2

func (l *UserDeivceShareMultiAcceptLogic) UserDeivceShareMultiAccept(in *dm.UserDeviceShareMultiAcceptReq) (*dm.Empty, error)

接受批量分享的设备

type UserDeivceShareMultiIndexLogic added in v1.0.2

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

func NewUserDeivceShareMultiIndexLogic added in v1.0.2

func NewUserDeivceShareMultiIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeivceShareMultiIndexLogic

func (*UserDeivceShareMultiIndexLogic) UserDeivceShareMultiIndex added in v1.0.2

扫码后获取设备列表 如果有分页需求,在前端处理

type UserDeviceCollectIndexLogic

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

func NewUserDeviceCollectIndexLogic

func NewUserDeviceCollectIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceCollectIndexLogic

func (*UserDeviceCollectIndexLogic) UserDeviceCollectIndex

func (l *UserDeviceCollectIndexLogic) UserDeviceCollectIndex(in *dm.Empty) (*dm.UserDeviceCollectSave, error)

type UserDeviceCollectMultiCreateLogic

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

func NewUserDeviceCollectMultiCreateLogic

func NewUserDeviceCollectMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceCollectMultiCreateLogic

func (*UserDeviceCollectMultiCreateLogic) UserDeviceCollectMultiCreate

func (l *UserDeviceCollectMultiCreateLogic) UserDeviceCollectMultiCreate(in *dm.UserDeviceCollectSave) (*dm.Empty, error)

用户收藏的设备

type UserDeviceCollectMultiDeleteLogic

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

func NewUserDeviceCollectMultiDeleteLogic

func NewUserDeviceCollectMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceCollectMultiDeleteLogic

func (*UserDeviceCollectMultiDeleteLogic) UserDeviceCollectMultiDelete

func (l *UserDeviceCollectMultiDeleteLogic) UserDeviceCollectMultiDelete(in *dm.UserDeviceCollectSave) (*dm.Empty, error)

type UserDeviceShareCreateLogic

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

func NewUserDeviceShareCreateLogic

func NewUserDeviceShareCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareCreateLogic

func (*UserDeviceShareCreateLogic) UserDeviceShareCreate

func (l *UserDeviceShareCreateLogic) UserDeviceShareCreate(in *dm.UserDeviceShareInfo) (*dm.WithID, error)

分享设备

type UserDeviceShareDeleteLogic

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

func NewUserDeviceShareDeleteLogic

func NewUserDeviceShareDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareDeleteLogic

func (*UserDeviceShareDeleteLogic) UserDeviceShareDelete

func (l *UserDeviceShareDeleteLogic) UserDeviceShareDelete(in *dm.UserDeviceShareReadReq) (*dm.Empty, error)

取消分享设备

type UserDeviceShareIndexLogic

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

func NewUserDeviceShareIndexLogic

func NewUserDeviceShareIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareIndexLogic

func (*UserDeviceShareIndexLogic) UserDeviceShareIndex

获取设备分享列表(只有)

type UserDeviceShareMultiCreateLogic added in v1.0.2

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

func NewUserDeviceShareMultiCreateLogic added in v1.0.2

func NewUserDeviceShareMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareMultiCreateLogic

func (*UserDeviceShareMultiCreateLogic) UserDeviceShareMultiCreate added in v1.0.2

type UserDeviceShareMultiDeleteLogic

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

func NewUserDeviceShareMultiDeleteLogic

func NewUserDeviceShareMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareMultiDeleteLogic

func (*UserDeviceShareMultiDeleteLogic) UserDeviceShareMultiDelete

func (l *UserDeviceShareMultiDeleteLogic) UserDeviceShareMultiDelete(in *dm.UserDeviceShareMultiDeleteReq) (*dm.Empty, error)

取消分享设备

type UserDeviceShareReadLogic

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

func NewUserDeviceShareReadLogic

func NewUserDeviceShareReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareReadLogic

func (*UserDeviceShareReadLogic) UserDeviceShareRead

获取设备分享的详情

type UserDeviceShareUpdateLogic

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

func NewUserDeviceShareUpdateLogic

func NewUserDeviceShareUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceShareUpdateLogic

func (*UserDeviceShareUpdateLogic) UserDeviceShareUpdate

func (l *UserDeviceShareUpdateLogic) UserDeviceShareUpdate(in *dm.UserDeviceShareInfo) (*dm.Empty, error)

更新权限

type UserDeviceTransferLogic

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

func NewUserDeviceTransferLogic

func NewUserDeviceTransferLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserDeviceTransferLogic

func (*UserDeviceTransferLogic) UserDeviceTransfer

func (l *UserDeviceTransferLogic) UserDeviceTransfer(in *dm.DeviceTransferReq) (*dm.Empty, error)

Jump to

Keyboard shortcuts

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