logic

package
v0.0.0-...-fc2ebe8 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RpcProjectToApiProject

func RpcProjectToApiProject(project *model.ProjectField) (*cpluspb.CPlusProjectField, error)

RpcProjectToApiProject rpc Project 转 api Project

func RpcUserToApiUser

func RpcUserToApiUser(user *model.UserFields) (*cpluspb.CPlusUserFields, error)

RpcUserToApiUser rpc user 转 api user

Types

type AddVolcUserLogic

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

func NewAddVolcUserLogic

func NewAddVolcUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddVolcUserLogic

func (*AddVolcUserLogic) AddVolcUser

AddVolcUser 新增端侧用户

type AddWeworkUserLogic

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

func NewAddWeworkUserLogic

func NewAddWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddWeworkUserLogic

func (*AddWeworkUserLogic) AddWeworkUser

AddWeworkUser 企微用户新增

type AddWeworkUserRollbackLogic

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

func NewAddWeworkUserRollbackLogic

func NewAddWeworkUserRollbackLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddWeworkUserRollbackLogic

func (*AddWeworkUserRollbackLogic) AddWeworkUserRollback

AddWeworkUserRollback 企微用户新增回退

type AssignCPlusUserProjectRoleLogic

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

func NewAssignCPlusUserProjectRoleLogic

func NewAssignCPlusUserProjectRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AssignCPlusUserProjectRoleLogic

func (*AssignCPlusUserProjectRoleLogic) AssignCPlusUserProjectRole

AssignCPlusUserProjectRole 用户分配项目角色

type BatchAddWeworkUserLogic

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

func NewBatchAddWeworkUserLogic

func NewBatchAddWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchAddWeworkUserLogic

func (*BatchAddWeworkUserLogic) BatchAddWeworkUser

BatchAddWeworkUser 企微用户批量新增

type BatchAssignCPlusUserProjectRoleLogic

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

func NewBatchAssignCPlusUserProjectRoleLogic

func NewBatchAssignCPlusUserProjectRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchAssignCPlusUserProjectRoleLogic

func (*BatchAssignCPlusUserProjectRoleLogic) BatchAssignCPlusUserProjectRole

BatchAssignCPlusUserProjectRole 用户分配项目角色

type CacheAllWeworkUserLogic

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

func NewCacheAllWeworkUserLogic

func NewCacheAllWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CacheAllWeworkUserLogic

func (*CacheAllWeworkUserLogic) CacheAllWeworkUser

CacheAllWeworkUser 更新全部企微用户缓存

type DelVolcUserLogic

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

func NewDelVolcUserLogic

func NewDelVolcUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DelVolcUserLogic

func (*DelVolcUserLogic) DelVolcUser

DelVolcUser 删除端侧用户

type DelWeworkUserLogic

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

func NewDelWeworkUserLogic

func NewDelWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DelWeworkUserLogic

func (*DelWeworkUserLogic) DelWeworkUser

DelWeworkUser 企微用户删除

type DisableWeworkUserLogic

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

func NewDisableWeworkUserLogic

func NewDisableWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DisableWeworkUserLogic

func (*DisableWeworkUserLogic) DisableWeworkUser

DisableWeworkUser 禁用企业微信用户

type GetCPlusProjectLogic

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

func NewGetCPlusProjectLogic

func NewGetCPlusProjectLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCPlusProjectLogic

func (*GetCPlusProjectLogic) GetCPlusProject

GetCPlusProject 项目单个获取

type GetCPlusUserLogic

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

func NewGetCPlusUserLogic

func NewGetCPlusUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCPlusUserLogic

func (*GetCPlusUserLogic) GetCPlusUser

GetCPlusUser 用户单个获取

type GetVolcUserLogic

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

func NewGetVolcUserLogic

func NewGetVolcUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetVolcUserLogic

func (*GetVolcUserLogic) GetVolcUser

GetVolcUser 查询端侧用户

type GetWeworkUserLogic

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

func NewGetWeworkUserLogic

func NewGetWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetWeworkUserLogic

func (*GetWeworkUserLogic) GetWeworkUser

GetWeworkUser 企业微信用户单个获取

type MediaGetLogic

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

func NewMediaGetLogic

func NewMediaGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MediaGetLogic

func (*MediaGetLogic) MediaGet

MediaGet 获取文件内容

type RenewalWeworkUserLogic

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

func NewRenewalWeworkUserLogic

func NewRenewalWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RenewalWeworkUserLogic

func (*RenewalWeworkUserLogic) RenewalWeworkUser

RenewalWeworkUser 续期企微用户

type UnlockCPlusUserLogic

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

func NewUnlockCPlusUserLogic

func NewUnlockCPlusUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UnlockCPlusUserLogic

func (*UnlockCPlusUserLogic) UnlockCPlusUser

UnlockCPlusUser 解锁用户

Jump to

Keyboard shortcuts

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