Documentation ¶
Index ¶
- Variables
- func DeptSyncAddDing(ctx context.Context, svcCtx *svc.ServiceContext, po *relationDB.SysDeptSyncJob) error
- func DeptSyncDelDing(ctx context.Context, svcCtx *svc.ServiceContext, po *relationDB.SysDeptSyncJob) error
- func FillChildren(in *sys.DeptInfo, fsMap map[int64][]*sys.DeptInfo)
- func FillFather(in *sys.DeptInfo, fsMap map[int64]*sys.DeptInfo)
- func SyncDeptDing(ctx context.Context, cli *dingClient.DingTalk, info *relationDB.SysDeptInfo) error
- func SyncDeptUserDing(ctx context.Context, svcCtx *svc.ServiceContext, ...) error
- type DeptInfoCreateLogic
- type DeptInfoDeleteLogic
- type DeptInfoIndexLogic
- type DeptInfoReadLogic
- type DeptInfoSyncLogic
- type DeptInfoUpdateLogic
- type DeptRoleIndexLogic
- type DeptRoleMultiCreateLogic
- type DeptRoleMultiDeleteLogic
- type DeptSyncJobCreateLogic
- type DeptSyncJobDeleteLogic
- type DeptSyncJobExecuteLogic
- type DeptSyncJobIndexLogic
- type DeptSyncJobReadLogic
- type DeptSyncJobUpdateLogic
- type DeptUserIndexLogic
- type DeptUserMultiCreateLogic
- type DeptUserMultiDeleteLogic
Constants ¶
This section is empty.
Variables ¶
View Source
var DingSync func(ctx context.Context, svcCtx *svc.ServiceContext, jobID int64, df *payload.DataFrame) error
Functions ¶
func DeptSyncAddDing ¶ added in v1.2.0
func DeptSyncAddDing(ctx context.Context, svcCtx *svc.ServiceContext, po *relationDB.SysDeptSyncJob) error
func DeptSyncDelDing ¶ added in v1.2.0
func DeptSyncDelDing(ctx context.Context, svcCtx *svc.ServiceContext, po *relationDB.SysDeptSyncJob) error
func FillChildren ¶ added in v1.2.0
func SyncDeptDing ¶ added in v1.2.0
func SyncDeptDing(ctx context.Context, cli *dingClient.DingTalk, info *relationDB.SysDeptInfo) error
func SyncDeptUserDing ¶ added in v1.2.0
func SyncDeptUserDing(ctx context.Context, svcCtx *svc.ServiceContext, syncedUserSet map[string]struct{}, cli *dingClient.DingTalk, info *relationDB.SysDeptInfo) error
Types ¶
type DeptInfoCreateLogic ¶
func NewDeptInfoCreateLogic ¶
func NewDeptInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoCreateLogic
func (*DeptInfoCreateLogic) DeptInfoCreate ¶
type DeptInfoDeleteLogic ¶
func NewDeptInfoDeleteLogic ¶
func NewDeptInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoDeleteLogic
func (*DeptInfoDeleteLogic) DeptInfoDelete ¶
type DeptInfoIndexLogic ¶
func NewDeptInfoIndexLogic ¶
func NewDeptInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoIndexLogic
func (*DeptInfoIndexLogic) DeptInfoIndex ¶
func (l *DeptInfoIndexLogic) DeptInfoIndex(in *sys.DeptInfoIndexReq) (*sys.DeptInfoIndexResp, error)
type DeptInfoReadLogic ¶
func NewDeptInfoReadLogic ¶
func NewDeptInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoReadLogic
func (*DeptInfoReadLogic) DeptInfoRead ¶
func (l *DeptInfoReadLogic) DeptInfoRead(in *sys.DeptInfoReadReq) (*sys.DeptInfo, error)
type DeptInfoSyncLogic ¶
func NewDeptInfoSyncLogic ¶
func NewDeptInfoSyncLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoSyncLogic
type DeptInfoUpdateLogic ¶
func NewDeptInfoUpdateLogic ¶
func NewDeptInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoUpdateLogic
func (*DeptInfoUpdateLogic) DeptInfoUpdate ¶
type DeptRoleIndexLogic ¶ added in v1.1.0
func NewDeptRoleIndexLogic ¶ added in v1.1.0
func NewDeptRoleIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptRoleIndexLogic
func (*DeptRoleIndexLogic) DeptRoleIndex ¶ added in v1.1.0
func (l *DeptRoleIndexLogic) DeptRoleIndex(in *sys.DeptRoleIndexReq) (*sys.DeptRoleIndexResp, error)
type DeptRoleMultiCreateLogic ¶ added in v1.1.0
func NewDeptRoleMultiCreateLogic ¶ added in v1.1.0
func NewDeptRoleMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptRoleMultiCreateLogic
func (*DeptRoleMultiCreateLogic) DeptRoleMultiCreate ¶ added in v1.1.0
func (l *DeptRoleMultiCreateLogic) DeptRoleMultiCreate(in *sys.DeptRoleMultiSaveReq) (*sys.Empty, error)
type DeptRoleMultiDeleteLogic ¶ added in v1.1.0
func NewDeptRoleMultiDeleteLogic ¶ added in v1.1.0
func NewDeptRoleMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptRoleMultiDeleteLogic
func (*DeptRoleMultiDeleteLogic) DeptRoleMultiDelete ¶ added in v1.1.0
func (l *DeptRoleMultiDeleteLogic) DeptRoleMultiDelete(in *sys.DeptRoleMultiSaveReq) (*sys.Empty, error)
type DeptSyncJobCreateLogic ¶ added in v1.2.0
func NewDeptSyncJobCreateLogic ¶ added in v1.2.0
func NewDeptSyncJobCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobCreateLogic
func (*DeptSyncJobCreateLogic) DeptSyncJobCreate ¶ added in v1.2.0
func (l *DeptSyncJobCreateLogic) DeptSyncJobCreate(in *sys.DeptSyncJob) (*sys.WithID, error)
type DeptSyncJobDeleteLogic ¶ added in v1.2.0
func NewDeptSyncJobDeleteLogic ¶ added in v1.2.0
func NewDeptSyncJobDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobDeleteLogic
func (*DeptSyncJobDeleteLogic) DeptSyncJobDelete ¶ added in v1.2.0
type DeptSyncJobExecuteLogic ¶ added in v1.2.0
func NewDeptSyncJobExecuteLogic ¶ added in v1.2.0
func NewDeptSyncJobExecuteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobExecuteLogic
func (*DeptSyncJobExecuteLogic) DeptSyncJobExecute ¶ added in v1.2.0
func (l *DeptSyncJobExecuteLogic) DeptSyncJobExecute(in *sys.DeptSyncJobExecuteReq) (*sys.DeptSyncJobExecuteResp, error)
type DeptSyncJobIndexLogic ¶ added in v1.2.0
func NewDeptSyncJobIndexLogic ¶ added in v1.2.0
func NewDeptSyncJobIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobIndexLogic
func (*DeptSyncJobIndexLogic) DeptSyncJobIndex ¶ added in v1.2.0
func (l *DeptSyncJobIndexLogic) DeptSyncJobIndex(in *sys.DeptSyncJobIndexReq) (*sys.DeptSyncJobIndexResp, error)
type DeptSyncJobReadLogic ¶ added in v1.2.0
func NewDeptSyncJobReadLogic ¶ added in v1.2.0
func NewDeptSyncJobReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobReadLogic
func (*DeptSyncJobReadLogic) DeptSyncJobRead ¶ added in v1.2.0
func (l *DeptSyncJobReadLogic) DeptSyncJobRead(in *sys.DeptSyncJobReadReq) (*sys.DeptSyncJob, error)
type DeptSyncJobUpdateLogic ¶ added in v1.2.0
func NewDeptSyncJobUpdateLogic ¶ added in v1.2.0
func NewDeptSyncJobUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobUpdateLogic
func (*DeptSyncJobUpdateLogic) DeptSyncJobUpdate ¶ added in v1.2.0
func (l *DeptSyncJobUpdateLogic) DeptSyncJobUpdate(in *sys.DeptSyncJob) (*sys.Empty, error)
type DeptUserIndexLogic ¶ added in v1.1.0
func NewDeptUserIndexLogic ¶ added in v1.1.0
func NewDeptUserIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptUserIndexLogic
func (*DeptUserIndexLogic) DeptUserIndex ¶ added in v1.1.0
func (l *DeptUserIndexLogic) DeptUserIndex(in *sys.DeptUserIndexReq) (*sys.DeptUserIndexResp, error)
type DeptUserMultiCreateLogic ¶ added in v1.1.0
func NewDeptUserMultiCreateLogic ¶ added in v1.1.0
func NewDeptUserMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptUserMultiCreateLogic
func (*DeptUserMultiCreateLogic) DeptUserMultiCreate ¶ added in v1.1.0
func (l *DeptUserMultiCreateLogic) DeptUserMultiCreate(in *sys.DeptUserMultiSaveReq) (*sys.Empty, error)
type DeptUserMultiDeleteLogic ¶ added in v1.1.0
func NewDeptUserMultiDeleteLogic ¶ added in v1.1.0
func NewDeptUserMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptUserMultiDeleteLogic
func (*DeptUserMultiDeleteLogic) DeptUserMultiDelete ¶ added in v1.1.0
func (l *DeptUserMultiDeleteLogic) DeptUserMultiDelete(in *sys.DeptUserMultiSaveReq) (*sys.Empty, error)
Source Files ¶
- deptInfoCreateLogic.go
- deptInfoDeleteLogic.go
- deptInfoIndexLogic.go
- deptInfoReadLogic.go
- deptInfoSyncLogic.go
- deptInfoUpdateLogic.go
- deptRoleIndexLogic.go
- deptRoleMultiCreateLogic.go
- deptRoleMultiDeleteLogic.go
- deptSyncJobCreateLogic.go
- deptSyncJobDeleteLogic.go
- deptSyncJobExecuteLogic.go
- deptSyncJobIndexLogic.go
- deptSyncJobReadLogic.go
- deptSyncJobUpdateLogic.go
- deptUserIndexLogic.go
- deptUserMultiCreateLogic.go
- deptUserMultiDeleteLogic.go
Click to show internal directories.
Click to hide internal directories.